If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#2520 AS1/2 decompilation: regression on while loop on nightly
Author:
Randomno
RandomnoDate created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: Decompilation
State: closed 

> What steps will reproduce the problem?
Go to frame 3, DoAction[2] of attached SWF.
> What is the expected output? What do you see instead?
Latest nightly (3284) produces at line 1080:
addr996c:
if(this.launchChars <= _root.numChars)
{
if(_root["char" + this.launchChars].hp > 0 && _root["char" +
this.launchChars].dSeg > 0 && this.launchChars != this.id && _root["char" +
this.launchChars].heavy < 20)
{
_root["char" + this.launchChars].ySpeed = (- this.ySpeed) / 2;
_root["char" + this.launchChars].locomoteY(-15);
}
this.launchChars++;
§§goto(addr996c);
}
While 24.0.1 produces:
while(this.launchChars <= _root.numChars)
{
if(_root["char" + this.launchChars].hp > 0 && _root["char" +
this.launchChars].dSeg > 0 && this.launchChars != this.id && _root["char" +
this.launchChars].heavy < 20)
{
_root["char" + this.launchChars].ySpeed = (- this.ySpeed) / 2;
_root["char" + this.launchChars].locomoteY(-15);
}
this.launchChars++;
}
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
Nightly build 3284
381115_NGRfinal.swf (9,978 KiB)This is fixed in nightly 3285.
State: new→upgraded
State: upgraded→closed
