Add note about identical case branches

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2019-11-04 11:27:04 +01:00
parent 347f9282fe
commit 7ddcbfaa73

View file

@ -766,7 +766,7 @@ void ActBossChar_MonstX(void)
gBoss[1].act_no = 20; gBoss[1].act_no = 20;
gBoss[2].act_no = 20; gBoss[2].act_no = 20;
// Fallthrough // Fallthrough
case 503: case 503: // Exactly identical to case 603
if (++npc->act_wait > 50) if (++npc->act_wait > 50)
{ {
if (npc->x > gMC.x) if (npc->x > gMC.x)
@ -803,7 +803,7 @@ void ActBossChar_MonstX(void)
gBoss[2].act_no = 40; gBoss[2].act_no = 40;
// Fallthrough // Fallthrough
case 603: case 603: // Exactly identical to case 503
if (++npc->act_wait > 50) if (++npc->act_wait > 50)
{ {
if (npc->x > gMC.x) if (npc->x > gMC.x)