<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">//add this code to sdk.js and make it import for event
runOnStartup(async runtime =&gt;
{
// Code to run on the loading screen.
// Note layouts, objects etc. are not yet available.

runtime.addEventListener("beforeprojectstart", () =&gt; OnBeforeProjectStart(runtime));
});
async function OnBeforeProjectStart(runtime)
{
// Code to run just before 'On start of layout' on
// the first layout. Loading has finished and initial
// instances are created and available to use here.

runtime.addEventListener("tick", () =&gt; Tick(runtime));

// Scorenga script tag
const Adsence_sdk = document.createElement('script');
Adsence_sdk.innerHTML = `var s = document.createElement("script");
s.setAttribute("async", "");
s.setAttribute("data-ad-client", "ca-pub-2622226100196993");
s.setAttribute("data-ad-frequency-hint", "30s");
s.setAttribute("data-ad-channel", "3900405302");
s.setAttribute("data-adbreak-test", "on");
s.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";
document.head.appendChild(s);
//}
window.adsbygoogle = window.adsbygoogle || [];
const adBreak = adConfig = function (o) {
adsbygoogle.push(o);
}
adConfig({
preloadAdBreaks: 'on',
sound: 'on', // This game has sound
onReady: () =&gt; {
},
});
`;
document.getElementsByTagName('head')[0].appendChild(Adsence_sdk);
}
function Tick(runtime)
{
// Code to run every tick
}


const scriptsInEvents = {



};

self.C3.ScriptsInEvents = scriptsInEvents;

</pre></body></html>