event_inherited(); scr_depth(self, -1.5 * y); con = 0; overlap_timer = 0; overlap_timer2 = 0; climbable = instance_create(x, y, obj_climb_climbable); climbable.on_climbing = function() { if (con == 0) con = 1; overlap_timer = 10; overlap_timer2++; }; image_xscale = choose(-2, 2); x += 20; y += 20; jump_off = function() { depth = 50000; with (instance_create(x - 40, y - 40, obj_animation)) { sprite_index = spr_poof; image_xscale = 1; image_yscale = 1; image_speed = 0.5; depth = other.depth - 1; } hspeed = 5 * image_xscale; gravity = 1; vspeed = -3; snd_play(snd_wing); };