Parcourir la source

Add missing handling of x instruction

ApisNecros il y a 1 an
Parent
commit
a2f9ea7cb9
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      src/codebox.ts

+ 4 - 0
src/codebox.ts

@@ -316,6 +316,10 @@ export class CodeBox {
                 this.omniMirror();
                 break;
             }
+            case InstructionDictionary.MIRROR_RANDOM: {
+                this.pointer.shuffleDirection();
+                break;
+            }
             // Trampolines
             case InstructionDictionary.TRAMPOLINE_CLASSIC: {
                 this.pointer.move();