diff --git a/editor.html b/editor.html
index 127971f..d9e08d1 100644
--- a/editor.html
+++ b/editor.html
@@ -261,8 +261,8 @@ function loadCurrentGameData() {
{ id: 'professor', x: 5, y: 1, facing: 'down', dialog: ['Welcome to the Circuit Lab!','I\'m the Professor. We study logic gates here.','Use the workshop tables to design circuits.','Press TAB to open the Workshop anytime!'] }
];
mapData.lab.exits = [
- { x: 4, y: 11, targetMap: 'pallet-town', targetX: 10, targetY: 7 },
- { x: 5, y: 11, targetMap: 'pallet-town', targetX: 10, targetY: 7 }
+ { x: 4, y: 11, targetMap: 'pallet-town', targetX: 10, targetY: 8 },
+ { x: 5, y: 11, targetMap: 'pallet-town', targetX: 10, targetY: 8 }
];
mapData.lab.interactions = [
{ x: 2, y: 3, type: 'workshop', label: 'Workshop Table' },
diff --git a/js/world/maps.js b/js/world/maps.js
index cfb1546..ec86041 100644
--- a/js/world/maps.js
+++ b/js/world/maps.js
@@ -67,8 +67,9 @@ const labMap = {
wallSet: buildWallSet(10, 12, labWalls),
exits: [
- { x: 4, y: 11, targetMap: 'town', targetX: 10, targetY: 7 },
- { x: 5, y: 11, targetMap: 'town', targetX: 10, targetY: 7 }
+ // Exit door — appear one tile BELOW the town door (not ON it, to avoid re-trigger)
+ { x: 4, y: 11, targetMap: 'town', targetX: 10, targetY: 8 },
+ { x: 5, y: 11, targetMap: 'town', targetX: 10, targetY: 8 }
],
npcs: [
@@ -172,7 +173,7 @@ const townMap = {
wallSet: buildWallSet(20, 18, townWalls),
exits: [
- // Door into lab building
+ // Door into lab — appear one tile ABOVE the lab exit (not ON it, to avoid re-trigger)
{ x: 10, y: 7, targetMap: 'lab', targetX: 4, targetY: 10 }
],