;If the scene ends before the player is married, trigger the fail state Int iStage = GetOwningQuest().GetStage() if iStage < 100 if 30 <= iStage GetOwningQuest().SetStage(100) else GetOwningQuest().SetStage(150) endif endif