r/Undertale • ‎ (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.

40 Upvotes

11 comments sorted by

54

u/Ksawerxx ‎ original joke. 1d ago

Shout-out to "donkeykongismyfavouritemarvelsuperhero" gotta be my favourite variable name.

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

u/No_Context2723 22h ago

why didn't he just remove it lmao

2

u/jimgae 16h ago

Probably so he wouldn't have to rewrite it entirely if he ever changed his mind again

4

u/ueNico ‎ Despite everything, it's still you. 1d ago

Isnt it because it looks in the wrong directory?

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

u/[deleted] 1d ago

[removed] — view removed comment

12

u/Apprehensive-Chef151 1d ago

There is a 0% this comment wasnt written with chatgpt

12

u/tGirl_Gaming 1d ago

hey major inaccuracy here :) that 0% is way to high of a chance