Scriptname aHH0BedRoomTriggerScript extends ObjectReference  

Actor Property playerref Auto ; Least 'costly' way to refer to the player
Quest property aHH0 auto
 
Event OnTriggerEnter(ObjectReference akActionRef)
	If akActionRef == PlayerREF ; This condition ensures that only the player will trigger this code
		If aHH0.getstage() == 50
			aHH0.setstage(60)
		ElseIf aHH0.getstage() == 190
			aHH0.setstage(200)
		EndIf
	EndIf
EndEvent