# HG changeset patch # User Silverwing # Date 2018-12-22 22:28:15 # Node ID 8a8cef5d34419108e939dbb3228cd2b01ecbebb8 # Parent 9c2c000e2bbd8b2e203535303f3c51c1a49fe1a7 Chapter 1: 15 game fixed diff --git a/atlantis_dyp.lua b/atlantis_dyp.lua --- a/atlantis_dyp.lua +++ b/atlantis_dyp.lua @@ -173,7 +173,7 @@ dyp_obelisk_puzzle = room { end; local k = 1; for i = 1, 16 do - if s.state[i] == 1 then + if s.state[i] ~= 12 then for j = i + 1, 16 do if s.state[i] > s.state[j] and s.state[j] ~= 12 then k = k + 1; @@ -183,7 +183,7 @@ dyp_obelisk_puzzle = room { k = k + math.floor(i / 4); end; end; - if k % 2 == 0 then + if k % 2 == 1 then for i = 16, 1, -1 do if s.state[i] == 14 then s.state[i] = 15;