I was messing with scripting when I had an error in compilation...in std.zh. Basically, it said that LI_TRIFORCE wasn't defined on line 1999. However, when I checked /Applications/Zelda Classic, I saw no issue. I had to check in /Applications/Zelda Classic/ZQuest Editor.app/Contents/Resources/ to find the issue...on line 1989.
//Returns the number of Triforce Pieces Link currently has
int NumTriforcePieces(){
int ret = 0;
for(int i=1;i<=8;i++)
if(Game->LItems[i]&LI_Triforce) ret++;
return ret;
}☝ That is how it looks now.
//Returns the number of Triforce Pieces Link currently has
int NumTriforcePieces(){
int ret = 0;
for(int i=1;i<=8;i++)
if(Game->LItems[i]&LI_TRIFORCE) ret++;
return ret;
}☝ That is how it should be.
Perhaps there should be consistency with the files?