#include "key_item_include" void main() { object oPC = GetEnteringObject(); object oArea = OBJECT_SELF; // Area is explored by default or PC has the correct map key item if(GetLocalInt(oArea, "SHOW_MAP") || KEYITEM_GetKeyItem(oPC, GetLocalInt(oArea, "MAP_ID"))) { ExploreAreaForPlayer(oArea, oPC, TRUE); } }