home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 110
/
jogo-disk-110.iso
/
Games
/
steppenwolf_2_chapter_8.swf
/
scripts
/
DefineSprite_1660
/
frame_2
/
DoAction.as
Wrap
Text File
|
2008-11-12
|
596b
|
23 lines
i = 1;
while(eval("/Variables:InvNb") >= i and eval("/Variables:InvObjet" + i) != eval("/Variables:ObjetRemove"))
{
if(eval("/Variables:InvObjet" + i) != eval("/Variables:ObjetRemove"))
{
i += 1;
}
}
k = i;
while(eval("/Variables:InvNb") >= k)
{
set("/Variables:InvObjet" + k,eval("/Variables:InvObjet" + (k + 1)));
k += 1;
}
set("/Variables:InvObjet" + eval("/Variables:InvNb"),0);
set("/Variables:ObjetSelect",0);
tellTarget("_root.Inventaire.ObjetAffiche")
{
gotoAndStop(1);
}
set("/Variables:InvNb",eval("/Variables:InvNb") - 1);
gotoAndStop(1);