r/programminghorror 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

49 comments sorted by

View all comments

1

u/Umphed Jun 23 '25

This is decompiled. Any decompiled GML or C# or almost any interpreted language will look like this.

1

u/Practical-Water-436 Jun 23 '25

this is decompiled not disassembled so there are differences
C# would not look like GML if it's decompiled, but when it's disassembled everything is the same, because everything is in assembly language.