This block will use Scratch's "clone" feature to write out text in a similar fashion to the dialogue of UNDERTALE. In this example project, press Z to print out some sample text. The dialogue will print out character-by-character, with a sound byte accompanying each character. The entirety of the code fits neatly into a single custom block located in the "character" sprite, so if you're curious feel free to customise the displayed text. You can also move a SOUL around the screen, but it doesn't do anything to the text and I only stuck it in there when I was messing around right before uploading this to the website. Clearly very rough around the edges - comparisons to the actual game are not welcome - and I will probably never use this exactly as it is presented here.
Characters, dialogue, art and sounds ©2015 Toby Fox. Lovely game you have there, Mr. Fox. Took me about thirty minutes to code this, not counting the hours it took to retrieve all the sprites and sound. My brother @Biblelover827 's recent UNDERTALE project inspired me to attempt to recreate the game's battle system from scratch in Scratch (no pun intended), and this was one of the first obstacles I found. However, again, this system will likely see some major modifications between now (as I write) and an actual implementation by yours truly. People have probably already done this on Scratch, but I don't really care. I don't plan on borrowing from anyone else's work to help me with my project (besides that of Mr. Fox, of course). Feel free to use this framework as you please - no credit required - but it would be nice for you to comment a link to your project here if you do use it.