diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-11-07 19:49:11 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-11-07 19:49:11 -0800 |
commit | 4f86220a6ced126791e8c3e6df2b492663b89ac4 (patch) | |
tree | 1ad42d8de7096ea3ec3816085e3acd7a8321f8b8 /apps/tile | |
parent | f2a3c381a7eb9c454cabda8ffa54035a438313bf (diff) | |
download | mu-4f86220a6ced126791e8c3e6df2b492663b89ac4.tar.gz |
7211
Diffstat (limited to 'apps/tile')
-rw-r--r-- | apps/tile/environment.mu | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index e0260c23..495a1083 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -810,6 +810,30 @@ fn bound-function? w: (addr word), functions-ah: (addr handle function) -> _/ebx subresult <- word-equal? w, "fake-screen" compare subresult, 0 # false break-if-!= + # if w == "print" return true + subresult <- word-equal? w, "print" + compare subresult, 0 # false + break-if-!= + # if w == "move" return true + subresult <- word-equal? w, "move" + compare subresult, 0 # false + break-if-!= + # if w == "up" return true + subresult <- word-equal? w, "up" + compare subresult, 0 # false + break-if-!= + # if w == "down" return true + subresult <- word-equal? w, "down" + compare subresult, 0 # false + break-if-!= + # if w == "left" return true + subresult <- word-equal? w, "left" + compare subresult, 0 # false + break-if-!= + # if w == "right" return true + subresult <- word-equal? w, "right" + compare subresult, 0 # false + break-if-!= ## hacks # if w == "dup" return true subresult <- word-equal? w, "dup" |