home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ring.yamanashi.ac.jp/pub/pc/freem/action/
/
action.zip
/
baku100.zip
/
baku100
/
Usr
/
ef06.tonyu
< prev
next >
Wrap
Text File
|
2011-10-10
|
2KB
|
125 lines
extends SpriteChar;
//ë⌐É≥öwîi
pa=2*rnd()-1;
pb=2*rnd()-1;
pc=2*rnd()-1;
da=0;
db=0;
dc=0;
la=52;
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);}
da+=pa;
db+=pb;
dc+=pc;
if($hp<=0){
tt++;
da+=4*sin(tt);
db+=4*sin(tt);
dc+=4*sin(tt);
}
x1=x+la*cos(da);
y1=y+la*sin(da);
drawdxSprite(x1,y1,$pat_zxc+13,0,20,da,255,1);
x1=x1+la*cos(da);
y1=y1+la*sin(da);
x1=x1+la*cos(db);
y1=y1+la*sin(db);
drawdxSprite(x1,y1,$pat_zxc+13,0,20,db,255,1);
x1=x1+la*cos(db);
y1=y1+la*sin(db);
x1=x1+la*cos(dc);
y1=y1+la*sin(dc);
drawdxSprite(x1,y1,$pat_zxc+13,0,20,dc,255,1);
x1=x1+la*cos(dc);
y1=y1+la*sin(dc);
drawSprite(x1,y1,$pat_asd+18,0,18);
drawdxSprite(x1,y1,$pat_asd+19,0,19,0,255,1);
if($zk01.x-600>x){$hk--;die();}
update();
}