FANDOM


A VM instruction that attempts to move a hack backwards by one cell in the playfield.

The blocks that makeup a hakk are not allowed to overlap in the arena, nor are hakks allowed to move outside of the arena. If the move request causes an overlap, or causes the hakk to go out of bounds, then it will fail and store 0. If the move succeeds, it will store 1.

Usage Edit

moveb: {store}

hakkML Example Edit

name: moveb_example
blocks:
  core:
  entry: {name: 'main', loc: [0, 1]}
code:
  main:
    - rem: attempt to move back, store the result in core.0
    - moveb: core.0
    - je: [core.0, 1, yes]
    - out: 'Move did not succeed.'
    - exit: 0
    - lbl: yes
    - out: 'Move succeeded.'
    - exit: 0