case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Zplayer:
case Xdynamite_1:
case Xdynamite_2:
case Xacid_splash_w:
cave[x][y] = Zplayer;
next[x][y] = Zplayer;
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
play_element_sound(x, y, SOUND_blank, Xblank);
ply->anim = PLY_walk_n + anim;
ply->x = x;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x+dx][y] = dx > 0 ? Ystone_e : Ystone_w;
next[x+dx][y] = Xstone_pause;
goto stone_walk;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x+dx][y] = dx > 0 ? Ybomb_e : Ybomb_w;
next[x+dx][y] = Xbomb_pause;
goto bomb_walk;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x+dx][y] = dx > 0 ? Ynut_e : Ynut_w;
next[x+dx][y] = Xnut_pause;
goto nut_walk;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x+dx][y] = dx > 0 ? Yspring_e : Yspring_w;
next[x+dx][y] = dx > 0 ? Xspring_e : Xspring_w;
goto spring_walk;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x+dx][y+dy] = (dy ? (dy < 0 ? Yballoon_n : Yballoon_s) :
(dx > 0 ? Yballoon_e : Yballoon_w));
next[x+dx][y+dy] = Xballoon;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x+dx][y+dy] = (dy ? (dy < 0 ? Yandroid_n : Yandroid_s) :
(dx > 0 ? Yandroid_e : Yandroid_w));
next[x+dx][y+dy] = (dy ? (dy < 0 ? Xandroid_2_n : Xandroid_2_s) :
next[x][y] = Xacid_1;
}
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
static void Lfake_acid_1(int x, int y)
{
next[x][y] = Xfake_acid_2;
{
next[x][y] = Xfake_acid_1;
}
-#endif
static void Landroid(int x, int y)
{
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yandroid_nB;
next[x][y] = Xblank;
cave[x][y-1] = Yandroid_n;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yandroid_nB;
next[x][y] = Xblank;
cave[x][y-1] = Yandroid_n;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yandroid_eB;
next[x][y] = Xblank;
cave[x+1][y] = Yandroid_e;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yandroid_eB;
next[x][y] = Xblank;
cave[x+1][y] = Yandroid_e;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yandroid_sB;
next[x][y] = Xblank;
cave[x][y+1] = Yandroid_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yandroid_sB;
next[x][y] = Xblank;
cave[x][y+1] = Yandroid_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yandroid_wB;
next[x][y] = Xblank;
cave[x-1][y] = Yandroid_w;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yandroid_wB;
next[x][y] = Xblank;
cave[x-1][y] = Yandroid_w;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Xacid_1:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Xacid_1:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Xacid_1:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Xacid_1:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Xacid_1:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Xacid_1:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Xacid_1:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Xacid_1:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yemerald_sB;
next[x][y] = Xblank;
cave[x][y+1] = Yemerald_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yemerald_sB;
next[x][y] = Xblank;
cave[x][y+1] = Yemerald_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Zplayer:
cave[x][y] = Yemerald_sB;
next[x][y] = Xblank;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Ydiamond_sB;
next[x][y] = Xblank;
cave[x][y+1] = Ydiamond_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Ydiamond_sB;
next[x][y] = Xblank;
cave[x][y+1] = Ydiamond_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Zplayer:
cave[x][y] = Ydiamond_sB;
next[x][y] = Xblank;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
cave[x][y] = Ystone_sB;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Ystone_sB;
next[x][y] = Xblank;
cave[x][y+1] = Ystone_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Zplayer:
cave[x][y] = Ystone_sB;
next[x][y] = Xblank;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xalien:
case Xalien_pause:
cave[x][y+1] = Xspring_e;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xalien:
case Xalien_pause:
cave[x][y+1] = Xspring_w;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Zplayer:
case Xbug_1_n:
case Xbug_1_e:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Ybomb_sB;
next[x][y] = Xblank;
cave[x][y+1] = Ybomb_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Ybomb_sB;
next[x][y] = Xblank;
cave[x][y+1] = Ybomb_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Ybomb_sB;
next[x][y] = Xblank;
cave[x][y+1] = Ybomb_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Ynut_sB;
next[x][y] = Xblank;
cave[x][y+1] = Ynut_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Ynut_sB;
next[x][y] = Xblank;
cave[x][y+1] = Ynut_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Zplayer:
cave[x][y] = Ynut_sB;
next[x][y] = Xblank;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
cave[x][y] = Yspring_sB;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yspring_sB;
next[x][y] = Xblank;
cave[x][y+1] = Yspring_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yspring_sB;
next[x][y] = Xblank;
cave[x][y+1] = Yspring_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Yalien_nB:
case Yalien_eB:
case Yalien_sB:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yspring_sB;
next[x][y] = Xblank;
cave[x][y+1] = Yspring_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Yalien_nB:
case Yalien_eB:
case Yalien_sB:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Zplayer:
cave[x][y] = Yspring_sB;
next[x][y] = Xblank;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yballoon_nB;
next[x][y] = Xblank;
cave[x][y-1] = Yballoon_n;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yballoon_eB;
next[x][y] = Xblank;
cave[x+1][y] = Yballoon_e;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yballoon_sB;
next[x][y] = Xblank;
cave[x][y+1] = Yballoon_s;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Yballoon_wB;
next[x][y] = Xblank;
cave[x-1][y] = Yballoon_w;
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xplant:
case Yplant:
case Zplayer:
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
cave[x][y] = Xsand_stonesand_quickout_1;
next[x][y] = Xsand_stonesand_quickout_2;
cave[x][y+1] = Xsand_stoneout_1;
next[x][y] = Xstone_fall;
}
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
static void Lsand_stonesand_quickout_1(int x, int y)
{
next[x][y] = Xsand_stonesand_quickout_2;
{
next[x][y] = Xsand;
}
-#endif
static void Lslidewall_ns(int x, int y)
{
case Xblank:
case Xacid_splash_e:
case Xacid_splash_w:
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1:
case Xfake_acid_2:
case Xfake_acid_3:
case Xfake_acid_6:
case Xfake_acid_7:
case Xfake_acid_8:
-#endif
case Xgrass:
case Xdirt:
case Xsand:
case Xacid_7: Lacid_7(x, y); break;
case Xacid_8: Lacid_8(x, y); break;
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xfake_acid_1: Lfake_acid_1(x, y); break;
case Xfake_acid_2: Lfake_acid_2(x, y); break;
case Xfake_acid_3: Lfake_acid_3(x, y); break;
case Xfake_acid_6: Lfake_acid_6(x, y); break;
case Xfake_acid_7: Lfake_acid_7(x, y); break;
case Xfake_acid_8: Lfake_acid_8(x, y); break;
-#endif
case Xandroid: Landroid(x, y); break;
case Xandroid_1_n: Landroid_1_n(x, y); break;
case Xsand_stonesand_4: Lsand_stonesand_4(x, y); break;
case Xsand_stoneout_1: Lsand_stoneout_1(x, y); break;
case Xsand_stoneout_2: Lsand_stoneout_2(x, y); break;
-#ifdef EM_ENGINE_USE_ADDITIONAL_ELEMENTS
case Xsand_stonesand_quickout_1: Lsand_stonesand_quickout_1(x, y); break;
case Xsand_stonesand_quickout_2: Lsand_stonesand_quickout_2(x, y); break;
-#endif
case Xslidewall_ns: Lslidewall_ns(x, y); break;
case Xslidewall_ew: Lslidewall_ew(x, y); break;