	LET ENTITY_TYPE = ENT_TYPE_DESTROYED_IN_LEVEL_TRANSITION + ENT_TYPE_DESTROYED_IN_LEVEL_RESET
	LET ENTITY_TYPE = ENTITY_TYPE + ENT_TYPE_DISPOSABLE

	let Bitshift = 7
	SET_PRIVATE_CO_ORDS

	let sprite = particle_effects[arb]
	let base_frame = 10
	let current_frame = base_frame
	let draw_mode = DRAW_MODE_SPRITE
	let opengl_booleans = OPENGL_BOOLEAN_BLEND_ADD
	let opengl_booleans = opengl_booleans + OPENGL_BOOLEAN_SCALE
	let opengl_booleans = opengl_booleans + OPENGL_BOOLEAN_VERTEX_COLOUR_ALPHA

	let lifetime = rand (200,255)

	let draw_order = WIZBALL_LIFE_INDICATOR_TWINKLE_DRAW_ORDER

	let y_acc = 2
	
start

	let opengl_vertex_alpha = parent.opengl_vertex_alpha

	let x_vel = x_vel % 9900
	let y_vel = y_vel % 9900

	let v0 = lifetime - 100
	if v0 < 10 then
		let v0 = 10 // Any smaller than this and we could easily frig the drawing up.
	end_if

	let opengl_scale_x = rand v0 lifetime

	let opengl_scale_x = opengl_scale_x * 50
	let opengl_scale_y = opengl_scale_x

	let lifetime = lifetime - 5

	if lifetime < 50 then
		kill_entity own_id
	end_if

	if parent.signal = true then
		kill_entity own_id
	end_if

end
