См. определение в файле Trap_TripWire.c строка 138
Перекрестные ссылки g_Game, RefreshState(), SetState(), GameConstants::STATE_RUINED и TRIGGERED.