if (con < 0) exit; if (con == 10 && global.interact == 0) { con = 80; global.interact = 1; scr_flag_set(1749, scr_flag_get(1749) + 1); scr_speaker("no_name"); msgsetloc(0, "* (A little ball turned out to be stronger than you could expect.)/", "obj_npc_castle_door_slash_Step_0_gml_14_0"); msgnextloc("* (I'm ready to show my strength...)/%", "obj_npc_castle_door_slash_Step_0_gml_15_0"); d_make(); } if (con == 20 && global.interact == 0) { con = 85; global.interact = 1; scr_flag_set(1749, scr_flag_get(1749) + 2); scr_speaker("no_name"); msgsetloc(0, "* I'm tired of not getting the respect I deserve^1, a-hyuck!/", "obj_npc_castle_door_slash_Step_0_gml_29_0"); msgnextloc("* Next time you call me garbage^1, you'll mean it in the good way!/%", "obj_npc_castle_door_slash_Step_0_gml_30_0"); d_make(); } if (con == 30 && global.interact == 0) { con = 88; global.interact = 1; scr_flag_set(1749, scr_flag_get(1749) + 4); scr_speaker("no_name"); msgsetloc(0, "* Nubert's seen you work hard^1. We both moved up in the world./", "obj_npc_castle_door_slash_Step_0_gml_44_0"); msgnextloc("* Now it's time to see who will be on top..^1. of that world./", "obj_npc_castle_door_slash_Step_0_gml_45_0"); msgnextloc("* I'll see you in ..^1. the dojo./%", "obj_npc_castle_door_slash_Step_0_gml_46_0"); d_make(); } if (con == 40 && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* I'm the original& \\cYstar walker\\cW/%", "obj_npc_castle_door_slash_Step_0_gml_58_0"); d_make(); } if (con == 45 && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* No I don't know why they disappeared^1. Its scary./%", "obj_npc_castle_door_slash_Step_0_gml_69_0"); d_make(); } if (con == 80 && !d_ex()) { con = 90; var glow_npc = instance_create(0, 0, obj_npc_castle_grand_glow); glow_npc.npc_leave(_ballperson, remove_ballperson); } if (con == 85 && !d_ex()) { con = 90; var glow_npc = instance_create(0, 0, obj_npc_castle_grand_glow); glow_npc.npc_leave(_trashy, remove_trashy); } if (con == 88 && !d_ex()) { con = 90; var glow_npc = instance_create(0, 0, obj_npc_castle_grand_glow); glow_npc.npc_leave(_nubert, remove_nubert); } if (con == 90 && !i_ex(obj_npc_castle_grand_glow)) con = 100; if (con == 100 && !d_ex()) { con = -1; global.interact = 0; with (_ballperson) { image_speed = 0; image_index = 0; } with (_nubert) { image_speed = 0; image_index = 0; } } if (npc_animate) { if (i_ex(obj_writer)) { if (global.typer == 6) { if (obj_writer.halt >= 1) { with (npc_animate_target) { image_speed = 0; image_index = 0; } } else { with (npc_animate_target) image_speed = 0.2; } } else { with (npc_animate_target) { image_speed = 0; image_index = 0; } } } }