ref: 9c56888ffd17a687953a2a3c79b5feab1843fb30
parent: 9df9ea76f6faed58d4a00c90d327ceee485f82bb
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Nov 9 10:40:15 EST 2019
Deobfuscare more values
--- a/src/NpcAct160.cpp
+++ b/src/NpcAct160.cpp
@@ -426,10 +426,10 @@
{
case 0:
npc->act_no = 1;
- npc->y += 0x1400;
+ npc->y += 10 * 0x200;
// Fallthrough
case 1:
- if (npc->direct == 2 && gMC.x > npc->x - 0x4000 && gMC.x < npc->x + 0x4000 && gMC.y > npc->y - 0x2000 && gMC.y < npc->y + 0x2000)
+ if (npc->direct == 2 && gMC.x > npc->x - (0x20 * 0x200) && gMC.x < npc->x + (0x20 * 0x200) && gMC.y > npc->y - (0x10 * 0x200) && gMC.y < npc->y + (0x10 * 0x200))
npc->ani_no = 1;
else
npc->ani_no = 0;