if (global.monster[myself] == 1) { if (global.mnfight == 1 && talked == 0) { scr_randomtarget_ch1(); if (!instance_exists(obj_darkener_ch1)) instance_create_ch1(0, 0, obj_darkener_ch1); global.typer = 50; rr = choose(0, 1, 2, 3); if (rr == 0) global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_11_0"); if (rr == 1) global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_12_0"); if (rr == 2) global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_13_0"); if (rr == 3) global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_14_0"); global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_16_0"); scr_enemyblcon_ch1(x - 160, y, 3); talked = 1; talktimer = 0; } if (talked == 1 && global.mnfight == 1) { rtimer = 0; scr_blconskip_ch1(15); if (global.mnfight == 2) { if (!instance_exists(obj_moveheart_ch1)) scr_moveheart_ch1(); if (!instance_exists(obj_growtangle_ch1)) instance_create_ch1(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle_ch1); } } if (global.mnfight == 2 && attacked == 0) { rtimer += 1; if (rtimer == 12) { rr = choose(0, 1); if (rr == 0) { dc = instance_create_ch1(x, y, obj_dbulletcontroller_ch1); dc.type = 0; dc.damage = global.monsterat[myself] * 5; dc.target = mytarget; } else { dc = instance_create_ch1(x, y, obj_dbulletcontroller_ch1); dc.type = 1; dc.damage = global.monsterat[myself] * 5; dc.target = mytarget; } turns += 1; global.turntimer = 140; attacked = 1; global.typer = 6; global.fc = 0; rr = choose(0, 1, 2, 3); if (rr == 0) global.battlemsg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_63_0"); if (rr == 1) global.battlemsg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_64_0"); if (rr == 2) global.battlemsg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_65_0"); if (rr == 3) global.battlemsg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_66_0"); } else { global.turntimer = 120; } } if (global.mnfight == 2) { if (global.turntimer <= 1) { if (battlecancel == 1) global.mercymod[myself] = 999; if (battlecancel == 2) { with (obj_battlecontroller_ch1) noreturn = 1; con = 1; battlecancel = 3; } } } } if (con == 1) { con = 2; alarm[4] = 10; } if (con == 3) { global.typer = 50; global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_99_0"); scr_enemyblcon_ch1(x - 160, y, 3); con = 4; } if (con == 4 && !instance_exists(obj_writer_ch1)) { hspeed = 15; con = 5; alarm[4] = 15; with (obj_battlecontroller_ch1) alarm[2] = 17; } if (con == 6) { with (obj_battlecontroller_ch1) noreturn = 0; scr_monsterdefeat_ch1(); instance_destroy(); con = 7; } if (global.myfight == 3) { xx = __view_get(e__VW.XView, 0); yy = __view_get(e__VW.YView, 0); if (acting == 1 && actcon == 0) { actcon = 1; global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_135_0"); scr_battletext_default_ch1(); } if (acting == 2 && actcon == 0) { actcon = 1; if (global.automiss[myself] == 0) { global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_146_0"); global.monstercomment[myself] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_147_0"); global.automiss[myself] = 1; } scr_battletext_default_ch1(); } if (acting == 3 && actcon == 0) { global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_156_0"); global.mercymod[myself] += 200; scr_battletext_default_ch1(); actcon = 1; } if (acting == 4 && actcon == 0) { global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_164_0"); battlecancel = 1; scr_battletext_default_ch1(); actcon = 1; } if (acting == 5 && actcon == 0) { global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_172_0"); battlecancel = 2; scr_battletext_default_ch1(); actcon = 1; } if (acting == 6 && actcon == 0) { global.msg[0] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_180_0"); global.monstercomment[myself] = scr_84_get_lang_string_ch1("obj_placeholderenemy_slash_Step_0_gml_181_0"); global.monsterstatus[myself] = 1; scr_battletext_default_ch1(); actcon = 1; } if (actcon == 1 && !instance_exists(obj_writer_ch1)) { actcon = 0; scr_attackphase_ch1(); } } if (global.myfight == 7) hspeed = 15; enum e__VW { XView, YView, WView, HView, Angle, HBorder, VBorder, HSpeed, VSpeed, Object, Visible, XPort, YPort, WPort, HPort, Camera, SurfaceID }