This commit is contained in:
jane 2020-11-10 19:35:08 -05:00
parent 9639a4e3cb
commit f59d02b3bc
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ def pat(index, tick, previous_values):
args = this.pattern[i]['instruction']['args'] args = this.pattern[i]['instruction']['args']
if this.instructions[name] != None: if this.instructions[name] != None:
jump = apply(i, targets, args, this.instructions[name]) jump = apply(i, targets, args, this.instructions[name])
print("{} {} {}".format(jump, i, len(this.pattern))) #print("{} {} {}".format(jump, i, len(this.pattern)))
if jump != i and jump <= len(this.pattern): if jump != i and jump <= len(this.pattern):
i = jump - 1 i = jump - 1
r = this.values["r"] r = this.values["r"]