sMorphBallSlot 0 -1 10 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 targetx = x; active = 1; image_speed = 0; activated = 0; 1 603 7 0 0 -1 2 self 0 0 1 event_user(0); 1 603 7 0 0 -1 2 self 0 0 1 active = 1; 1 603 7 0 0 -1 2 self 0 0 1 if (activated) { if (image_index < 7.2) image_index += 0.2; } else if (image_index > 0.1) image_index -= 0.1; 1 603 7 0 0 -1 2 self 0 0 1 if (active && other.state == 23 && other.xVel == 0 && activated == 0) { with (other) { state = 60; statetime = 0; } alarm[1] = 120; activated = 1; sfx_play(sndMorphBallSlot); sfx_play(sndAutoadActivate); } if (other.state == 60) { if (other.x > targetx) with (other) x -= 1; if (other.x < targetx) with (other) x += 1; } 1 603 7 0 0 -1 2 self 0 0 1 aut = instance_create(592, 80, oAutoadPlayer); cam = instance_create(x, y - 12, oAutoadCamera); view_object[0] = cam; active = 0; 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1