
Scripts that draw a flash effect that cover 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:
flash_draw(id)