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.
9 lines
324 B
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)
|
|
}
|