There's nothing in there that creates a new Sprite4 line. You're just moving one around.
Get rid of the function call in event 1
Add a System - Create Object Sprite4 in event 2
Copy all the actions from event 5 to event 2 after the Create Object action
Move the System - Create Object Sprite in event 2 so that it is the final action in that event.
You can get rid of the function I think. You can also combine events 1 and 2, no need for a subevent here.