Resetting a players Priority Type

Hi All,

I just need to know few things about changing the players priority. For a cut scene, I wanted to change the players priority for a moment for a certain effect. I used
JavaScript:
$gamePlayer._priorityType = 2
to set it above things, this works great. But I am not sure what the best way to reset the player back to its normal priority. Would I just use this?
JavaScript:
$gamePlayer._priorityType = 1

Or is there a better method of doing this? As always, any help is greatly appreciated.
that should be fine. did you try it and it didn't work?
Yeah it works, but I wasn't sure if setting the player to priority 1 was the same as resetting them to default. I didn't want to end up setting myself up for even more complications by not understanding how it worked properly. Thanks for your response.
just keep in mind, that changing priority type isn't saved.
once you transfer, it reverse back to default.

but adding it can be safely added if they stay on the same map,
same applies for events 😉

Original thread: https://forums.rpgmakerweb.com/threads/resetting-a-players-priority-type.176680/