home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ring.yamanashi.ac.jp/pub/pc/freem/action/
/
action.zip
/
baku100.zip
/
baku100
/
Usr
/
ef04.tonyu
< prev
next >
Wrap
Text File
|
2011-10-10
|
2KB
|
89 lines
extends SpriteChar;
//Ænìûöwîi
ra=5+rnd(5);
rb=rnd(300);
ca=color(rnd(255),rnd(255),rnd(255));
m=1;
zorder=ra;
rn1=rnd(28);
p1=0;
if(rn1==p1)se=$se_animal02;
p1++;
if(rn1==p1)se=$se_alarm00;
p1++;
if(rn1==p1)se=$se_bell05;
p1++;
if(rn1==p1)se=$se_bell15a;
p1++;
if(rn1==p1)se=$se_clock01;
p1++;
if(rn1==p1)se=$se_crash27;
p1++;
if(rn1==p1)se=$se_drag00;
p1++;
if(rn1==p1)se=$se_fall01;
p1++;
if(rn1==p1)se=$se_fm003;
p1++;
if(rn1==p1)se=$se_freeze01;
p1++;
if(rn1==p1)se=$se_gas02;
p1++;
if(rn1==p1)se=$se_insect00;
p1++;
if(rn1==p1)se=$se_insect05;
p1++;
if(rn1==p1)se=$se_kachi00;
p1++;
if(rn1==p1)se=$se_mizu04;
p1++;
if(rn1==p1)se=$se_mecha04;
p1++;
if(rn1==p1)se=$se_mecha15;
p1++;
if(rn1==p1)se=$se_mizu04;
p1++;
if(rn1==p1)se=$se_noise00;
p1++;
if(rn1==p1)se=$se_open51;
p1++;
if(rn1==p1)se=$se_puu55;
p1++;
if(rn1==p1)se=$se_step00;
p1++;
if(rn1==p1)se=$se_type01;
p1++;
if(rn1==p1)se=$se_valve00;
p1++;
if(rn1==p1)se=$se_voice003;
p1++;
if(rn1==p1)se=$se_voice011;
p1++;
if(rn1==p1)se=$se_voice010;
p1++;
if(rn1==p1)se=$se_voice023_c;
p1++;
if(rn1==p1)se=$se_voice031;
p1++;
if(rn1==p1)se=$se_water00;
p1++;
if(rn1==p1)se=$se_weapon04;
rn2=rnd(10);
t1=400;
while(1) {
tt++;
if(rn2==0 && amod(tt,t1)==1){$mplayer.play(se,0,80);}
rc=50*sin(tt)+rb;
da=angle($zk01.x-x,$zk01.y-rc);
drawSprite(x+ra/2+4*cos(da),rc+4*sin(da),$pat_asd+18,0,40);
drawdxSprite(x+ra/2,rc,$pat_asd+19,0,50,0,255,1);
fillRect(x,400,x+ra,rc,ca,90);
if($hp<=0){tt+=5;}
if($zk01.x-400>x){$hk--;die();}
update();
}