home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
600 Games
/
600games.iso
/
Acao
/
DomonicDefence4.swf
/
scripts
/
DefineSprite_652
/
frame_21
/
DoAction.as
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2005-09-27
|
246 b
|
12 lines
tempo = random(_root.enemyOut) + 1;
choose = random(28) + 1;
switch(choose)
{
case 1:
_root["enemy" + tempo].life -= random(4) + 2;
break;
case 4:
_root["enemy" + tempo].life -= random(3) + 8;
}
gotoAndPlay(1);