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

88 lines
4.3 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]
[if exp="sprite.lastSpriteId==stThrown2 || sprite.lastSpriteId==stThrown4"]
[image id=stThrown2 num=4]
[dispsize width=164 height=60 centerpos=82 baseline=0]
[else]
[image id=stDamage2 num=2]
[dispsize width=158 height=54]
[endif]
[eval exp="sprite.scriptQueue=[]"]
[jump target=*eraseBM cond="f.inBattleMode"]
[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=195][call target=*flame]
[disp left=0 top=0 opacity=155][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]
[del]
[s]
*flame
[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=0 opacity=235][wait frame=3]
[disp left=0 top=0 opacity=215][wait frame=3]
[disp left=0 top=0 opacity=195][wait frame=3]
[disp left=0 top=0 opacity=175][wait frame=3]
[disp left=0 top=0 opacity=155][wait frame=3]
[disp left=0 top=0 opacity=135][wait frame=3]
[disp left=0 top=0 opacity=115][wait frame=3]
[disp left=0 top=0 opacity= 95][wait frame=3]
[disp left=0 top=0 opacity= 75][wait frame=3]
[disp left=0 top=0 opacity= 55][wait frame=3]
[disp left=0 top=0 opacity= 35][wait frame=3]
[disp left=0 top=0 opacity= 15][wait frame=3]
[disp left=0 top=0 opacity= 0][wait frame=3]
[s]