function scr_encountersetup(arg0) { xx = camerax(); yy = cameray(); var count = 0; var krloc = [94, 50]; var suloc = [80, 122]; var raloc = [72, 200]; var partyconfig = 0; if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) partyconfig = 1; if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) partyconfig = 2; for (var i = 0; i < 3; i += 1) { global.heromakex[i] = xx + 80; global.heromakey[i] = yy + 50 + (80 * i); global.monsterinstancetype[i] = obj_baseenemy; global.monstertype[i] = 1; global.monstermakex[i] = xx + 500 + (20 * i); global.monstermakey[i] = yy + 40 + (90 * i); } global.monstertype[1] = 0; global.monstertype[2] = 0; 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; } global.battlemsg[0] = stringsetloc("* It is known.", "scr_encountersetup_slash_scr_encountersetup_gml_34_0"); switch (arg0) { case 0: break; case 1: global.monsterinstancetype[0] = obj_baseenemy; global.monstertype[0] = 1; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_baseenemy; global.monstertype[1] = 1; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0; global.battlemsg[0] = stringset("* Test enemies showed up."); 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] = stringsetloc("* Rudinn drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_98_0"); if (global.flag[500] >= 1) global.battlemsg[0] = stringsetloc("* A different Rudinn from last time drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_99_0"); if (global.flag[500] == 2) global.battlemsg[0] = stringsetloc("* Assumedly another different Rudinn appeared!", "scr_encountersetup_slash_scr_encountersetup_gml_100_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] = stringsetloc("* A necklace of Rudinns blocks your path.", "scr_encountersetup_slash_scr_encountersetup_gml_116_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] = stringsetloc("* Rudinn and Hathy blocked the way!", "scr_encountersetup_slash_scr_encountersetup_gml_132_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] = stringsetloc("* C. Round attacked violently!&* (You recall Ralsei's advice to include Susie in an ACT.)", "scr_encountersetup_slash_scr_encountersetup_gml_144_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] = stringsetloc("* Clover grew close!", "scr_encountersetup_slash_scr_encountersetup_gml_155_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] = stringsetloc("* Three Hathys blocked the way!", "scr_encountersetup_slash_scr_encountersetup_gml_174_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] = stringsetloc("* Here it comes!", "scr_encountersetup_slash_scr_encountersetup_gml_188_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] = stringsetloc("* Ponman drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_201_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] = stringsetloc("* Ponman drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_222_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] = stringsetloc("* Clover and Hathy grew close!", "scr_encountersetup_slash_scr_encountersetup_gml_239_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] = stringsetloc("* Rabbick slithered in the way!", "scr_encountersetup_slash_scr_encountersetup_gml_250_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] = stringsetloc("* Rabbicks slithered in the way!", "scr_encountersetup_slash_scr_encountersetup_gml_266_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] = stringsetloc("* Bloxer assembled!", "scr_encountersetup_slash_scr_encountersetup_gml_277_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] = stringsetloc("* Bloxers assembled!", "scr_encountersetup_slash_scr_encountersetup_gml_293_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] = stringsetloc("* Lancer blocked the way!", "scr_encountersetup_slash_scr_encountersetup_gml_308_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] = stringsetloc("* Jigsawry drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_319_0"); if (global.flag[500] >= 1) global.battlemsg[0] = stringsetloc("* A different Jigsawry from last time drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_320_0"); if (global.flag[500] == 2) global.battlemsg[0] = stringsetloc("* Assumedly another different Jigsawry appeared!", "scr_encountersetup_slash_scr_encountersetup_gml_321_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] = stringsetloc("* A board of Jigsawrys blocked the way!", "scr_encountersetup_slash_scr_encountersetup_gml_340_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] = stringsetloc("* Smorgasboard.", "scr_encountersetup_slash_scr_encountersetup_gml_359_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] = stringsetloc("* Rabbick slithered in the way!", "scr_encountersetup_slash_scr_encountersetup_gml_374_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] = stringsetloc("* LET THE GAMES BEGIN!", "scr_encountersetup_slash_scr_encountersetup_gml_400_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] = stringsetloc("* Here it comes^1. Again.", "scr_encountersetup_slash_scr_encountersetup_gml_413_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] = stringsetloc("* Rudinn Rangers came sparkling into view!", "scr_encountersetup_slash_scr_encountersetup_gml_430_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] = stringsetloc("* Head Hathy blocked the way quietly!", "scr_encountersetup_slash_scr_encountersetup_gml_446_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] = stringsetloc("* Head Hathy blocked the way quietly! (x3)", "scr_encountersetup_slash_scr_encountersetup_gml_465_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] = stringsetloc("* Two bad guys blocked the way!", "scr_encountersetup_slash_scr_encountersetup_gml_479_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] = stringsetloc("* Rabbicks slithered in the way!", "scr_encountersetup_slash_scr_encountersetup_gml_500_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] = stringsetloc("* Various guys appeared!", "scr_encountersetup_slash_scr_encountersetup_gml_521_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] = stringsetloc("* King blocked the way!", "scr_encountersetup_slash_scr_encountersetup_gml_533_0"); break; case 71: global.heromakex[0] = xx + 94; global.heromakey[0] = yy + 50; global.heromakex[1] = xx + 80; global.heromakey[1] = yy + 122; global.heromakex[2] = xx + 72; global.heromakey[2] = yy + 200; global.monsterinstancetype[0] = obj_clubsenemy; global.monstertype[0] = 47; global.monstermakex[0] = xx + 400; global.monstermakey[0] = yy + 80; global.battlemsg[0] = stringsetloc("* Clover joins the stage!", "scr_encountersetup_slash_scr_encountersetup_gml_892_0"); break; case 72: global.heromakex[0] = xx + 94; global.heromakey[0] = yy + 50; global.heromakex[1] = xx + 80; global.heromakey[1] = yy + 122; global.heromakex[2] = xx + 72; global.heromakey[2] = yy + 200; global.monsterinstancetype[0] = obj_dojograzeenemy; global.monstertype[0] = 42; global.monstermakex[0] = xx + 440; global.monstermakey[0] = yy + 100; global.battlemsg[0] = stringsetloc("* It's a grazing adventure.", "scr_encountersetup_slash_scr_encountersetup_gml_901_0"); break; case 89: global.heromakex[0] = xx + 94; global.heromakey[0] = yy + 50; global.heromakex[1] = xx + 80; global.heromakey[1] = yy + 122; global.heromakex[2] = xx + 72; global.heromakey[2] = yy + 200; global.monsterinstancetype[0] = obj_tasque_manager_enemy; global.monstertype[0] = 42; global.monstermakex[0] = xx + 487; global.monstermakey[0] = yy + 94; global.monstertype[1] = 0; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Graze!", "scr_encountersetup_slash_scr_encountersetup_gml_1247_0"); break; case 90: global.heromakex[0] = xx + 94; global.heromakey[0] = yy + 50; global.heromakex[1] = xx + 80; global.heromakey[1] = yy + 122; global.heromakex[2] = xx + 72; global.heromakey[2] = yy + 200; global.monsterinstancetype[0] = obj_werewire_enemy; global.monstertype[0] = 33; global.monstermakex[0] = xx + 476; global.monstermakey[0] = yy + 70; global.monsterinstancetype[1] = obj_werewire_enemy; global.monstertype[1] = 33; global.monstermakex[1] = xx + 454; global.monstermakey[1] = yy + 168; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Round One!", "scr_encountersetup_slash_scr_encountersetup_gml_1263_0"); break; case 91: global.heromakex[0] = xx + 94; global.heromakey[0] = yy + 50; global.heromakex[1] = xx + 80; global.heromakey[1] = yy + 122; global.heromakex[2] = xx + 72; global.heromakey[2] = yy + 200; global.monsterinstancetype[0] = obj_poppup_enemy; global.monstertype[0] = 31; global.monstermakex[0] = xx + 412; global.monstermakey[0] = yy + 40; global.monsterinstancetype[1] = obj_omawaroid_enemy; global.monstertype[1] = 30; global.monstermakex[1] = xx + 466; global.monstermakey[1] = yy + 106; global.monsterinstancetype[2] = obj_virovirokun_enemy; global.monstertype[2] = 35; global.monstermakex[2] = xx + 412; global.monstermakey[2] = yy + 184; global.battlemsg[0] = stringsetloc("* Round Two!", "scr_encountersetup_slash_scr_encountersetup_gml_1282_0"); break; case 92: global.heromakex[0] = xx + 94; global.heromakey[0] = yy + 50; global.heromakex[1] = xx + 80; global.heromakey[1] = yy + 122; global.heromakex[2] = xx + 72; global.heromakey[2] = yy + 200; global.monsterinstancetype[0] = obj_tasque_enemy; global.monstertype[0] = 32; global.monstermakex[0] = xx + 432; global.monstermakey[0] = yy + 52; global.monsterinstancetype[1] = obj_tasque_enemy; global.monstertype[1] = 32; global.monstermakex[1] = xx + 476; global.monstermakey[1] = yy + 140; global.monsterinstancetype[2] = obj_maus_enemy; global.monstertype[2] = 34; global.monstermakex[2] = xx + 512; global.monstermakey[2] = yy + 236; global.battlemsg[0] = stringsetloc("* Round Three!", "scr_encountersetup_slash_scr_encountersetup_gml_1301_0"); break; case 93: global.flag[426] = choose(0, 1, 2, 3); global.heromakex[0] = xx + 94; global.heromakey[0] = yy + 50; global.heromakex[1] = xx + 80; global.heromakey[1] = yy + 122; global.heromakex[2] = xx + 72; global.heromakey[2] = yy + 200; global.monsterinstancetype[0] = obj_swatchling_enemy; global.monstertype[0] = 36; global.monstermakex[0] = xx + 394; global.monstermakey[0] = yy + 8; global.monsterinstancetype[1] = obj_swatchling_enemy; global.monstertype[1] = 36; global.monstermakex[1] = xx + 490; global.monstermakey[1] = yy + 74; global.monsterinstancetype[2] = obj_swatchling_enemy; global.monstertype[2] = 36; global.monstermakex[2] = xx + 394; global.monstermakey[2] = yy + 160; global.battlemsg[0] = stringsetloc("* Round Four!", "scr_encountersetup_slash_scr_encountersetup_gml_1323_0"); break; case 94: global.heromakex[0] = xx + 94; global.heromakey[0] = yy + 50; global.heromakex[1] = xx + 80; global.heromakey[1] = yy + 122; global.heromakex[2] = xx + 72; global.heromakey[2] = yy + 200; global.monsterinstancetype[0] = obj_werewerewire_enemy; global.monstertype[0] = 40; global.monstermakex[0] = xx + 464; global.monstermakey[0] = yy + 68; global.monsterinstancetype[1] = obj_werewerewire_enemy; global.monstertype[1] = 40; global.monstermakex[1] = xx + 494; global.monstermakey[1] = yy + 184; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Final Round!", "scr_encountersetup_slash_scr_encountersetup_gml_1339_0"); break; case 100: global.heromakex[0] = xx + 94; global.heromakey[0] = yy + 50; global.heromakex[1] = xx + 80; global.heromakey[1] = yy + 122; global.heromakex[2] = xx + 72; global.heromakey[2] = yy + 200; global.monsterinstancetype[0] = obj_dojo_spareenemy; global.monstertype[0] = 52; global.monstermakex[0] = xx + 440; global.monstermakey[0] = yy + 100; global.battlemsg[0] = stringsetloc("* Jigsaw Joe jigs in!", "scr_encountersetup_slash_scr_encountersetup_gml_1422_0"); break; case 200: global.monsterinstancetype[0] = obj_floradinn_enemy; global.monstertype[0] = 70; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_floradinn_enemy; global.monstertype[1] = 70; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Floradinn florads in!", "scr_encountersetup_slash_scr_encountersetup_gml_819_0"); break; case 201: global.monsterinstancetype[0] = obj_leafling_enemy; global.monstertype[0] = 71; global.monstermakex[0] = xx + 510; global.monstermakey[0] = yy + 80; global.monsterinstancetype[1] = obj_leafling_enemy; global.monstertype[1] = 71; global.monstermakex[1] = xx + 540; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Leafling floats by carefree.", "scr_encountersetup_slash_scr_encountersetup_gml_834_0"); break; case 202: global.monsterinstancetype[0] = obj_scarecrow_enemy; global.monstertype[0] = 72; global.monstermakex[0] = xx + 450; global.monstermakey[0] = yy + 50; global.monsterinstancetype[1] = obj_kawkaw_enemy; global.monstertype[1] = 74; global.monstermakex[1] = xx + 487; global.monstermakey[1] = yy + 208; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Shi blocks the way! (... sort of.)&* Kawkaw wants to play!", "scr_encountersetup_slash_scr_encountersetup_gml_849_0"); break; case 203: global.monsterinstancetype[0] = obj_shinobeetle_enemy; global.monstertype[0] = 73; global.monstermakex[0] = xx + 473; global.monstermakey[0] = yy + 50; global.monsterinstancetype[1] = obj_shinobeetle_enemy; global.monstertype[1] = 73; global.monstermakex[1] = xx + 520; global.monstermakey[1] = yy + 160; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Shinobeetle sneaks in!", "scr_encountersetup_slash_scr_encountersetup_gml_864_0_b"); break; case 204: global.monsterinstancetype[0] = obj_kawkaw_enemy; global.monstertype[0] = 74; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_kawkaw_enemy; global.monstertype[1] = 74; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Kawkaw wants to play!", "scr_encountersetup_slash_scr_encountersetup_gml_879_0"); break; case 205: global.monsterinstancetype[0] = obj_sheary_enemy; global.monstertype[0] = 75; global.monstermakex[0] = xx + 461; global.monstermakey[0] = yy + 60; global.monsterinstancetype[1] = obj_sheary_enemy; global.monstertype[1] = 75; global.monstermakex[1] = xx + 503; global.monstermakey[1] = yy + 183; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Sheary cuts in!", "scr_encountersetup_slash_scr_encountersetup_gml_894_0"); break; case 206: global.monsterinstancetype[0] = obj_netskie_enemy; global.monstertype[0] = 76; global.monstermakex[0] = xx + 473; global.monstermakey[0] = yy + 130; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Netskie unwraps itself from its big fluffy tail!", "scr_encountersetup_slash_scr_encountersetup_gml_904_0"); break; case 207: global.monsterinstancetype[0] = obj_terracota_enemy; global.monstertype[0] = 77; global.monstermakex[0] = xx + 446; global.monstermakey[0] = yy + 76; global.battlemsg[0] = stringsetloc("* Terakota stomps towards you!", "scr_encountersetup_slash_scr_encountersetup_gml_913_0"); break; case 208: global.monsterinstancetype[0] = obj_floradinn_enemy; global.monstertype[0] = 70; global.monstermakex[0] = xx + 458; global.monstermakey[0] = yy + 60; global.monsterinstancetype[1] = obj_leafling_enemy; global.monstertype[1] = 71; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 180; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Floradinn florads in!&* Leafling floats by carefree.", "scr_encountersetup_slash_scr_encountersetup_gml_928_0"); break; case 209: global.monsterinstancetype[0] = obj_shinobeetle_enemy; global.monstertype[0] = 73; global.monstermakex[0] = xx + 473; global.monstermakey[0] = yy + 50; global.monsterinstancetype[1] = obj_leafling_enemy; global.monstertype[1] = 71; global.monstermakex[1] = xx + 540; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Shinobeetle sneaks in!&* Floradinn florads in!", "scr_encountersetup_slash_scr_encountersetup_gml_943_0"); break; case 210: global.monsterinstancetype[0] = obj_scarecrow_enemy; global.monstertype[0] = 72; global.monstermakex[0] = xx + 473; global.monstermakey[0] = yy + 24; global.monsterinstancetype[1] = obj_kawkaw_enemy; global.monstertype[1] = 74; global.monstermakex[1] = xx + 446; global.monstermakey[1] = yy + 153; global.monsterinstancetype[2] = obj_kawkaw_enemy; global.monstertype[2] = 74; global.monstermakex[2] = xx + 483; global.monstermakey[2] = yy + 240; global.battlemsg[0] = stringsetloc("* Shi blocks the way! (... sort of.)&* Kawkaw wants to play!", "scr_encountersetup_slash_scr_encountersetup_gml_962_0"); break; case 211: global.monsterinstancetype[0] = obj_scarecrow_enemy; global.monstertype[0] = 72; global.monstermakex[0] = xx + 473; global.monstermakey[0] = yy + 32; global.monsterinstancetype[1] = obj_scarecrow_enemy; global.monstertype[1] = 72; global.monstermakex[1] = xx + 473; global.monstermakey[1] = yy + 162; global.battlemsg[0] = stringsetloc("* Shi blocks the way! (... sort of.)", "scr_encountersetup_slash_scr_encountersetup_gml_976_0"); break; case 212: global.monsterinstancetype[0] = obj_scarecrow_enemy; global.monstertype[0] = 72; global.monstermakex[0] = xx + 473; global.monstermakey[0] = yy + 76; global.battlemsg[0] = stringsetloc("* Shi blocks the way! (... sort of.)", "scr_encountersetup_slash_scr_encountersetup_gml_985_0"); break; case 213: global.monsterinstancetype[0] = obj_shinobeetle_enemy; global.monstertype[0] = 73; global.monstermakex[0] = xx + 474; global.monstermakey[0] = yy + 24; global.monstertype[1] = 0; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("SETH AND 1 SHINOBEETLE", "scr_encountersetup_slash_scr_encountersetup_gml_998_0"); break; case 214: global.monsterinstancetype[0] = obj_floradinn_enemy; global.monstertype[0] = 70; global.monstermakex[0] = xx + 473; global.monstermakey[0] = yy + 64; global.monsterinstancetype[1] = obj_floradinn_enemy; global.monstertype[1] = 70; global.monstermakex[1] = xx + 446; global.monstermakey[1] = yy + 152; global.monsterinstancetype[2] = obj_floradinn_enemy; global.monstertype[2] = 70; global.monstermakex[2] = xx + 483; global.monstermakey[2] = yy + 240; global.battlemsg[0] = stringsetloc("* It's a din of Floradinns!", "scr_encountersetup_slash_scr_encountersetup_gml_1017_0"); break; case 215: global.monsterinstancetype[0] = obj_leafling_enemy; global.monstertype[0] = 71; global.monstermakex[0] = xx + 470; global.monstermakey[0] = yy + 80; global.monsterinstancetype[1] = obj_sheary_enemy; global.monstertype[1] = 75; global.monstermakex[1] = xx + 490; global.monstermakey[1] = yy + 180; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* A leaf and its cutter appeared!", "scr_encountersetup_slash_scr_encountersetup_gml_1032_0"); break; case 220: global.monsterinstancetype[0] = obj_aqua_enemy; global.monstertype[0] = 112; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 130; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* A mysterious festival begins.", "scr_encountersetup_slash_scr_encountersetup_gml_1042_0"); break; case 221: global.monsterinstancetype[0] = obj_orange_enemy; global.monstertype[0] = 113; global.monstermakex[0] = xx + 500; global.monstermakey[0] = yy + 103; global.monsterinstancetype[1] = obj_green_enemy; global.monstertype[1] = 114; global.monstermakex[1] = xx + 493; global.monstermakey[1] = yy + 180; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Green brings the food!&* Orange brings the fight!", "scr_encountersetup_slash_scr_encountersetup_gml_1056_0"); break; case 222: global.monsterinstancetype[0] = obj_blue_enemy; global.monstertype[0] = 115; global.monstermakex[0] = xx + 466; global.monstermakey[0] = yy + 40; global.monsterinstancetype[1] = obj_yellow_enemy; global.monstertype[1] = 116; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 160; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Yellow brings the gun's!&* Blue brings the elegance!", "scr_encountersetup_slash_scr_encountersetup_gml_1070_0"); break; case 223: global.monsterinstancetype[0] = obj_purple_enemy; global.monstertype[0] = 117; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_aqua_enemy; global.monstertype[1] = 112; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Aqua brings the sword!&* Seth brings the pen!", "scr_encountersetup_slash_scr_encountersetup_gml_1084_0"); break; case 224: global.monsterinstancetype[0] = obj_pink_enemy; global.monstertype[0] = 118; global.monstermakex[0] = xx + 470; global.monstermakey[0] = yy + 131; global.battlemsg[0] = stringsetloc("* TP MAX reduced by TEA!&Gather HEARTS to recover MAX TP!", "scr_encountersetup_slash_scr_encountersetup_gml_1093_0"); break; case 225: global.monsterinstancetype[0] = obj_flowery_enemy; global.monstertype[0] = 119; global.monstermakex[0] = xx + 500; global.monstermakey[0] = yy + 114; global.battlemsg[0] = stringsetloc("* Flowery faces you!", "scr_encountersetup_slash_scr_encountersetup_gml_1102_0"); break; case 226: global.heromakex[0] = xx + 90; global.heromakey[0] = yy + 32; global.heromakex[1] = xx + 80; global.heromakey[1] = yy + 104; global.monsterinstancetype[0] = obj_floradinn_enemy; global.monstertype[0] = 70; global.monstermakex[0] = xx + 298; global.monstermakey[0] = yy + 158; global.monsterinstancetype[1] = obj_floradinn_enemy; global.monstertype[1] = 70; global.monstermakex[1] = xx + 420; global.monstermakey[1] = yy + 194; global.monstertype[2] = 0; global.battlemsg[0] = ""; break; case 227: if (partyconfig == 1) krloc = [80, 122]; if (partyconfig == 2) { krloc = [94, 86]; suloc = [80, 166]; } global.heromakex = [xx + krloc[0], xx + suloc[0], xx + raloc[0]]; global.heromakey = [yy + krloc[1], yy + suloc[1], yy + raloc[1]]; global.monsterinstancetype[count] = obj_floradinn_enemy; global.monstertype[count] = 70; global.monstermakex[count] = xx + 480; global.monstermakey[count] = yy + 110; count++; global.battlemsg[0] = stringsetloc("* Floradinn florads in!", "scr_encountersetup_slash_scr_encountersetup_gml_1147_0"); break; case 228: if (partyconfig == 1) krloc = [80, 122]; if (partyconfig == 2) { krloc = [94, 86]; suloc = [80, 166]; } global.heromakex = [xx + krloc[0], xx + suloc[0], xx + raloc[0]]; global.heromakey = [yy + krloc[1], yy + suloc[1], yy + raloc[1]]; global.monsterinstancetype[count] = obj_floradinn_enemy; global.monstertype[count] = 70; global.monstermakex[count] = xx + 514; global.monstermakey[count] = yy + 38; count++; global.monsterinstancetype[count] = obj_sheary_enemy; global.monstertype[count] = 75; global.monstermakex[count] = xx + 534; global.monstermakey[count] = yy + 130; count++; global.monsterinstancetype[count] = obj_netskie_enemy; global.monstertype[count] = 76; global.monstermakex[count] = xx + 528; global.monstermakey[count] = yy + 222; count++; global.battlemsg[0] = stringsetloc("* Floradinn florads in!&* Sheary cuts in!&* Netskie unwraps itself from its big fluffy tail!", "scr_encountersetup_slash_scr_encountersetup_gml_1183_0"); break; case 229: global.monsterinstancetype[0] = obj_netskie_enemy; global.monstertype[0] = 76; global.monstermakex[0] = xx + 473; global.monstermakey[0] = yy + 130; global.monstertype[1] = 0; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Netskie tricked you!", "scr_encountersetup_slash_scr_encountersetup_gml_1194_0"); break; case 230: global.heromakex[0] = xx + 90; global.heromakey[0] = yy + 32; global.heromakex[1] = xx + 90; global.heromakey[1] = yy + 104; global.monsterinstancetype[0] = obj_floradinn_enemy; global.monstertype[0] = 70; global.monstermakex[0] = xx + 360; global.monstermakey[0] = yy + 158; global.monstertype[2] = 0; global.battlemsg[0] = ""; break; case 231: global.monsterinstancetype[0] = obj_scarecrow_enemy; global.monstertype[0] = 72; global.monstermakex[0] = xx + 462; global.monstermakey[0] = yy + 110; global.monstertype[2] = 0; global.battlemsg[0] = stringsetloc("* Shi blocks the way! (... sort of.)", "scr_encountersetup_slash_scr_encountersetup_gml_1226_0"); break; case 232: global.monsterinstancetype[0] = obj_shinobeetle_enemy; global.monstertype[0] = 73; global.monstermakex[0] = xx + 437; global.monstermakey[0] = yy + 112; global.battlemsg[0] = stringsetloc("* Shinobeetle is no longer alone!", "scr_encountersetup_slash_scr_encountersetup_gml_1235_0"); break; case 233: global.monsterinstancetype[0] = obj_scarecrow_enemy; global.monstertype[0] = 72; global.monstermakex[0] = xx + 495; global.monstermakey[0] = yy + 75; global.monsterinstancetype[1] = obj_scarecrow_enemy; global.monstertype[1] = 72; global.monstermakex[1] = xx + 495; global.monstermakey[1] = yy + 130; global.monsterinstancetype[2] = obj_scarecrow_enemy; global.monstertype[2] = 72; global.monstermakex[2] = xx + 495; global.monstermakey[2] = yy + 185; global.battlemsg[0] = stringsetloc("* Shi blocks the way for real!", "scr_encountersetup_slash_scr_encountersetup_gml_1254_0"); break; case 234: global.monsterinstancetype[0] = obj_trashy_trio; global.monstertype[0] = 121; global.monstermakex[0] = xx + 456; global.monstermakey[0] = yy + 182; global.battlemsg[0] = stringsetloc("* The world's most popular trio!", "scr_encountersetup_slash_scr_encountersetup_gml_1263_0_b"); break; case 235: global.monsterinstancetype[0] = obj_enemy_example; global.monstertype[0] = 123; global.monstermakex[0] = xx + 456; global.monstermakey[0] = yy + 102; global.battlemsg[0] = stringsetloc("...", "scr_encountersetup_slash_scr_encountersetup_gml_1272_0"); break; case 500: global.monsterinstancetype[0] = obj_multiboss_enemy1; global.monstertype[0] = 500; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 80; global.monsterinstancetype[1] = obj_multiboss_enemy2; global.monstertype[1] = 500; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 160; global.monsterinstancetype[2] = obj_multiboss_enemy3; global.monstertype[2] = 500; global.monstermakex[2] = xx + 520; global.monstermakey[2] = yy + 240; global.battlemsg[0] = stringset("* A multiboss example showed up."); break; case 501: global.monsterinstancetype[0] = obj_multiboss_controller_enemy1; global.monstertype[0] = 501; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 80; global.monsterinstancetype[1] = obj_multiboss_controller_enemy2; global.monstertype[1] = 501; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 160; global.monsterinstancetype[2] = obj_multiboss_controller_enemy3; global.monstertype[2] = 501; global.monstermakex[2] = xx + 520; global.monstermakey[2] = yy + 240; global.battlemsg[0] = stringset("* A multiboss example with controller showed up."); break; case 777: global.monsterinstancetype[0] = obj_bullettester_enemy; global.monsterinstancetype[1] = obj_bullettester_enemy; global.monsterinstancetype[2] = obj_bullettester_enemy; global.monstertype[0] = 1; global.monstertype[1] = 1; global.monstertype[2] = 1; global.battlemsg[0] = stringset(" "); break; default: global.monsterinstancetype[0] = obj_baseenemy; global.monstertype[0] = 1; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_baseenemy; global.monstertype[1] = 1; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0; break; } }