home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
600 Games
/
600games.iso
/
Acao
/
DemonicDefence3.swf
/
scripts
/
DefineSprite_425
/
frame_15
/
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
|
311 b
|
14 lines
tempo = random(_root.enemyOut) + 1;
choose = random(8) + 1;
switch(choose)
{
case 1:
_root["enemy" + tempo].life -= random(10) + 3;
break;
case 4:
_root["enemy" + tempo].life -= random(9) + 12;
break;
case 6:
_root["enemy" + tempo].life -= random(30) + 10;
}