diff --git a/Lua/addrs/M/common.lua b/Lua/addrs/M/common.lua index ec82ae8..2af5431 100755 --- a/Lua/addrs/M/common.lua +++ b/Lua/addrs/M/common.lua @@ -117,7 +117,7 @@ return { name = AL(0x2C, 8), max_hearts = AL(0x34, 2), hearts = AL(0x36, 2), - has_magic = AL(0x38, 1), -- ? + magic_level = AL(0x38, 1), magic = AL(0x39, 1), rupees = AL(0x3A, 2), navi_timer = AL(0x3C, 4), -- ? diff --git a/Lua/addrs/O/common.lua b/Lua/addrs/O/common.lua index 5a96a06..3d19775 100644 --- a/Lua/addrs/O/common.lua +++ b/Lua/addrs/O/common.lua @@ -49,7 +49,7 @@ return { name = AL(0x24, 8), max_hearts = AL(0x2E, 2), hearts = AL(0x30, 2), - has_magic = AL(0x32, 1), -- ? + magic_level = AL(0x32, 1), magic = AL(0x33, 1), rupees = AL(0x34, 2), navi_timer = AL(0x38, 2), diff --git a/Lua/oneshot.lua b/Lua/oneshot.lua index 2d941af..d51d7f6 100755 --- a/Lua/oneshot.lua +++ b/Lua/oneshot.lua @@ -87,7 +87,7 @@ else W1(addr, bit.bor(R1(addr), 0x02)) end -set(a.has_magic, 2) -- 2 for double +set(a.magic_level, 2) set(a.has_normal_magic, 1) set(a.has_double_magic, 1) a.quest_items (0x00FFFFFF)