cache: Add get_is_mobile opcode.

This is set to 1 on the mobile build. All that it does is change some sprites in the options panel.
This commit is contained in:
Max Weber
2018-02-23 19:41:17 -07:00
parent 65f3bae155
commit 51b077b479
2 changed files with 2 additions and 0 deletions

View File

@@ -482,6 +482,7 @@ public class Instructions
add(6507, 4, 0);
add(GET_WORLD_BY_INDEX, "get_world_by_index", 1, 4, 0, 2);
add(6512, 1, 0);
add(GET_IS_MOBILE, "get_is_mobile", 0, 1);
// 6600-6700
add(6600, 0, 0);
add(6601, 1, 0, 0, 1);

View File

@@ -372,5 +372,6 @@ public class Opcodes
public static final int GET_NEXT_WORLD = 6502;
public static final int GET_WORLD_BY_ID = 6506;
public static final int GET_WORLD_BY_INDEX = 6511;
public static final int GET_IS_MOBILE = 6518;
public static final int GET_AREA_NAME = 6693;
}