ref: 4bc80a288d8ca7eae6c9421febc7ceaf11e9a2af
parent: 6f71f2405d341f1c2b3183e73dcfc44592815665
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Aug 25 12:49:52 EDT 2019
More cleanup
--- a/src/NpcAct340.cpp
+++ b/src/NpcAct340.cpp
@@ -134,6 +134,7 @@
else
npc->act_no = 230;
}
+
break;
case 210:
@@ -606,7 +607,7 @@
npc->act_no = 10;
npc->count1 = 2 * (npc->direct & 0xFF);
npc->direct >>= 8;
- npc->count2 = 192;
+ npc->count2 = 0xC0;
npc->damage = 14;
// Fallthrough
case 10:
@@ -1504,9 +1505,6 @@
case 13:
npc->surf = SURFACE_ID_LEVEL_SPRITESET_1;
break;
-
- default:
- break;
}
switch (npc->count1)
@@ -1517,9 +1515,6 @@
case 12:
npc->view.top = 0x2000;
break;
-
- default:
- break;
}
// Balrog
@@ -1531,7 +1526,7 @@
}
// Spawn King's sword
- if (!npc->count1)
+ if (npc->count1 == 0)
SetNpChar(145, 0, 0, 0, 0, 2, npc, 0x100);
// Fallthrough
case 1:
@@ -1547,6 +1542,7 @@
}
npc->y += npc->ym;
+
break;
}