DoVerb , Checks the !Test level, if a match is found, the !Desc level for that !Test is displayed, and the !Code executed MovePlayer Moves the object PlayerNum to . WeightCheck(, ) 1) add up the 'Weight' flags of the new location. 2) if the current weight plus the new object is greater than the 'Holds' flag of the new location, return 0, otherwise return 1. MoveObject , 1) Add the object moved to the Content level of the new location 2) Change the 'Location' Flag of the object moved 3) Remove the Object Moved from the old location 4) Compress the remaining objects in the Content level of the old Location, so that there are no gaps. GetFlag( , ) Returns the value of the given flag SetFlag( , , ) Sets into flag of object . ObjectNum( ) Return the internal number given the object name NOTE: This only works on unique object names, before the ';' DoIVerb Checks the !Test level, if a match is found, the !Desc level for that !Test is displayed, and the !Code executed FillObjBox Clears the Objects box, and then fills it with the objects in the Location flag of Object PlayerNum. FillInventoryBox Fills the inventory box with the items contained in object PlayerNum FillVerbBox( ) Fills the Verb box with the verbs associated with the object AddScore Adds to the 'Score' flag of object PlayerNum. IsHolding( ) Returns 1 if Object is in the player's inventory. Returns 0 otherwise IsPresent( ) Returns 1 of Object is in the same location as the player Returns 0 otherwise EndGame Turns off all windows, and displays 'use file menu to load, restore or quit' VerbNum(, ) Returns the index number of verb in object , or 0 if not found. AddFlag , , Adds the to the current value of the specified flag and saves the result in the flag. InLocation(, ) Returns a 1 if the is in the specified , Returns 0 otherwise.