Scripts to a flash, that covers the whole window with a color. Can be reactivated infinitely.
Initializes the flash event. Place it in the create event.
flash_init(id,color,start alpha,duration)
Activates or reactivates the flash event. Sets the current alpha value to its start alpha value. Place it whereever you want the flash to be activated.
flash_activate(id)
Draws the flash event. Place it in the draw event.