home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ring.yamanashi.ac.jp/pub/pc/freem/action/
/
action.zip
/
baku100.zip
/
baku100
/
Usr
/
ef02.tonyu
< prev
next >
Wrap
Text File
|
2011-10-10
|
2KB
|
112 lines
extends SpriteChar;
//ô▐ùÄöwîi
ca=color(rnd(250),rnd(255),rnd(255));
cb=color(rnd(250),rnd(255),rnd(255));
cc=color(rnd(250),rnd(255),rnd(255));
ya=400-rnd(400);
yb=400-rnd(400);
yc=400-rnd(400);
ra=rnd();
rb=rnd();
rc=rnd();
xa=rnd(100)-50;
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) {
if(rn2==0 && amod(tt,t1)==1){$mplayer.play(se,0,80);}
tt++;
ya+=ra*sin(2*tt);
yb+=rb*sin(tt+45);
yc+=rc*cos(-tt);
xa+=ra*cos(tt);
drawline(x,400,x+xa,ya,ca,50);
drawline(x,400,x-xa,yb,cb,50);
drawline(x,400,x+2*xa,yc,cc,50);
drawSprite(x+xa,ya,pp,1,40);
drawSprite(x-xa,yb,pp,1,40);
drawSprite(x+2*xa,yc,pp,1,40);
if($hp<=0){pp=$pat_asd+11;
if(x>$zk01.x){x-=1;}
if(x<$zk01.x){x+=1;}
if(ya<250+100*ra){ya++;}
if(yb<250+100*rb){yb++;}
if(yc<250+100*rc){yc++;}
if(mtk>0){x+=vx;mtk-=1;}
}else{pp=$pat_asd+10;}
if($zk01.x-400>x){$hk--;die();}
update();
}