Please refrain from making this kind of program. It's really just server fodder (since you create a key just to print keys). There are plenty of ways to distribute keys and Miiverse is already sufficient for this purpose.
Well, HB can be used for more than piracy, but even then its primary use is just that. I definitely discourage HB. It's easier to play by the rules than risk bans/avoid updates/avoid online and exploits can cause games to be taken down from the eShop until patched, which causes loss of sales for devs as well as user base unhappiness. The people that discover exploits can be really inconsiderate...
Recreating the demo is also prohibited. Just because it is shorter doesn't make it any less copyrighted than the full game.
Using copyrighted characters for a fan game could also be problematic, but maybe doable.
It usually means you are calling a function with erroneous arguments. Make sure you are supplying the correct amount of arguments, as well as the correct type.
The thing is, Nintendo decides to remove the game from the eShop, not SmileBoom. This is why this is potentially dangerous for SmileBoom, being a rather small business.
Change the color of the text by calling COLOR [Color Constant] before printing a text. The color constant must be one of the following...
#TBLACK, #TBLUE, #TCYAN, #TGRAY, #TGREEN, #TLIME, #TMAGENTA, #TMAROON, #TNAVY, #TOLIVE, #TPURPLE, #TRED, #TTEAL, #TWHITE, #TYELLOW.
If you want to see the complete list from within SmileBASIC you can check out the help entry for COLOR. (Press [ ? ])
This doesn't sit well with me... If this is true then maybe we could be saying goodbye to SmileBASIC for good. As far as I know, all titles pulled from the eShop haven't come back yet. If this affects SmileBoom it's possible there will be no more Petitcom BIG, no more Europe release, no future SmileBASIC titles. Ugh...
There's an e-manual for the game that teaches the very basics of this program. Aside from that most learning comes from experimenting with code on your own, reading other people's programs and understanding how they work, and asking the community right here.
If you're looking for a full fledged tutorial on coding, I hear KhanAcademy.org has a fairly good introduction to programming course.
Still, you must understand it is not something you can do just because you want to. If you want to play Undertale, it will have to be through legal methods, that is to say, buy it and play it on PC. That is the way Toby Fox intended, and it's the way you must accept.
In SmileBASIC? Nope. And it'll most likely never happen. People can barely do SNES SFX type 3D graphics, so PS1/N64 3D is out of the question. Maybe, just maybe, it will be possible when SmileBASIC releases for Wii U.
Look up OpenHexagon. It's a clone that's been up for quite some time now. Terry Cavanagh has expressed no issue with clones, and he was credited properly in it.
Also, all I'm is saying that you shouldn't be misinterpreting the law, because that can lead to more problems.
Remaking a copyrighted game to be a carbon copy without permission is against the law. It is something a bootlegger would do.