Amon_PRC8/_module/nss/x0_d2_hen_fired.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

27 lines
751 B
Plaintext

//:://////////////////////////////////////////////////
//:: X0_D2_HEN_FIRED
//:: Copyright (c) 2002 Floodgate Entertainment
//:://////////////////////////////////////////////////
/*
Returns TRUE if the player has previously used this
henchman but had fired him/her.
*/
//:://////////////////////////////////////////////////
//:: Created By: Naomi Novik
//:: Created On: 09/13/2002
//:://////////////////////////////////////////////////
#include "x0_i0_henchman"
int StartingConditional()
{
object oPC = GetPCSpeaker();
object oHench = GetHenchman(GetPCSpeaker());
string sHench = GetResRef (oHench);
// int nInt = GetCampaignDBInt (oPC, sHench);
if (GetCampaignDBInt (oPC, sHench) == 1)
return TRUE;
return FALSE;
}