add rae characters to selection
This commit is contained in:
parent
66afcad064
commit
ab54aaead6
2 changed files with 18 additions and 26 deletions
|
@ -36,29 +36,21 @@ namespace rshw2sst
|
|||
Console.WriteLine("FATAL: Only RSHW and CSHW files are supported.");
|
||||
return;
|
||||
}
|
||||
switch (args[1].ToLower())
|
||||
string chara = args[1].ToLower();
|
||||
if (chara.Contains("chuck") || chara.Contains("rolfe")) charaIndex = 0;
|
||||
else if (chara.Contains("helen") || chara.Contains("mitzi")) charaIndex = 1;
|
||||
else if (chara.Contains("munch") || chara.Contains("fatz")) charaIndex = 2;
|
||||
else if (chara.Contains("jasper") || chara.Contains("beach")) charaIndex = 3;
|
||||
else if (chara.Contains("pasqually") || chara.Contains("dook")) charaIndex = 4;
|
||||
else if (chara.Contains("bella") || chara.Contains("billy"))
|
||||
{
|
||||
case "chuck":
|
||||
charaIndex = 0;
|
||||
break;
|
||||
case "helen":
|
||||
charaIndex = 1;
|
||||
break;
|
||||
case "munch":
|
||||
charaIndex = 2;
|
||||
break;
|
||||
case "jasper":
|
||||
charaIndex = 3;
|
||||
break;
|
||||
case "pasqually":
|
||||
charaIndex = 4;
|
||||
break;
|
||||
case "bella":
|
||||
Console.WriteLine("you wish!!!");
|
||||
return;
|
||||
default:
|
||||
Console.WriteLine("FATAL: Invalid character.");
|
||||
return;
|
||||
Console.WriteLine("you wish!!!!");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("FATAL: Invalid character.");
|
||||
return;
|
||||
}
|
||||
if (!Directory.Exists(args[2])) Directory.CreateDirectory(args[2]);
|
||||
RSHWFile file = RSHWLoader.Load(args[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue