From 9bf59a1e67e7706a9057e1665dfe15b4ec2c5266 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sat, 22 Jun 2013 20:20:37 -0700 Subject: Fixing typos. --- VP-roomwork.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'VP-roomwork.lua') 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 -- cgit v1.2.3