void main()
{
  object oPlayer = GetEnteringObject();
  object oArea = GetArea(oPlayer);
  if (GetIsObjectValid(oPlayer) && GetIsPC(oPlayer))
  {
    ExploreAreaForPlayer(oArea, oPlayer);
    SetLocalInt(oPlayer, "nInBattleFlag", 1);
  }
}
