From a storytelling perspective, there isn't that much difficulty in running down the general plot - even the alternate ending should be doable with simple events.
Here's a few challenges I see if you're trying to remake Undertale:
Enemy attacks
Because there's very little to do for the player during their turns, the main skill element in the battles is the bullet dodging sequence. Unless you're willing to overwrite a ton of default scripts for a dodging minigame, you might have to be very creative in working with what RPG Maker offers by default.
Acting
The ACT command is actually quite tricky, as you select an enemy first, then you choose an action you want to perform. The easiest way would be a choice box triggered by a common event after using act, but that would leave you unable to cancel your choice. Feel free to do something different.
Sparing
Actually not that hard - a recent update in Yanfly's State Categories allows you to make a "spared" state that works as an alternate death state. You can make "Spare" inflict this once certain battle conditions are triggered (do this with switches, variables, states or whatever else works). What could be problematic is that spared enemies should not give any EXP.
Save-sensitive events
Certain events in the game are based around reloading the game for a different outcome. You'll need a plugin that allows you to retain information outside of the player's save file.
Spoiler
Final Bosses
Most of the fights are relatively simple outside of the bullet pattern thing code-wise, but the final bosses are something else:
-Photoshop Flowey
First of all, before you can even encounter him, the game crashes. Restarting brings you through a messed up opening and a title screen containing only Flowey's save file (with you being unable to select the reset option). After walking a bit, the cutscene starts off showing your save file being shattered by him. After a bit of dialogue, you're thrown into a crazy battle with save states, clicking on your menu buttons popping up in certain places and if you lose, there's an alternate Game Over that crashes the game. The cutscenes aren't all that hard to do, however.
-Asriel
Most of the fight is pretty straightforward, as there aren't any means of sequence breaking it. Eventing the soul saving events could be tricky, though, plus there's the event where you survive a hit with fractional HP.
-Sans
Not that much that hasn't been covered elsewhere, but a few tricky things remain. First, the one time he's actually sparable, he's going to instantly kill you if you choose to spare him. Then there's his ability to inflict damage to you on the menu. Lastly, providing an out to his special attack could be challenging (which is him doing nothing, including ending his turn)