shithub: cstory

Download patch

ref: 9e976b37071816d55e3afb4d8fd4bc841150e9d2
parent: 9c7457f4e27922adaa709ceb1a3cca1555c429cd
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Feb 11 09:50:28 EST 2019

Fixed an inaccuracy in NPC104 (Frog)

Whoops

--- a/src/NpcAct100.cpp
+++ b/src/NpcAct100.cpp
@@ -260,9 +260,9 @@
 	if (bJump)
 	{
 		if (gMC.x > npc->x)
-			npc->direct = 0;
-		else
 			npc->direct = 2;
+		else
+			npc->direct = 0;
 
 		npc->act_no = 10;
 		npc->ani_no = 2;
@@ -272,7 +272,7 @@
 			PlaySoundObject(30, 1);
 
 		if (npc->direct == 0)
-			npc->xm = -0x200u;
+			npc->xm = -0x200;
 		else
 			npc->xm = 0x200;
 	}
--