So I kind of did it a different way.
I set the maximum to 50, then when you select "resurface", there's two possible options to choose, but only one of the options is visible to the reader:
1) Resets the value to 10 if and only if the reader's oxygen level is < 10.
2) Does nothing if and only if the reader's oxygen level is >= 10.