var havealleggs = false; if (global.flag[911] && global.flag[918] && global.flag[930] && global.flag[931]) havealleggs = true; with (check1) { noman = stringsetloc("* (Well^1, there is not a man here.)/%", "obj_room_man_slash_Step_0_gml_16_0"); if (myinteract == 3) { gone = true; global.interact = 1; myinteract = 99; if (talked == 0) { scr_speaker("no_name"); msgsetloc(0, "* (Well^1, there is a man here.)/", "obj_room_man_slash_Step_0_gml_26_0"); msgnextloc("* (He offers you something.)/", "obj_room_man_slash_Step_0_gml_27_0"); var opt1 = stringsetloc("Yes", "obj_room_man_slash_Step_0_gml_28_0"); var opt2 = stringsetloc("No", "obj_room_man_slash_Step_0_gml_29_0"); scr_readychoicer(opt1, opt2); myinteract = 4; } else if (talked == 1) { if (havealleggs || gotegg) { scr_speaker("no_name"); msgsetloc(0, "* (Well^1, there is not a man here.)/", "obj_room_man_slash_Step_0_gml_38_0"); msgnextloc("* (..^1. but^1, on Kris's shoulder^1, a weight remained.)/", "obj_room_man_slash_Step_0_gml_39_0"); msgnextloc("* (A weight that carried far^1, far^1, into the distance...)/%", "obj_room_man_slash_Step_0_gml_40_0"); } else { scr_speaker("no_name"); msgset(0, noman); } } else { scr_speaker("no_name"); msgsetloc(0, "* (...)/%", "obj_room_man_slash_Step_0_gml_51_0"); } d_make(); talked++; } if (myinteract == 4 && global.choice != -1) { k_d(3); if (global.choice == 0) { gotegg = true; global.flag[941] = 1; scr_keyitemget(2); scr_speaker("no_name"); msgsetloc(0, "* (You received the \"Egg\".)/", "obj_room_man_slash_Step_0_gml_68_0"); var opt1 = stringsetloc("Ask for more", "obj_room_man_slash_Step_0_gml_69_0"); var opt2 = stringsetloc("Do Not", "obj_room_man_slash_Step_0_gml_70_0"); scr_readychoicer(opt1, opt2); d_make(); myinteract = 5; } if (global.choice == 1) { scr_speaker("no_name"); msgset(0, noman); d_make(); myinteract = 99; } } if (myinteract == 5 && d_ex()) { with (obj_writer) { if (halt && !variable_instance_exists(id, "eggsound")) { eggsound = true; snd_play(snd_egg); } } } if (myinteract == 5 && global.choice != -1) { if (havealleggs) { scr_speaker("no_name"); msgsetloc(0, "* (Well^1, the man put his hand softly on your shoulder.)/", "obj_room_man_slash_Step_0_gml_100_0"); msgnextloc("* (And^1, showing you his empty palm...)/", "obj_room_man_slash_Step_0_gml_101_0"); if (global.choice == 0) msgnextloc("* (He put his finger to his mouth^1, smiled^1, and shook his head.)/", "obj_room_man_slash_Step_0_gml_104_0"); else msgnextloc("* (He put his finger to his mouth^1, smiled^1, and nodded his head.)/", "obj_room_man_slash_Step_0_gml_108_0"); msgnextloc("* (It seems you have everything.)/", "obj_room_man_slash_Step_0_gml_110_0"); msgnextloc("* (...)/", "obj_room_man_slash_Step_0_gml_111_0"); msgnextloc("* (He waved goodbye^1, looking away slightly after a moment.)/", "obj_room_man_slash_Step_0_gml_112_0"); msgnextloc("* (...)/", "obj_room_man_slash_Step_0_gml_113_0"); msgnextloc("* (Kris felt a strange melancholy.)/", "obj_room_man_slash_Step_0_gml_114_0"); msgnextloc("* (It was a feeling that they should not look for the man anymore.)/", "obj_room_man_slash_Step_0_gml_115_0"); msgnextloc("* (..^1. even though they had never done such a thing in the first place.)/%", "obj_room_man_slash_Step_0_gml_116_0"); } else { scr_speaker("no_name"); msgsetloc(0, "* (The man nodded vigorously.)/", "obj_room_man_slash_Step_0_gml_122_0"); msgnextloc("* (He pointed into the distance.)/", "obj_room_man_slash_Step_0_gml_123_0"); msgnextloc("* (Over there^1, was another tree.)/", "obj_room_man_slash_Step_0_gml_124_0"); msgnextloc("* (In fact^1, it seemed very much like this tree.)/", "obj_room_man_slash_Step_0_gml_125_0"); msgnextloc("* (Craning your head^1, you noticed that there was another tree after that.)/", "obj_room_man_slash_Step_0_gml_126_0"); msgnextloc("* (It felt a little bit like looking into series of mirrors...)/", "obj_room_man_slash_Step_0_gml_127_0"); msgnextloc("* (Your head began to spin.)/", "obj_room_man_slash_Step_0_gml_128_0"); msgnextloc("* (..^1. the man saw this and looked concerned.)/", "obj_room_man_slash_Step_0_gml_129_0"); msgnextloc("* (He seemed like he wanted to speak^1, but...)/", "obj_room_man_slash_Step_0_gml_130_0"); msgnextloc("* (...)/", "obj_room_man_slash_Step_0_gml_131_0"); msgnextloc("* (Well^1, the man smiled.)/", "obj_room_man_slash_Step_0_gml_132_0"); msgnextloc("* (And he waved goodbye^1, for now.)/%", "obj_room_man_slash_Step_0_gml_133_0"); } k_d(3); d_make(); myinteract = 99; } if (myinteract == 99 && !d_ex()) { issolid = false; with (mysolid) instance_destroy(); myinteract = 0; global.interact = 0; } } with (check2) { if (myinteract == 3) { global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* (He is behind the tree.)/%", "obj_room_man_slash_Step_0_gml_158_0"); if (other.check1.gone) msgsetloc(0, "* (It is a tree.)/%", "obj_room_man_slash_Step_0_gml_161_0"); d_make(); myinteract = 4; } if (myinteract == 4 && !d_ex()) { myinteract = 0; global.interact = 0; } }