shiny-cuty-excel-chiffon/data/e140_down.asd

123 lines
6.4 KiB
Common Lisp
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

*start
[del]
[eval exp="sprite.scriptQueue=[]"]
[if exp="sprite.lastSpriteId==stThrown2 || sprite.lastSpriteId==stThrown4"]
[image id=stThrown2 num=4]
[dispsize width=124 height=60 centerpos=62 baseline=2]
[eval exp="mp.t=3"]
[jump target=*eraseBM cond="f.inBattleMode"]
[jump target=*label2]
[else]
[image id=stDamage2 num=2]
[dispsize width=114 height=38]
[eval exp="mp.t=0"]
[jump target=*eraseBM cond="f.inBattleMode"]
[jump target=*label1]
[endif]
*label1
[ontrigger name=erase target=*erase]
[disp left=0 top=0 opacity=255]
[s]
*erase
[playse storage="se032"]
[disp left=0 top=0 opacity=235][call target=*flame]
[disp left=0 top=0 opacity=215][call target=*flame]
[disp left=0 top=0 opacity=195][call target=*flame]
[disp left=0 top=0 opacity=175][call target=*flame]
[disp left=0 top=0 opacity=155][call target=*flame]
[disp left=0 top=0 opacity=135][call target=*flame]
[disp left=0 top=0 opacity=115][wait frame=3]
[disp left=0 top=0 opacity= 75][wait frame=3]
[disp left=0 top=0 opacity= 35][wait frame=3]
[disp left=0 top=0 opacity= 0][wait frame=3]
[s]
*label2
[ontrigger name=erase target=*erase2]
[disp left=0 top=3 opacity=255]
[s]
*erase2
[playse storage="se032"]
[disp left=0 top=3 opacity=235][call target=*flame]
[disp left=0 top=3 opacity=215][call target=*flame]
[disp left=0 top=3 opacity=195][call target=*flame]
[disp left=0 top=3 opacity=175][call target=*flame]
[disp left=0 top=3 opacity=155][call target=*flame]
[disp left=0 top=3 opacity=135][call target=*flame]
[disp left=0 top=3 opacity=115][wait frame=3]
[disp left=0 top=3 opacity= 75][wait frame=3]
[disp left=0 top=3 opacity= 35][wait frame=3]
[disp left=0 top=3 opacity= 0][wait frame=3]
[s]
*flame
[call target=*flame2][wait frame=1]
[call target=*flame2][wait frame=1]
[call target=*flame2][wait frame=1]
[wait frame=1]
[return]
*flame2
[iscript]
{
for(var i=0;i<3;i++){
var x = intrandom(int(-(sprite.centerPos * 0.8)), int((sprite.layer.asdWidth - sprite.centerPos) * 0.8)) + sprite.rootX;
var y = intrandom(0, 20);
//dm("p.rootX : " + int(sprite.rootX) + " , p.rootY : " + int(sprite.rootY) +" , p.altitude : " + int(sprite.altitude) + " / sprite.layer.asdHeight : " + sprite.layer.asdHeight + " / x : " + x + " , y : " + y);
setObject(%['storage'=>'flame07', 'x'=>x, 'y'=>sprite.rootY+1, 'altitude'=>y, 'exp'=>'mp.path=\'(0,0,20)\',mp.frame=30', 'shadow'=>true]);
}
}
[endscript]
[return]
*eraseBM
[eval exp="sprite.isBoss = false"]
[disp left=0 top=&mp.t opacity=235][wait frame=3]
[disp left=0 top=&mp.t opacity=215][wait frame=3]
[disp left=0 top=&mp.t opacity=195][wait frame=3]
[disp left=0 top=&mp.t opacity=175][wait frame=3]
[disp left=0 top=&mp.t opacity=155][wait frame=3]
[disp left=0 top=&mp.t opacity=135][wait frame=3]
[disp left=0 top=&mp.t opacity=115][wait frame=3]
[disp left=0 top=&mp.t opacity= 95][wait frame=3]
[disp left=0 top=&mp.t opacity= 75][wait frame=3]
[disp left=0 top=&mp.t opacity= 55][wait frame=3]
[disp left=0 top=&mp.t opacity= 35][wait frame=3]
[disp left=0 top=&mp.t opacity= 15][wait frame=3]
[disp left=0 top=&mp.t opacity= 0][wait frame=3]
[s]