From 911936a303001d2fb2f2e94c7228374656d1b88b Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 25 Oct 2012 09:32:15 -0700 Subject: A bit more on the menus. --- VP-roomwork.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'VP-roomwork.lua') 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) -- cgit v1.2.3