From e02e3ecebb5405c141f0982227e5b0bdc244ccdc Mon Sep 17 00:00:00 2001 From: milesthenerd Date: Mon, 8 Feb 2021 22:03:52 -0600 Subject: [PATCH] Fixed more weird map behavior --- objects/oMAlpha.object.gmx | 23 ----------------------- objects/oMGamma.object.gmx | 28 ---------------------------- objects/oMOmega.object.gmx | 5 ----- objects/oMZeta.object.gmx | 28 ---------------------------- 4 files changed, 84 deletions(-) diff --git a/objects/oMAlpha.object.gmx b/objects/oMAlpha.object.gmx index 0bc5afab..b2b914f9 100644 --- a/objects/oMAlpha.object.gmx +++ b/objects/oMAlpha.object.gmx @@ -73,29 +73,6 @@ if (room != rm_a0h14) global.dmap[mapposx, mapposy] = 10; else global.dmap[43, 24] = 10; with (oControl) event_user(2); dead = false; - - - - - - - - 1 - 603 - 7 - 0 - 0 - -1 - 2 - - - self - 0 - 0 - - - 1 - global.dmap[mapposx, mapposy] = 11; diff --git a/objects/oMGamma.object.gmx b/objects/oMGamma.object.gmx index 6affebde..9ff5d58d 100644 --- a/objects/oMGamma.object.gmx +++ b/objects/oMGamma.object.gmx @@ -91,34 +91,6 @@ speedmulti = 1; targetx = x; targety = y; dead = false; - -myposx = floor(x / 320); -myposy = floor((y - 8) / 240); -mapposx = myposx + global.mapoffsetx; -mapposy = myposy + global.mapoffsety; - - - - - - - - 1 - 603 - 7 - 0 - 0 - -1 - 2 - - - self - 0 - 0 - - - 1 - global.dmap[mapposx, mapposy] = 11; diff --git a/objects/oMOmega.object.gmx b/objects/oMOmega.object.gmx index 0964e670..2df9feea 100644 --- a/objects/oMOmega.object.gmx +++ b/objects/oMOmega.object.gmx @@ -142,10 +142,6 @@ flashtime = 0; laststate = 0; dead = false; -myposx = floor(x / 320); -myposy = floor((y - 8) / 240); -mapposx = myposx + global.mapoffsetx; -mapposy = myposy + global.mapoffsety; @@ -170,7 +166,6 @@ mapposy = myposy + global.mapoffsety; 1 event_user(2); with (tail) instance_destroy(); -global.dmap[mapposx, mapposy] = 11; diff --git a/objects/oMZeta.object.gmx b/objects/oMZeta.object.gmx index ab239a83..8e10010a 100644 --- a/objects/oMZeta.object.gmx +++ b/objects/oMZeta.object.gmx @@ -117,34 +117,6 @@ alarm[3] = 1; alarm[9] = 1; scan_log(14, get_text("ScanEvents", "ScanBioform"), 180, 0); dead = false; - -myposx = floor(x / 320); -myposy = floor((y - 8) / 240); -mapposx = myposx + global.mapoffsetx; -mapposy = myposy + global.mapoffsety; - - - - - - - - 1 - 603 - 7 - 0 - 0 - -1 - 2 - - - self - 0 - 0 - - - 1 - global.dmap[mapposx, mapposy] = 11;