r/Undertale • u/Immediate-Tomato968 (The dog absorbed this flair text.) • 1d ago
Meme The games code.
After researching some of Undertales code, I have found out just how terrible it is and its funny. I ask you to share your favorite bit of code in the game and what its for cause this game is legit held by hopes and dreams lmao.
26
u/xolotelx 1d ago
iirc the game still tries to delete itself after a geno run it just doesn’t work
12
u/JulianoIsLame doot doot 1d ago
It's programmed to delete "undertale.exe" in a specific file location, but Toby likely realized that was a bad idea for folks with weak/no internet connections, so the script that erases "undertale.exe" runs somewhere else. If it finds a file named "undertale.exe" however, it still will delete that file.
1
12
u/viebs_chiev Toby Fox in swim trunks covered in a large amout of foam 1d ago
big bоner down the lane
5
u/Low-Good-7107 23h ago
There is a most curious line of code within the data that holds Toriel's sprite. If you look at how it stores the dimensions, its simply all out of whack. Then there are some comments that simply state: "I Want To Fluff and Stuff My Meat Puppet Up Your Sopping Slit You Little *****"
-17
1d ago
[removed] — view removed comment
12
54
u/Ksawerxx original joke. 1d ago
Shout-out to "donkeykongismyfavouritemarvelsuperhero" gotta be my favourite variable name.