Just spam the flag, the timing can be a bit iffy.
I drew all of this on my computer, so now my hands HURT. :,)