summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2013-06-22 20:20:37 -0700
committerPixel <pixel@nobis-crew.org>2013-06-22 20:20:37 -0700
commit9bf59a1e67e7706a9057e1665dfe15b4ec2c5266 (patch)
tree470efb528eed495e35d061c10539fcb14a8862b2
parent68a5f60effd89f89776f0accda6dcca15d9821b0 (diff)
Fixing typos.
-rw-r--r--VP-roomwork.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/VP-roomwork.lua b/VP-roomwork.lua
index d17fb33..a3f1827 100644
--- a/VP-roomwork.lua
+++ b/VP-roomwork.lua
@@ -98,7 +98,7 @@ function patch_logic(logic, windows, activate_debug)
local opcode = rd_opcode(PC)
if opcode == 0x1400033C or opcode == 0x140003E2 or opcode == 0x140003F5 or opcode == 0x14000408 then process_subtxt(PC) end
end
- check_logic(logic)
+ check_room_logic(logic)
if activate_debug then patch_opcode(0x1158, 0x9e000000) end
logic_disasm(logic, nil, {
-- txtbox1
@@ -207,7 +207,7 @@ function insert_script(old, new, nptrs, windows)
local ret = Buffer(true)
- ret:writeU32(size_1)
+ ret:writeU32(size_logic)
ret:writeU32(u1)
ret:writeU32(u2)
if nptrs ~= n_ptrs then error("Script inconsistancy! Got " .. nptrs .. " instead of " .. n_ptrs) end