Deobfuscare more values
This commit is contained in:
parent
9df9ea76f6
commit
9c56888ffd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue