Hi! my little bro noticed a thing while messing around with the dialogue of Deltarune; in Kris' room there's a thing called "obj_readable_room1_Slash_other_10_gml_11_0": that says "*Suddenly, your body seizes up^1.&*What are you looking at?/%" we've been trying to find what is the object that gives that dialogue but apparently is not there? maybe it was unused :D
Actually, this line exists in a script for obj_readable_room1. This script provides the dialogue for 62 different rooms.
As you can see, this message is initially assigned to global.msg[0]. However, global.msg[0] is assigned another message depending on the object you interact with.
This line is a default ‘failsafe’ message attached to all objects you can examine. If the game is working properly, it is a message you will never see, since the game will override this default text with the correct flavor text. The only way you could see it is if Toby Fox accidentally forgot to assign flavor text to something.
It’s good practice to assign a default message to your string object. In Undertale, there is a default message in Sans’ judgment that can actually be seen under certain conditions.
» read more: sans’ judgments at lv 1
However, in this case, “your body seizes up” message will likely not be seen unless an error somehow occurs and global.msg[0] is not overwritten in an object interaction. (Unlikely, but not impossible.)
The message makes sense in the context of DELTARUNE’s plot: Kris cannot sense anything around them if the appropriate dialogue box doesn’t appear. It is an in-game explanation to an error occurring in the game.