Cleaned up NpcAct340.cpp

This commit is contained in:
Gabriel Ravier 2019-05-16 08:25:53 +02:00
parent c247de7686
commit a312be2b4b
No known key found for this signature in database
GPG key ID: 1E75F156884F3DCE

View file

@ -78,6 +78,7 @@ void ActNpc340(NPCHAR *npc)
case 3:
npc->act_no = 200;
break;
case 4:
npc->act_no = 300;
break;
@ -810,6 +811,7 @@ void ActNpc342(NPCHAR *npc)
PlaySoundObject(26, 1);
}
break;
case 1:
if (npc->count1 == 268)
{
@ -818,6 +820,7 @@ void ActNpc342(NPCHAR *npc)
PlaySoundObject(26, 1);
}
break;
case 2:
if (npc->count1 == 396)
{
@ -827,6 +830,7 @@ void ActNpc342(NPCHAR *npc)
PlaySoundObject(26, 1);
}
break;
case 3:
if (npc->count1 == 12)
{
@ -1500,6 +1504,7 @@ void ActNpc352(NPCHAR *npc)
case 13:
npc->surf = SURFACE_ID_LEVEL_SPRITESET_1;
break;
default:
break;
}
@ -1512,6 +1517,7 @@ void ActNpc352(NPCHAR *npc)
case 12:
npc->view.top = 0x2000;
break;
default:
break;
}
@ -1608,12 +1614,15 @@ void ActNpc353(NPCHAR *npc)
case 0:
npc->xm = -0x600;
break;
case 2:
npc->xm = 0x600;
break;
case 1:
npc->ym = -0x600;
break;
case 3:
npc->ym = 0x600;
break;