You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-Multitroid-Fair-Team-PVP/Export_Code/gml_Object_oSplash_Step_0.gml

9 lines
324 B

y = global.waterlevel
if (global.watertype == 0 && instance_exists(oWater))
y += oWater.yoffset
if (instance_exists(oCharacter) && bubbles)
{
if (oCharacter.y > (global.waterlevel + global.wateroffset))
instance_create((oCharacter.x + random_range(-6, 6)), (oCharacter.y + random_range(-20, 8)), oLBubble)
}