Day / Night System with Darkness / Light Tint

At around 16 hours it gets slowly dark, and once it's past 24 hours it gets slowly bright again. but when you go indoors it will be bright all the time because the inn has light on during the night.
But the problem is that when you leave the inn during the night it obviously looks weird because as soon as i exit the inn, it is bright outside in the middle of the night and needs a few seconds until it is dark again. I didn't think about it too much yet because i thoguht maybe this is a common thing and there could be a standard solution already.
so what would you suggest doing in this situation.

I want it to get dark / bright "slowly" when you're outside, but "instantly" when you're leaving / entering a building during the night.
you need two different parts.

one is the day/night cycle, and that needs its current state/time to be stored in a variable.
basically if hour = n then use tint x

The second are two different sequences for transfer: to inside and to outside
in case of the "to inside" you remove the tint and disable the time automatic so that it doesn't darken inside
in the case of to outside you activate the time, then check the variable for which tint is active and apply that manually - that second part is what you're missing so far.

Original thread: https://forums.rpgmakerweb.com/threads/day-night-system-with-darkness-light-tint.162179/