summaryrefslogtreecommitdiff
path: root/VP-roomwork.lua
diff options
context:
space:
mode:
Diffstat (limited to 'VP-roomwork.lua')
-rw-r--r--VP-roomwork.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/VP-roomwork.lua b/VP-roomwork.lua
index ac0a958..4349ca4 100644
--- a/VP-roomwork.lua
+++ b/VP-roomwork.lua
@@ -190,7 +190,7 @@ function process_arcroom(fname, h, size, ext)
counter = counter + 1
return ret
end
- elseif dump_mode and ext == "main" and index[i].ftype == 4 then
+ elseif dump_mode and ext == "sarc" and index[i].ftype == 4 then
if script then error "Can't have two scripts in these..." end
handler = function(fname, h, size, ext)
if counter == 1 then
@@ -202,7 +202,7 @@ function process_arcroom(fname, h, size, ext)
end
counter = counter + 1
end
- elseif dump_mode and ext == "main" and index[i].ftype == 7 then
+ elseif dump_mode and ext == "sarc" and index[i].ftype == 7 then
if font then error "Can't have two fonts in these..." end
handler = function(fname, h, size, ext)
if counter == 1 then
@@ -214,9 +214,9 @@ function process_arcroom(fname, h, size, ext)
end
counter = counter + 1
end
- elseif not dump_mode and ext == "main" and index[i].ftype == 4 then
+ elseif not dump_mode and ext == "sarc" and index[i].ftype == 4 then
error "Not written yet"
- elseif not dump_mode and ext == "main" and index[i].ftype == 7 then
+ elseif not dump_mode and ext == "sarc" and index[i].ftype == 7 then
error "Not written yet"
end
outfile[i] = process_single_file(fname .. string.format("/%04i-%08X", i, index[i].ftype), h, index[i].size, "room", handler)