I questioned Marty in the comments and he made it clear the coding part wasn't the issue. It was the writing part. He referenced writer's block and that cbob was afraid of not meeting the expectations the game has presented so far.
Also.
To a certain extent that is fair. But if it's absolute garbage and it's your fault because you wrote through it, it will only make the writer feel worse.
writer's block is a pitfall, the best way to deal with it is to take a step back, work on something else, read, play or watch movies, and try to think how you could implement those things on your story. if you keep trying to bash you head you will end up with a broken skull.
however, that doesnt mean you should just waste months doing that. like the guy said, people depend on your work to do theirs. if you let the block dictate your work, you will never finish because you are trapped.
in some cases, you need to just write whatever no matter how garbage, and move on to something else, then, after you got the "ending" go back, and rework that portion, now knowing what you want to achieve will help you more than you think.
it all depends on what is blocking you, writter's block is can be anything, from i have no idea what the characters should say, all the way to a literal road block, that you have no idea how to fix.