EN6_PRC8/_module/nss/qdb_set_linenpc.nss

30 lines
361 B
Plaintext
Raw Permalink Normal View History

#include "qdb_include"
void main()
{
string sLine;
string sResponse;
string sToken;
int iDone;
int iNPC;
int iIndex;
int iStep;
int iLine;
sLine=GetLine();
iStep=GetStepNumber();
iLine=GetLineNumber();
iDone=GetLineInt("Done");
iNPC=GetLineInt("NPC");
if (iNPC==0)
iNPC=1;
else
iNPC=0;
SetLineInt("NPC",iNPC);
SetCustomToken(100,GetLineInfo());
}