Hopefully this is something so obvious that I don't see it.
This is in the left pressed of an object.
i=0;
show_message(""+string(i=scr_doihaveit("food")))
it's showing a 1.
Normally, the scr_doihaveit script looks like this.
i=0;
repeat(100)
{
if(global.inventory[1,i]=argument0)
{
return (i);
}
i+=1;
}
return 0;
I've also just commented out everything but the return 0; and it still shows a 1 up there.



Find content
Male
