diff --git a/objects/oMGamma.object.gmx b/objects/oMGamma.object.gmx index 7e871fa7..cf4eba4a 100644 --- a/objects/oMGamma.object.gmx +++ b/objects/oMGamma.object.gmx @@ -91,6 +91,11 @@ 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; diff --git a/objects/oMOmega.object.gmx b/objects/oMOmega.object.gmx index b60213b8..afa643c6 100644 --- a/objects/oMOmega.object.gmx +++ b/objects/oMOmega.object.gmx @@ -142,6 +142,10 @@ flashtime = 0; laststate = 0; dead = false; +myposx = floor(x / 320); +myposy = floor((y - 8) / 240); +mapposx = myposx + global.mapoffsetx; +mapposy = myposy + global.mapoffsety; diff --git a/objects/oMZeta.object.gmx b/objects/oMZeta.object.gmx index 257713c5..30fb8630 100644 --- a/objects/oMZeta.object.gmx +++ b/objects/oMZeta.object.gmx @@ -117,6 +117,11 @@ 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; diff --git a/objects/oOptionsMain.object.gmx b/objects/oOptionsMain.object.gmx index 29d67573..12b2173a 100644 --- a/objects/oOptionsMain.object.gmx +++ b/objects/oOptionsMain.object.gmx @@ -149,7 +149,7 @@ global.tiptext = tip[global.curropt]; instance_destroy(); } else { save_gameoptions(); - global.curropt = 5; // used to be 3, menu shifted + global.curropt = 4; // used to be 3, menu shifted room_change(titleroom, 0); //room_goto(titleroom); } }