function EnemyDialogueStarting() -- Called before enemy dialogue begins -- Add special dialogue based on HP or previous actions if GetGlobal("boss_phase") == 3 then currentdialogue = "You've pushed me too far...", "Now feel my REAL power!" end end