State-Based Scripting in Uncharted 2: Among Thieves