Skip to content

Instantly share code, notes, and snippets.

@eropple
Created February 20, 2014 18:13
Show Gist options
  • Save eropple/9119869 to your computer and use it in GitHub Desktop.
Save eropple/9119869 to your computer and use it in GitHub Desktop.
//% root!TestDialogue.js
// ^ says "run the original TestDialogue.js first"
(function() { // boilerplate, it hides some stuff so you don't pollute the script for other mods
var oldStep2 = step2;
step2 = function() {
var orig = oldStep2();
oldStep2.choice[3] = {
"next": "newChoice",
"text": "mod.dialogue.TestDialogue.anotherChoice"
};
};
})(); // end boilerplate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment