FWD>N:jActions for Scene 1: Frame 5 (Labeled advance) of Layer Name scriptsif (blueposition+redposition == 8) { blueteam[blueposition]._visible = true; redteam[redposition]._visible = true; gotoAndPlay("play"); } else { // initial entrance var blueposition = blueposition+1; var redposition = redposition+1; for (i=0; i S x  XActions for blue: Frame 17 of Layer Name Layer 3this._parent.gotoAndPlay("advance");XActions for Scene 1: Frame 15 (Labeled play) of Layer Name scriptsfor (i = 0; i<10; i++) { blueteam[i].gotoAndPlay("wait"); redteam[i].gotoAndPlay("wait"); } var blueshoot = airps(); var redshoot = airps(); blueteam[blueposition].gotoAndPlay("saishogu"); redteam[redposition].gotoAndPlay("saishogu"); C[sActions for Scene 1: Frame 35 (Labeled judge) of Layer Name scriptsif (blueshoot == redshoot) { // tie var score = "tie "+bluescore+"/"+redscore; blueteam[blueposition].gotoAndPlay("aiko"); redteam[redposition].gotoAndPlay("aiko"); } else if ((blueshoot == "rock" && redshoot == "scissors") || (blueshoot == "paper" && redshoot == "rock") || (blueshoot == "scissors" && redshoot == "paper")) { // blue wins var bluescore = bluescore+1; var score = "blue! "+bluescore+"/"+redscore; blueteam[blueposition].gotoAndPlay("aiko"); redteam[redposition].gotoAndPlay("aiko"); } else { // red wins var redscore = redscore+1; var score = "red! "+bluescore+"/"+redscore; blueteam[blueposition].gotoAndPlay("aiko"); redteam[redposition].gotoAndPlay("aiko"); } var blueshoot = airps(); var redshoot = airps(); 3 F e    ! 5! T! u!!!!!")"PActions for red: Frame 27 of Layer Name Layer 3gotoAndPlay("wait"); P ?Actions for Scene 1: Frame 43 of Layer Name scriptsstop(); ?d"HrActions for blue: Frame 94 of Layer Name Layer 3this._parent.gotoAndPlay("judge");Hrs/gActions for blue: Frame 80 of Layer Name Layer 3this._parent.gotoAndPlay("judge");/g&.Actions for blue: Frame 61 of Layer Name Layer 3gotoAndPlay("saishogu"); &.?fActions for blue: Frame 88 of Layer Name Layer 3stop(); fDTFActions for Scene 1: Frame 1 of Layer Name scriptsstop(); // quality set to pixellate _quality = "LOW"; // custom flash menu var newMenu:ContextMenu = new ContextMenu(); newMenu.customItems.push(new ContextMenuItem("Team RPS Homepage", function () { getURL("http://forresto.sixbit.org/rps/", "_blank"); })); newMenu.customItems.push(new ContextMenuItem("Licensed under the GNU GPL", function () { getURL("http://creativecommons.org/licenses/GPL/2.0/", "_blank"); }, true)); newMenu.customItems.push(new ContextMenuItem("Team RPS source download", function () { getURL("http://forresto.sixbit.org/rps/source.html", "_blank"); })); newMenu.hideBuiltInItems(); this.menu = newMenu; // defaults var score:String = "GET READY FOR RPS ACTION..."; // teams var blueteam:Array = [this.b0, this.b1, this.b2, this.b3, this.b4, this.b5, this.b6, this.b7, this.b8, this.b9]; var redteam:Array = [this.r0, this.r1, this.r2, this.r3, this.r4, this.r5, this.r6, this.r7, this.r8, this.r9]; var blueposition:Number = 1; var redposition:Number = 1; var bluescore:Number = 0; var redscore:Number = 0; for (i=1; i<10; i++) { blueteam[i]._visible = false; redteam[i]._visible = false; } // artificial intelligence rps var blueshoot:String = "---"; var redshoot:String = "---"; _global.airps = function() { var rn:Number = Math.random(); if (rn>=0.667) { return "rock"; } else if (rn<0.333) { return "paper"; } else { return "scissors"; } }; TFTFTFTF TFTF mTF zTF TF TFJTFcTFuTFTFTFTFTFTFTFTFTF TF3TF >TF!ITF"\TF#zTF$TF%TF&TF(${Actions for blue: Frame 27 of Layer Name Layer 3gotoAndPlay("wait"); ${HIJActions for blue: Frame 67 of Layer Name Layer 3this._parent.gotoAndPlay("judge");IJvqBActions for Scene 1: Frame 23 of Layer Name scriptsstop(); qB[Actions for Scene 1: Frame 33 of Layer Name scriptsstop(); [MActions for blue: Frame 74 of Layer Name Layer 3stop(); MYActions for Scene 1: Frame 13 of Layer Name scriptsstop(); YX5Actions for Scene 1: Frame 25 (Labeled shoot) of Layer Name scriptsif (blueshoot == "rock") { blueteam[blueposition].gotoAndPlay("rock"); } else if (blueshoot == "paper") { blueteam[blueposition].gotoAndPlay("paper"); } else { blueteam[blueposition].gotoAndPlay("scissors"); } if (redshoot == "rock") { redteam[redposition].gotoAndPlay("rock"); } else if (redshoot == "paper") { redteam[redposition].gotoAndPlay("paper"); } else { redteam[redposition].gotoAndPlay("scissors"); } 5E5W5}555555 5F+Actions for blue: Frame 57 (Labeled poi) of Layer Name Layer 3this._parent.gotoAndPlay("shoot");+ Actions for blue: Frame 102 of Layer Name Layer 3stop();