+ /* global flags */
+
+ lev.ball_random = src[2162] & 1 ? 1 : 0;
+ lev.ball_state_initial = src[2162] & 128 ? 1 : 0;
+
+ for (temp = 1; temp < 2047; temp++)
+ {
+ switch (src[temp])
+ {
+ case 36: /* wonderwall */
+ lev.wonderwall_state_initial = 1;
+ lev.wonderwall_time_initial = 9999;
+ break;
+
+ case 40: /* wheel */
+ lev.wheel_x_initial = temp & 63;
+ lev.wheel_y_initial = temp >> 6;
+ lev.wheel_cnt_initial = lev.wheel_time;
+ break;
+
+ case 163: /* fake blank */
+ lev.lenses_cnt_initial = 9999;
+ break;
+
+ case 164: /* fake grass */
+ lev.magnify_cnt_initial = 9999;
+ break;
+ }
+ }
+
+ /* android */
+
+ temp = GET_BE16(src[2168]);
+
+ lev.android_emerald = (temp & 1) != 0;
+ lev.android_diamond = (temp & 2) != 0;
+ lev.android_stone = (temp & 4) != 0;
+ lev.android_bomb = (temp & 8) != 0;
+ lev.android_nut = (temp & 16) != 0;
+ lev.android_tank = (temp & 32) != 0;
+ lev.android_eater = (temp & 64) != 0;
+ lev.android_bug = (temp & 128) != 0;
+ lev.android_alien = (temp & 256) != 0;
+ lev.android_spring = (temp & 512) != 0;
+ lev.android_balloon = (temp & 1024) != 0;
+ lev.android_amoeba = (temp & 2048) != 0;
+ lev.android_dynamite = (temp & 4096) != 0;