From Glitch City Laboratories
The term "Corrupted event!" refers to one of several error traps used to prevent any glitchy effects of an error or to prevent the game from freezing.
This phrase has been found within the coding of Pokémon Gold, Pokémon Silver and Pokémon Crystal. However, what causes this error message to appear is currently unknown. Its name suggests itself as a placeholder for when the player speaks to an object or NPC whom has no defined text and starts an event with invalid data, however, this is unconfirmed.