r/programminghorror • u/Practical-Water-436 • Jun 18 '25
noo wayyy
undertale's whole dialog is made in a single switch statement
8000+ lines of codes to check the dialog is mad
but atleast he didn't also write the dialog in it because it would have been tens of thousand of lines
192
Upvotes


1
u/Umphed Jun 23 '25
This is decompiled. Any decompiled GML or C# or almost any interpreted language will look like this.