18 lines
646 B
Plaintext
18 lines
646 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName sail_to_misty
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 7/7/2002 3:51:05 PM
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "TickettoMistyIsle");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
AssignCommand(GetPCSpeaker(), JumpToLocation(GetLocation(GetObjectByTag ("misty_ship_arrive"))));
|
|
}
|