48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName sc_212
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 1/18/2003 9:25:09 PM
|
|
//:://////////////////////////////////////////////
|
|
#include "nw_i0_tool"
|
|
|
|
int StartingConditional()
|
|
{
|
|
|
|
// Make sure the PC speaker has these items in their inventory
|
|
if(!HasItem(GetPCSpeaker(), "BlackHeart"))
|
|
return FALSE;
|
|
if(!HasItem(GetPCSpeaker(), "BlueHeart"))
|
|
return FALSE;
|
|
if(!HasItem(GetPCSpeaker(), "GreenHeart"))
|
|
return FALSE;
|
|
if(!HasItem(GetPCSpeaker(), "RedHeart"))
|
|
return FALSE;
|
|
if(!HasItem(GetPCSpeaker(), "WhiteHeart"))
|
|
return FALSE;
|
|
if(!HasItem(GetPCSpeaker(), "PrismHeart"))
|
|
return FALSE;
|
|
|
|
// Inspect local variables
|
|
if(!(GetLocalInt(GetModule(), "BlackSpawned") == FALSE))
|
|
return FALSE;
|
|
|
|
if(!(GetLocalInt(GetModule(), "WhiteSpawned") == FALSE))
|
|
return FALSE;
|
|
|
|
if(!(GetLocalInt(GetModule(), "RedSpawned") == FALSE))
|
|
return FALSE;
|
|
|
|
if(!(GetLocalInt(GetModule(), "GreenSpawned") == FALSE))
|
|
return FALSE;
|
|
|
|
if(!(GetLocalInt(GetModule(), "BlueSpawned") == FALSE))
|
|
return FALSE;
|
|
|
|
if(!(GetLocalInt(GetModule(), "PrismSpawned") == FALSE))
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|