summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/007-1/treasure.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/007-1/treasure.txt b/npc/007-1/treasure.txt
index 8e9503a57..ef615c5d4 100644
--- a/npc/007-1/treasure.txt
+++ b/npc/007-1/treasure.txt
@@ -103,7 +103,7 @@ OnClock1956:
// Try to warp randomly to a walkable spot, up to 20 attempts
// Otherwise, it'll stay where it already is (but will close and refill).
.@e=0; .@x=0; .@y=0;
- while (!checkcell(.mp$, .@x, .@y, cell_chkpass))
+ while (!checkcell(.map$, .@x, .@y, cell_chkpass))
{
if (.@e == 20) {
.@x=.x;