Returns the number of the state that the player was last in. The results of this trigger are not guaranteed to be accurate.

Format: PrevStateNo

Arguments:

Return type: int

Error conditions: none

Example:

trigger1 = prevstateno = [200,650]
; Returns true if the previous state number was between 200 and 650, inclusive.