(function () {\n version.extensions['replaceMacro'] = {\n major: 1,\n minor: 3,\n revision: 0\n };\n macros['continue'] = macros['insert'] = macros['replace'] = {\n handler: function (g, e, f, b) {\n var h = insertElement(null, "span", null, "replacement");\n var k = b.source.indexOf('>>', b.matchStart) + 2;\n var a = b.source.slice(k);\n var d = -1;\n var c = '';\n var l = 0;\n var el = e.length\n if (e=="continue") {\n d=k+a.length;\n c=a;\n } else for(var i = 0; i < a.length; i++) {\n if(a.substr(i, 7 + el) == '<<end' + e + '>>') {\n if(l == 0) {\n d = k + i + 7 + el;\n break;\n }\n else {\n l--;\n c += a.charAt(i);\n }\n }\n else {\n if(a.substr(i, 2 + el) == '<<' + e) {\n l++;\n }\n c += a.charAt(i);\n }\n }\n if(d != -1) {\n var m = Wikifier.createInternalLink(g, null);\n m.className = "internalLink replaceLink";\n insertText(m, f[0]);\n insertText(h, c);\n g.appendChild(h);\n h.style.display = "none";\n m.onclick = function () {\n var n = this.nextSibling;\n if(n) {\n var t = n.firstChild ? n.firstChild.nodeValue : "";\n removeChildren(n);\n new Wikifier(n, t);\n n.style.display = "inline";\n n.classList.add("replacement-in");\n setTimeout(function () {\n n.classList.remove("replacement-in");\n }, 1);\n scrollWindowTo(n);\n }\n if(e == "insert") {\n var p = document.createElement("span");\n p.innerHTML = this.innerHTML;\n p.className = this.className + " disabled";\n this.parentNode.insertBefore(p, this.nextSibling);\n }\n this.parentNode.removeChild(this);\n }\n b.nextMatch = d;\n }\n else {\n throwError(g, "can't find matching end" + e);\n return;\n }\n }\n }\n macros['endinsert'] = macros['endreplace'] = {\n handler: function () {}\n }\n scrollWindowTo=function(E){var D=window.scrollY?window.scrollY:document.body.scrollTop;\n var G=J(E);if(!G){return;}var C=Math.abs(D-G);var B=0;var I=(D>G)?-1:1;var F=window.setInterval(H,25);\n function H(){B+=0.1;window.scrollTo(0,D+I*(C*Math.easeInOut(B)));if(B>=1){window.clearInterval(F);\n }}function J(N){var O=A(N);var P=O+N.offsetHeight;var K=window.scrollY?window.scrollY:document.body.scrollTop;\n var L=window.innerHeight?window.innerHeight:document.body.clientHeight;var M=K+L;\n if(O>=K){if(P>M){if(N.offsetHeight<L){return(O-(L-N.offsetHeight)+20);}else{return O;\n }}}}function A(K){var L=0;while(K.offsetParent){L+=K.offsetTop;K=K.offsetParent;}return L;\n }};\n}());\n
RPG: The RPG
.replacement-in {\n opacity: 0;\n}\n.replacement {\n transition: 1s;\n -webkit-transition: 1s;\n}
<<insert "grind ">><<insert "grind ">><<insert "grind ">><<insert "grind ">><<insert "grind ">><<insert "grind ">><<insert "grind ">><<insert "grind ">><<insert "grind ">><<insert "grind ">><<insert "grind ">><<insert "grind ">><<insert "grind ">>[[level up|RPG]]<<endinsert>><<endinsert>><<endinsert>><<endinsert>><<endinsert>><<endinsert>><<endinsert>><<endinsert>><<endinsert>><<endinsert>><<endinsert>><<endinsert>><<endinsert>>\n\n<<set $level = $level + 1>>Level: <<print $level>>
You are sitting in front of a television, one of those old CRTs that makes everything look a bit off and some of the colors are wrong. It's past your bedtime, this you know, but the exact time eludes you. Your eyes are fuzzy feeling and you're finding it increasingly difficult to blink. Almost as difficult as keeping your eyes open. You're starting to think the TV is fine and maybe your eyes are just interpreting things wrong.\n\nYou are playing an [[RPG]]\n\n<<set $level = 0>>