Need help with Triple Shot [SOLVED]

tamation

Member
Hi, I'm programming a top down shooter right now where the bullets fire towards the direction of the mouse.
I'm programming a Triple Shot upgrade right now, so it fires one bullet straight towards the mouse, and two more 45 degrees above and below the middle shot (or 45 degrees right and left if the bullet is being fired upwards).

This is the code my usual bullet uses in the create event:
direction = point_direction(x, y, mouse_x, mouse_y);
speed = 10;
image_angle = direction;

How would I have to adjust the code to make two more of these objects, and always have them fire 45 degrees relative to the first bullet being fired at the mouse?
 
Top