We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2583b9 commit 10b097cCopy full SHA for 10b097c
src/main/java/com/falsepattern/jfunge/interpreter/instructions/Funge98.java
@@ -197,6 +197,15 @@ public static void printChar(ExecutionContext ctx) {
197
@Instr('|')
198
public static void branchNorthSouth(ExecutionContext ctx) {ctx.interpret(ctx.IP().stackStack.TOSS().pop() == 0 ? 'v' : '^');}
199
200
+ @Instr('m')
201
+ public static void branchHighLow(ExecutionContext ctx) {
202
+ if (ctx.dimensions() == 3) {
203
+ ctx.interpret(ctx.IP().stackStack.TOSS().pop() == 0 ? 'h' : 'l');
204
+ } else {
205
+ ctx.interpret('r');
206
+ }
207
208
+
209
@Instr('\'')
210
public static void getNext(ExecutionContext ctx) {
211
int i = ctx.fungeSpace().get(new Vector3i(ctx.IP().position).add(ctx.IP().delta));
0 commit comments