debug statements

This commit is contained in:
jane 2020-11-10 19:31:26 -05:00
parent 1f3a988e23
commit 757bac6277
1 changed files with 1 additions and 0 deletions

View File

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