summaryrefslogtreecommitdiff
path: root/warriors/train.red
diff options
context:
space:
mode:
Diffstat (limited to 'warriors/train.red')
-rw-r--r--warriors/train.red25
1 files changed, 25 insertions, 0 deletions
diff --git a/warriors/train.red b/warriors/train.red
new file mode 100644
index 0000000..556896b
--- /dev/null
+++ b/warriors/train.red
@@ -0,0 +1,25 @@
+;author Benji Dial
+;name Train
+
+step equ 4943
+
+ spl 1
+ spl 1
+ spl 1
+
+paper
+ mov.f var + 1, var
+ spl @var
+ mov }var, >var
+
+ mov.a #step / 2, the_end + 2
+
+stone
+ mov the_end + 1, }the_end + 2
+ jmp stone, }the_end + 2
+
+var
+ dat
+ dat paper + 1, paper + step + 1
+
+the_end