Is there any odd reason this would show up the entire head img of an npc instead of the correct partx,y,w,h? (using the map released from atlantis, heavily modified though, for what its worth)
PHP Code:
with (findimg(500 + temp.baddy.id)) {
image = temp.baddy.head;
party = temp.baddy.dir * 32;
partw = parth = 32;
alpha = temp.da;
layer = 7;
zoom = 0.5;
mode = 1;
x = temp.hx;
y = temp.hy;
}
temp.baddy.id does return the npc id, and if i echo temp.baddy.head it does get the correct head. Even if i echo out the partw or party it works in the echo, but it just shows up the entire head image, and not just the correct part of the image.