From 0149f3705be0b70e9fb0ffead3e761090fa242ee Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Mon, 25 May 2015 19:21:35 -0700 Subject: [PATCH] movement test "works" now on oot --- Lua/addrs/O/common.lua | 2 +- Lua/movement tests.lua | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Lua/addrs/O/common.lua b/Lua/addrs/O/common.lua index 67c9657..3cf65ce 100644 --- a/Lua/addrs/O/common.lua +++ b/Lua/addrs/O/common.lua @@ -31,7 +31,7 @@ function Actor(addr) --ground_y = AA(0x88, 'f'), damage_table = AA(0x98, 4), hp = AA(0xAF, 1), - --angle = AA(0xBA, 2), + angle = AA(0xB6, 2), prev = AA(0x120, 4), next = AA(0x124, 4), } diff --git a/Lua/movement tests.lua b/Lua/movement tests.lua index e801064..6243c13 100755 --- a/Lua/movement tests.lua +++ b/Lua/movement tests.lua @@ -1,5 +1,8 @@ --- movement speed testing in Majora's Mask --- go to the fairy's fountain in clock town as human link and run this script. +-- movement speed testing +-- for Majora's Mask: +-- go to the fairy's fountain in clock town as human link and run this script. +-- for Ocarina of Time: +-- go to the Temple of Time as a child and run this script. require "addrs.init" @@ -58,7 +61,7 @@ local tests = { local link = addrs.link_actor -local pos = {2400, 20, 375} +local pos = mm and {2400, 20, 375} or {-200, -40, 2330} local angle = 180 local fn = 'lua movement test'