X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=02-lifts%2Fpart2.bf;h=1eefb7a6072bbfd1dffd9136d7e312eb3fb1f45e;hb=db3fb1fbf8fe298d454ae983107d0d15edc30779;hp=0b430f4476d1f0877f560184e4cc4aabc347acff;hpb=35334be6542c54514e0a1bf11d247063c2c1ed51;p=ou-summer-of-code-2017.git

diff --git a/02-lifts/part2.bf b/02-lifts/part2.bf
index 0b430f4..1eefb7a 100644
--- a/02-lifts/part2.bf
+++ b/02-lifts/part2.bf
@@ -1,3 +1,18 @@
+set cell 1 to 61         # exit
+set cell 2 to 94 minus 61=33   # up
+set cell 3 to 118 minus 94=24  # down
+
+cell 5 for currently at an exit: 1 if at an exit 0 otherwise
+
+set cell 6 to 0 (current level)
+set cell 7 to  for height above ground min zero
+set cell 8 to 0 (highest exit)
+cell 9 for input
+cell 10 for whether input has been dealt with: 0 for yes 1 for no
+cell 11 for whether dealt with the height above zero cell
+reserve cell 12 and higher for scratch
+
+
 >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++>++++++++++++++++++++++++