sPipeExt 0 -1 -3 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 ///Initialize image_speed = 0; angle = 0; 1 603 7 0 0 -1 2 self 0 0 1 ///Toggle active if(Mobile) { with(Controller) { virtual_key_delete(virt_key_down); virt_key_down = virtual_key_add(other.x - view_xview[0], other.y - view_yview[0], other.sprite_width, other.sprite_height, vk_down); } } if(input_check_pressed(I_ACTION)) { main.active = -main.active; audio_play_sound(aSqueak, 0, false); } 1 603 7 0 0 -1 2 self 0 0 1 ///Choose colour and draw self image_blend = main.image_blend; draw_sprite_ext(sprite_index, main.frame, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha); 1 603 7 0 0 -1 2 self 0 0 1 ///Draw the controls when touching the player if(place_meeting(x, y, Player)) { angle = (angle + 8) % 360; draw_set_color(image_blend); draw_set_font(fControls); draw_set_halign(fa_center); draw_text(x, y - 32 + floor(sin(degtorad(angle)) * 5), DOWN_CHAR); draw_set_halign(fa_left); } 1 603 7 0 0 -1 2 self 0 0 1 ///Draw wire to main draw_set_color(image_blend); draw_line(x - 1, y + 10, main.x - 1, y + 10); draw_line(main.x - 1, y + 10, main.x - 1, main.y + 10); 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 0 16,0 16,16