From 5673d90041ce81c08c79bc8a451b57da74899069 Mon Sep 17 00:00:00 2001 From: Moonlit Productions Date: Thu, 1 Jan 2026 21:59:02 -0500 Subject: [PATCH] Moved a gate --- addresses.lua | 21 ++++++++++----------- startup.lua | 12 ++++++++---- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/addresses.lua b/addresses.lua index 35e5972..bfd3325 100644 --- a/addresses.lua +++ b/addresses.lua @@ -11,16 +11,15 @@ local addresses = {} -- Common 7-chevron addresses for main destinations addresses.MainGates = { - { "OVERWORLD", { 27, 25, 4, 35, 10, 28, 0 } }, - { "Nether", { 27, 23, 4, 34, 12, 28, 0 } }, - { "End", { 13, 24, 2, 19, 3, 30, 0 } }, - { "Abydos", { 26, 6, 14, 31, 11, 29, 0 } }, - { "Chulak", { 8, 1, 22, 14, 36, 19, 0 } }, - { "Unitas", { 2, 27, 8, 34, 24, 15, 0 } }, - { "Cavum Tenebrae", { 18, 7, 3, 36, 25, 15, 0 } }, - { "Lantea", { 18, 20, 1, 15, 14, 7, 19, 0 } }, - { "Rima", { 33, 20, 10, 22, 3, 17, 0 } }, - { "Athos", { 18, 21, 14, 24, 1, 26, 28 } } + { "OVERWORLD", { 27, 25, 4, 35, 10, 28, 0 } }, + { "Nether", { 27, 23, 4, 34, 12, 28, 0 } }, + { "End", { 13, 24, 2, 19, 3, 30, 0 } }, + { "Abydos", { 26, 6, 14, 31, 11, 29, 0 } }, + { "Chulak", { 8, 1, 22, 14, 36, 19, 0 } }, + { "Unitas", { 2, 27, 8, 34, 24, 15, 0 } }, + { "Lantea", { 18, 20, 1, 15, 14, 7, 19, 0 } }, + { "Rima", { 33, 20, 10, 22, 3, 17, 0 } }, + { "Athos", { 18, 21, 14, 24, 1, 26, 28 } } } --------------------------------------------- @@ -42,7 +41,7 @@ addresses.playerGates = { -- Dangerous destinations addresses.hazardGates = { - -- Add hazardous gate addresses here + { "Cavum Tenebrae", { 18, 7, 3, 36, 25, 15, 0 } } } return addresses diff --git a/startup.lua b/startup.lua index 932539a..6c5a825 100644 --- a/startup.lua +++ b/startup.lua @@ -513,12 +513,16 @@ local function selectGateFromList() dialing = true sely = 0 selx = 0 - elseif sely >= 17 and selx >= 23 then - selecting = false - sely = 0 - selx = 0 + break end end + + -- Check back button (x: 23-28, y: 17-19) + if not dialing and sely >= 17 and sely <= 19 and selx >= 23 and selx <= 28 then + selecting = false + sely = 0 + selx = 0 + end end display.clearButtonData()