10seconds, patched for wasmga.me: the Kongregate API calls are removed (off Kongregate the API never loads, and the round froze at 0:01), and the score is reported with trace("wasmgame:score:") instead. Against the Main class as JPEXS FFDec 24.1.0 decompiles it from bin/10seconds.swf at https://github.com/ethankennerly/10seconds/tree/8426236752e2220079ad664f4440046caaab6450 Apply it to the decompiled scripts/com/finegamedesign/tenseconds/Main.as, then recompile that class: java -jar ffdec.jar -replace 10seconds.swf 10seconds-patched.swf com.finegamedesign.tenseconds.Main scripts/com/finegamedesign/tenseconds/Main.as --- a/scripts/com/finegamedesign/tenseconds/Main.as +++ b/scripts/com/finegamedesign/tenseconds/Main.as @@ -4,7 +4,6 @@ import flash.events.Event; import flash.text.TextField; import flash.utils.getTimer; - import org.flixel.plugin.photonstorm.API.FlxKongregate; public dynamic class Main extends MovieClip { @@ -159,7 +158,7 @@ private function wrong() : void { - FlxKongregate.api.stats.submit("Score",this.score); + trace("wasmgame:score:" + this.score); this.inTrial = false; mouseChildren = false; this.feedback.gotoAndPlay("wrong"); @@ -200,7 +199,7 @@ } else { - FlxKongregate.api.stats.submit("Score",this.score); + trace("wasmgame:score:" + this.score); this.restart(); } mouseChildren = true; @@ -215,11 +214,6 @@ { var _loc2_:TextField = null; var _loc3_:int = 0; - if(!FlxKongregate.hasLoaded && stage != null) - { - FlxKongregate.stage = stage; - FlxKongregate.init(FlxKongregate.connect); - } if(this.inTrial) { _loc2_ = getChildByName("time_txt") as TextField;