shithub: cstory

Download patch

ref: 6f0ffe546f2e2303d6564bf8c45ac54638c21152
parent: c9e63c769494c1155271468ffb11699862c962b5
author: Gabriel Ravier <gabravier@gmail.com>
date: Tue Nov 5 11:34:58 EST 2019

Documentation : Add note about identical case branches in NpcAct020

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/NpcAct020.cpp
+++ b/src/NpcAct020.cpp
@@ -306,7 +306,7 @@
 
 			break;
 
-		case 2:
+		case 2:	// Identical to case 4
 			if (++npc->act_wait <= 0x40)
 			{
 				npc->y -= 0x200;
@@ -328,7 +328,7 @@
 
 			break;
 
-		case 4:
+		case 4:	// Identical to case 2
 			if (++npc->act_wait <= 0x40)
 			{
 				npc->y -= 0x200;