Help with eventing a cooldown for potions, based on steps taken

So I'm trying to give potions a cooldown of 25 steps.  Meaning, once you drink a potion, you need to walk 25 steps before you are able to drink another one. 

-I made a common event "Use Potion" which is triggered whenever the player uses a potion.

-This common event sets a variable "Drank Potion" to 25.

-I plan on using a Use Condition script to require that the "Drank Potion" variable be at 0, in order to use the potion item.

-I figure now all I have to do is have each step give minus 1 to the "Drank Potion" variable, so once it hits 0, voila.  This is where I'm stuck.  I know there are ways to track player steps since game start (maybe I'd link this to another variable and then set it to 0 every time the player drinks a potion or joins a new map?) and X/Y coordinates change, but I can't wrap my head around how to accomplish this step.

Any help appreciated!  Thanks.
I would probably start with this:

Code:
class Game_Player < Game_Character	alias :original_move_straight :move_straight	alias :original_move_diagonal :move_diagonal	def move_straight(*args)		original_move_straight(*args)		update_potion_var	end	def move_diagonal(*args)		original_move_diagonal(*args)		update_potion_var	end	def update_potion_var		return unless @move_succeed		$game_variables[1] -= 1		# or whatever you want	endend
That worked! You, sir, are a gentleman and a scholar.  Thanks so much.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-eventing-a-cooldown-for-potions-based-on-steps-taken.40393/