There's several ways to create a boss attack pattern.
One is to brute force it and simply create a series of events to take place one after another. EG: move 100 units forwards, play attack animation, move 10 unites back, heal, etc.
The other is to break each attack/movement/powerup into seperate event groups, then use a main event to trigger enable each group as needed.
eg: you have a group that has events that move your boss forwards then attack.
call this group "basic attack" and disable it.
Then in your main event, once the player gets to the boss area, enable the "basic attack" group. This also allows you to randomize the smaller sets of attack patterns as well (eg: if he's less than 20% health).