public void trackArrive() { AppEngine canvas = AppEngine.getCanvas(); SceneGame sceneGame = canvas.getSceneGame(); if (sceneGame.isMapMode()) { this.m_location = 2; this.trackGotoTown(); } else if (sceneGame.isZoomMapMode()) { this.m_location = 1; this.m_locationMap = canvas.getNextZoomMapId(); switch (this.m_locationMap) { case 4: SpywareManager.getInstance().trackGotoLakeside(); break; case 183: SpywareManager.getInstance().trackGotoStreetside(); break; } } else { if (!sceneGame.isHouseMode()) { return; } this.m_location = 0; this.m_locationMap = canvas.getNextHouseId(); this.trackGotoHouse(this.m_locationMap); } }