if (!downward || y < (owner.y + 16 + height)) { var yy = y; y += (-height + cos(cosiner / 5)); draw_self(); y = yy; }