y = global.waterlevel if (global.watertype == 0) y += oWater.yoffset