home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Acao
/
remote_control.swf
/
scripts
/
frame_30
/
DoAction.as
Wrap
Text File
|
2008-08-08
|
2KB
|
66 lines
var level = 1;
var gameInPlay = false;
var whoHasRemote = "opponent";
var remoteSpeedMod = -1;
var minutesLeft = 29;
var secondsLeft = 59;
var timerUnit = 30;
var playerStartX = 125;
var playerStartY = 250;
var playerMoveSpeed = 10;
var playerFreeze = 0;
var playerFreezeCount = 100;
var opponentMinutes = 0;
var opponentSeconds = 0;
var opponentStartX = 425;
var opponentStartY = 250;
var opponentMoveSpeed = 10;
var opponentFreeze = 0;
var opponentFreezeCount = 100;
var topEdge = 0;
var leftEdge = 0;
var rightEdge = 550;
var bottomEdge = 400;
attachMovie("interface","Interface",1000);
if(playerSelected == "brother")
{
Interface.PlayerTimer.gotoAndStop(2);
Interface.OpponentTimer.gotoAndStop(3);
attachMovie("brother","Player",110);
attachMovie("sister","Opponent",100);
}
else if(playerSelected == "sister")
{
Interface.PlayerTimer.gotoAndStop(3);
Interface.OpponentTimer.gotoAndStop(2);
attachMovie("sister","Player",110);
attachMovie("brother","Opponent",100);
}
EndTable1.swapDepths(350);
EndTable2.swapDepths(355);
CoffeeTable.swapDepths(550);
Ottoman1.swapDepths(650);
Ottoman2.swapDepths(655);
Sofa.swapDepths(900);
var altShows1 = false;
var altShows2 = false;
var lateNite = false;
if(activeCode != null)
{
if(activeCode == "AND2MORE")
{
altShows2 = true;
}
else if(activeCode == "LATENITE")
{
lateNite = true;
attachMovie("latenite","LateNite",999);
}
else if(activeCode == "NEWSHOWS")
{
altShows1 = true;
}
}
gotoAndStop("Play");
play();