diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a76b0d7a..dd2703baa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file. - AS1/2 - loops and switch break/continue vs definefunction - AS1/2 - callmethod on register instead of callfunction on var - AS1/2 - delete operator correct localreg names +- AS1/2 - temporary registers handling ## [14.5.2] - 2021-11-20 ### Fixed diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/swf5/ActionStoreRegister.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/swf5/ActionStoreRegister.java index c943091d8..a1286e5d1 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/swf5/ActionStoreRegister.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/swf5/ActionStoreRegister.java @@ -119,9 +119,9 @@ public class ActionStoreRegister extends Action implements StoreTypeAction { } if (value instanceof TemporaryRegister) { - if (((TemporaryRegister) value).value instanceof EnumerationAssignmentValueActionItem) { - value = ((TemporaryRegister) value).value; - } + //if (((TemporaryRegister) value).value instanceof EnumerationAssignmentValueActionItem) { + value = ((TemporaryRegister) value).value; + //} } variables.put("__register" + registerNumber, value);