Skip to content

Commit

Permalink
Adding Bubble Generator support to LevelConverter
Browse files Browse the repository at this point in the history
S1 = 0x64
S2 = 0x24
S3/S&K = 0x54
SCD = No idea
  • Loading branch information
Clownacy committed Mar 19, 2016
1 parent 2482a00 commit 93062e0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions LevelConverter/MainForm.cs
Expand Up @@ -1065,6 +1065,9 @@ private void ObjS1ToS2()
break;
case 0x41:
break;
case 0x64:
item.ID = 0x24;
break;
case 0x71:
item.ID = 0x74;
break;
Expand Down Expand Up @@ -1159,6 +1162,9 @@ private void ObjS1ToS3K()
break;
}
break;
case 0x64:
item.ID = 0x54;
break;
default:
known = false;
break;
Expand Down Expand Up @@ -1249,6 +1255,9 @@ private void ObjS2ToS1()
bool known = true;
switch (item.ID)
{
case 0x24:
item.ID = 0x64;
break;
case 0x26:
switch (item.SubType)
{
Expand Down Expand Up @@ -1335,6 +1344,9 @@ private void ObjS2ToS3K()
bool known = true;
switch (item.ID)
{
case 0x24:
item.ID = 0x54;
break;
case 0x26:
item.ID = 1;
switch (item.SubType)
Expand Down Expand Up @@ -1498,6 +1510,9 @@ private void ObjS3KToS1()
break;
}
break;
case 0x54:
item.ID = 0x64;
break;
default:
known = false;
break;
Expand Down Expand Up @@ -1573,6 +1588,9 @@ private void ObjS3KToS2()
break;
}
break;
case 0x54:
item.ID = 0x24;
break;
default:
known = false;
break;
Expand Down

0 comments on commit 93062e0

Please sign in to comment.