Compare commits

..

No commits in common. "0ea1cf6af26b79cb19d54bc9eac90217847947ea" and "4eebb4c7ad85ed8808feba3efd5218bb68975e8b" have entirely different histories.

3 changed files with 44 additions and 35 deletions

View File

@ -35,17 +35,7 @@ namespace RPG_Maker_LDB_Printer
ContinueIndent();
GetInt();
OpenIndent();
ReadSubdata(PartID, data);
CloseIndent();
}
CloseIndent();
}
}
public static void ReadSubdata(byte PartID, int data)
{
bool Data_end = false;
while (Data_end == false)
for (bool Data_end = false; Data_end == false;)
{
ContinueIndent();
int subData = GetInt();
@ -56,6 +46,10 @@ namespace RPG_Maker_LDB_Printer
else
GetBytes();
}
CloseIndent();
}
CloseIndent();
}
}
public static int GetInt()

View File

@ -34,10 +34,18 @@ namespace RPG_Maker_LDB_Printer
break;
case 12010://DD 6A
case 13310://E7 7E
CheckEnd();
while (stop == false)
{
GetEvent();
}
stop = false;
if (gotInts[5] == 1)
{
CheckEnd();
while (stop == false)
{
GetEvent();
}
stop = false;
}
GetEvent();
break;
@ -45,9 +53,17 @@ namespace RPG_Maker_LDB_Printer
if (gotInts[3] == 2 || gotInts[4] == 1)
{
GetEvent();
CheckEnd();
while (stop == false)
{
GetEvent();
CheckEnd();
}
stop = false;
GetEvent();
while (stop == false)
{
GetEvent();
}
stop = false;
GetEvent();
}
break;
@ -57,9 +73,17 @@ namespace RPG_Maker_LDB_Printer
{
stop = false;
GetEvent();
CheckEnd();
while (stop == false)
{
GetEvent();
CheckEnd();
}
stop = false;
GetEvent();
while (stop == false)
{
GetEvent();
}
stop = false;
GetEvent();
}
break;
@ -75,14 +99,5 @@ namespace RPG_Maker_LDB_Printer
Formating.CloseIndent();
Formating.CloseIndent();
}
static void CheckEnd()
{
while (stop == false)
{
GetEvent();
}
stop = false;
}
}
}