Deobfuscare more values

This commit is contained in:
Clownacy 2019-11-09 15:40:15 +00:00
parent 9df9ea76f6
commit 9c56888ffd

View file

@ -426,10 +426,10 @@ void ActNpc165(NPCHAR *npc)
{ {
case 0: case 0:
npc->act_no = 1; npc->act_no = 1;
npc->y += 0x1400; npc->y += 10 * 0x200;
// Fallthrough // Fallthrough
case 1: 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; npc->ani_no = 1;
else else
npc->ani_no = 0; npc->ani_no = 0;