projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated various names of EM engine specific definitions
[rocksndiamonds.git]
/
src
/
game_em
/
synchro_2.c
diff --git
a/src/game_em/synchro_2.c
b/src/game_em/synchro_2.c
index 70f6797c88e38030fabacdcfec58249e5f8ae8a0..98188da61259e617c0d9f1ed6ae254fc2504bf70 100644
(file)
--- a/
src/game_em/synchro_2.c
+++ b/
src/game_em/synchro_2.c
@@
-64,10
+64,10
@@
void synchro_2(void)
/* --------------------------------------------------------------------- */
#ifdef BAD_ROLL
/* --------------------------------------------------------------------- */
#ifdef BAD_ROLL
- case X
stone_forc
e_e:
+ case X
push_ston
e_e:
switch (Cave[y][x+1])
{
switch (Cave[y][x+1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-87,10
+87,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
stone_forc
e_w:
+ case X
push_ston
e_w:
switch (Cave[y][x-1])
{
switch (Cave[y][x-1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-110,10
+110,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
nut_force
_e:
+ case X
push_nut
_e:
switch (Cave[y][x+1])
{
switch (Cave[y][x+1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-133,10
+133,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
nut_force
_w:
+ case X
push_nut
_w:
switch (Cave[y][x-1])
{
switch (Cave[y][x-1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-156,10
+156,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
spring_force
_e:
+ case X
push_spring
_e:
switch (Cave[y][x+1])
{
switch (Cave[y][x+1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-185,10
+185,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
spring_force
_w:
+ case X
push_spring
_w:
switch (Cave[y][x-1])
{
switch (Cave[y][x-1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-213,10
+213,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
emerald_force
_e:
+ case X
push_emerald
_e:
switch (Cave[y][x+1])
{
switch (Cave[y][x+1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-236,10
+236,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
emerald_force
_w:
+ case X
push_emerald
_w:
switch (Cave[y][x-1])
{
switch (Cave[y][x-1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-259,10
+259,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
diamond_force
_e:
+ case X
push_diamond
_e:
switch (Cave[y][x+1])
{
switch (Cave[y][x+1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-282,10
+282,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
diamond_force
_w:
+ case X
push_diamond
_w:
switch (Cave[y][x-1])
{
switch (Cave[y][x-1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-305,10
+305,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
bomb_force
_e:
+ case X
push_bomb
_e:
switch (Cave[y][x+1])
{
switch (Cave[y][x+1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-328,10
+328,10
@@
void synchro_2(void)
goto loop;
}
goto loop;
}
- case X
bomb_force
_w:
+ case X
push_bomb
_w:
switch (Cave[y][x-1])
{
switch (Cave[y][x-1])
{
- case Z
BORDER
:
+ case Z
border
:
case Znormal:
case Zdynamite:
case Xboom_bug:
case Znormal:
case Zdynamite:
case Xboom_bug:
@@
-367,16
+367,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ystone_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ystone_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
#if 1
case Xplant:
case Yplant:
#if 1
@@
-430,8
+430,8
@@
void synchro_2(void)
case Xball_2:
case Xnut:
case Xnut_pause:
case Xball_2:
case Xnut:
case Xnut_pause:
- case X
grow
_ns:
- case X
grow
_ew:
+ case X
slidewall
_ns:
+ case X
slidewall
_ew:
case Xkey_1:
case Xkey_2:
case Xkey_3:
case Xkey_1:
case Xkey_2:
case Xkey_3:
@@
-444,10
+444,10
@@
void synchro_2(void)
case Xswitch:
case Xlenses:
case Xmagnify:
case Xswitch:
case Xlenses:
case Xmagnify:
- case Xround
_
wall_1:
- case Xround
_
wall_2:
- case Xround
_
wall_3:
- case Xround
_
wall_4:
+ case Xroundwall_1:
+ case Xroundwall_2:
+ case Xroundwall_3:
+ case Xroundwall_4:
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
@@
-508,16
+508,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ystone_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ystone_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
#if 1
case Xfake_acid_1:
case Xfake_acid_2:
#if 1
case Xfake_acid_1:
case Xfake_acid_2:
@@
-555,16
+555,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ystone_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ystone_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Zplayer:
#if 1
case Xfake_acid_1:
case Zplayer:
#if 1
case Xfake_acid_1:
@@
-584,21
+584,21
@@
void synchro_2(void)
case Xnut:
case Xnut_pause:
case Xnut:
case Xnut_pause:
- Cave[y+1][x] = Y
emerald
_stone;
+ Cave[y+1][x] = Y
nut
_stone;
Next[y][x] = Xstone;
Next[y+1][x] = Xemerald;
Next[y][x] = Xstone;
Next[y+1][x] = Xemerald;
- play_element_sound(x, y, S
AMPLE
_crack, Xnut);
+ play_element_sound(x, y, S
OUND
_crack, Xnut);
score += lev.nut_score;
goto loop;
score += lev.nut_score;
goto loop;
- case Xbug_n:
- case Xbug_e:
- case Xbug_s:
- case Xbug_w:
- case Xbug_
go
n:
- case Xbug_
go
e:
- case Xbug_
go
s:
- case Xbug_
go
w:
+ case Xbug_
1_
n:
+ case Xbug_
1_
e:
+ case Xbug_
1_
s:
+ case Xbug_
1_
w:
+ case Xbug_
2_
n:
+ case Xbug_
2_
e:
+ case Xbug_
2_
s:
+ case Xbug_
2_
w:
Cave[y][x] = Ystone_sB;
Cave[y+1][x] = Ybug_stone;
Next[y+1][x] = Znormal;
Cave[y][x] = Ystone_sB;
Cave[y+1][x] = Ybug_stone;
Next[y+1][x] = Znormal;
@@
-612,19
+612,19
@@
void synchro_2(void)
Boom[y+2][x] = Xemerald;
Boom[y+2][x+1] = Xemerald;
#if PLAY_ELEMENT_SOUND
Boom[y+2][x] = Xemerald;
Boom[y+2][x+1] = Xemerald;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
score += lev.bug_score;
goto loop;
#endif
score += lev.bug_score;
goto loop;
- case Xtank_n:
- case Xtank_e:
- case Xtank_s:
- case Xtank_w:
- case Xtank_
go
n:
- case Xtank_
go
e:
- case Xtank_
go
s:
- case Xtank_
go
w:
+ case Xtank_
1_
n:
+ case Xtank_
1_
e:
+ case Xtank_
1_
s:
+ case Xtank_
1_
w:
+ case Xtank_
2_
n:
+ case Xtank_
2_
e:
+ case Xtank_
2_
s:
+ case Xtank_
2_
w:
Cave[y][x] = Ystone_sB;
Cave[y+1][x] = Ytank_stone;
Next[y+1][x] = Znormal;
Cave[y][x] = Ystone_sB;
Cave[y+1][x] = Ytank_stone;
Next[y+1][x] = Znormal;
@@
-638,7
+638,7
@@
void synchro_2(void)
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
score += lev.tank_score;
goto loop;
#endif
score += lev.tank_score;
goto loop;
@@
-649,8
+649,8
@@
void synchro_2(void)
switch (Cave[y+1][x+1])
{
case Xblank:
switch (Cave[y+1][x+1])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xalien:
case Xalien_pause:
Cave[y+1][x] = Xspring_e;
case Xalien:
case Xalien_pause:
Cave[y+1][x] = Xspring_e;
@@
-666,8
+666,8
@@
void synchro_2(void)
switch (Cave[y+1][x-1])
{
case Xblank:
switch (Cave[y+1][x-1])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xalien:
case Xalien_pause:
Cave[y+1][x] = Xspring_w;
case Xalien:
case Xalien_pause:
Cave[y+1][x] = Xspring_w;
@@
-698,7
+698,7
@@
void synchro_2(void)
Boom[y+2][x] = lev.eater_array[lev.eater_pos][7];
Boom[y+2][x+1] = lev.eater_array[lev.eater_pos][8];
#if PLAY_ELEMENT_SOUND
Boom[y+2][x] = lev.eater_array[lev.eater_pos][7];
Boom[y+2][x+1] = lev.eater_array[lev.eater_pos][8];
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
lev.eater_pos = (lev.eater_pos + 1) & 7;
score += lev.eater_score;
#endif
lev.eater_pos = (lev.eater_pos + 1) & 7;
score += lev.eater_score;
@@
-719,7
+719,7
@@
void synchro_2(void)
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
score += lev.alien_score;
goto loop;
#endif
score += lev.alien_score;
goto loop;
@@
-729,25
+729,25
@@
void synchro_2(void)
switch (Cave[y+2][x])
{
case Xblank:
switch (Cave[y+2][x])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Zplayer:
case Zplayer:
- case Xbug_n:
- case Xbug_e:
- case Xbug_s:
- case Xbug_w:
- case Xbug_
go
n:
- case Xbug_
go
e:
- case Xbug_
go
s:
- case Xbug_
go
w:
- case Xtank_n:
- case Xtank_e:
- case Xtank_s:
- case Xtank_w:
- case Xtank_
go
n:
- case Xtank_
go
e:
- case Xtank_
go
s:
- case Xtank_
go
w:
+ case Xbug_
1_
n:
+ case Xbug_
1_
e:
+ case Xbug_
1_
s:
+ case Xbug_
1_
w:
+ case Xbug_
2_
n:
+ case Xbug_
2_
e:
+ case Xbug_
2_
s:
+ case Xbug_
2_
w:
+ case Xtank_
1_
n:
+ case Xtank_
1_
e:
+ case Xtank_
1_
s:
+ case Xtank_
1_
w:
+ case Xtank_
2_
n:
+ case Xtank_
2_
e:
+ case Xtank_
2_
s:
+ case Xtank_
2_
w:
case Xspring_fall:
case Xandroid:
case Xandroid_1_n:
case Xspring_fall:
case Xandroid:
case Xandroid_1_n:
@@
-775,7
+775,7
@@
void synchro_2(void)
case Xplant:
case Yplant:
Next[y][x] = Xstone;
case Xplant:
case Yplant:
Next[y][x] = Xstone;
- play_element_sound(x, y, S
AMPLE
_stone, Xstone);
+ play_element_sound(x, y, S
OUND
_stone, Xstone);
goto loop;
}
goto loop;
}
@@
-783,12
+783,12
@@
void synchro_2(void)
Cave[y+1][x] = Ydiamond_stone;
Next[y][x] = Xblank;
Next[y+1][x] = Xstone_pause;
Cave[y+1][x] = Ydiamond_stone;
Next[y][x] = Xblank;
Next[y+1][x] = Xstone_pause;
- play_element_sound(x, y, S
AMPLE
_squash, Xdiamond);
+ play_element_sound(x, y, S
OUND
_squash, Xdiamond);
goto loop;
case Xbomb:
case Xbomb_pause:
goto loop;
case Xbomb:
case Xbomb_pause:
- Cave[y+1][x] = Ybomb_
eat
;
+ Cave[y+1][x] = Ybomb_
blank
;
Next[y+1][x] = Znormal;
Boom[y][x-1] = Xblank;
Boom[y][x] = Xblank;
Next[y+1][x] = Znormal;
Boom[y][x-1] = Xblank;
Boom[y][x] = Xblank;
@@
-800,7
+800,7
@@
void synchro_2(void)
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
goto loop;
#endif
goto loop;
@@
-817,14
+817,14
@@
void synchro_2(void)
}
Next[y][x] = Xblank;
}
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_wonderfall, Xwonderwall);
+ play_element_sound(x, y, S
OUND
_wonderfall, Xwonderwall);
goto loop;
}
default:
Cave[y][x] = Xstone;
Next[y][x] = Xstone;
goto loop;
}
default:
Cave[y][x] = Xstone;
Next[y][x] = Xstone;
- play_element_sound(x, y, S
AMPLE
_stone, Xstone);
+ play_element_sound(x, y, S
OUND
_stone, Xstone);
goto loop;
}
goto loop;
}
@@
-843,16
+843,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ynut_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ynut_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Ynut_sB;
Cave[y+1][x] = Ynut_s;
Next[y][x] = Xblank;
Cave[y][x] = Ynut_sB;
Cave[y+1][x] = Ynut_s;
Next[y][x] = Xblank;
@@
-887,8
+887,8
@@
void synchro_2(void)
case Xball_2:
case Xnut:
case Xnut_pause:
case Xball_2:
case Xnut:
case Xnut_pause:
- case X
grow
_ns:
- case X
grow
_ew:
+ case X
slidewall
_ns:
+ case X
slidewall
_ew:
case Xkey_1:
case Xkey_2:
case Xkey_3:
case Xkey_1:
case Xkey_2:
case Xkey_3:
@@
-899,10
+899,10
@@
void synchro_2(void)
case Xkey_8:
case Xbumper:
case Xswitch:
case Xkey_8:
case Xbumper:
case Xswitch:
- case Xround
_
wall_1:
- case Xround
_
wall_2:
- case Xround
_
wall_3:
- case Xround
_
wall_4:
+ case Xroundwall_1:
+ case Xroundwall_2:
+ case Xroundwall_3:
+ case Xroundwall_4:
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
@@
-964,16
+964,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ynut_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ynut_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Ynut_sB;
Cave[y+1][x] = Ynut_s;
Next[y][x] = Xblank;
Cave[y][x] = Ynut_sB;
Cave[y+1][x] = Ynut_s;
Next[y][x] = Xblank;
@@
-1001,16
+1001,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ynut_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ynut_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Zplayer:
Cave[y][x] = Ynut_sB;
Cave[y+1][x] = Ynut_s;
case Zplayer:
Cave[y][x] = Ynut_sB;
Cave[y+1][x] = Ynut_s;
@@
-1021,13
+1021,13
@@
void synchro_2(void)
default:
Cave[y][x] = Xnut;
Next[y][x] = Xnut;
default:
Cave[y][x] = Xnut;
Next[y][x] = Xnut;
- play_element_sound(x, y, S
AMPLE
_nut, Xnut);
+ play_element_sound(x, y, S
OUND
_nut, Xnut);
goto loop;
}
/* --------------------------------------------------------------------- */
goto loop;
}
/* --------------------------------------------------------------------- */
- case Xbug_n:
+ case Xbug_
1_
n:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1037,8
+1037,8
@@
void synchro_2(void)
switch (Cave[y][x+1])
{
case Xblank:
switch (Cave[y][x+1])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Xacid_1:
case Xplant:
case Yplant:
case Xacid_1:
@@
-1051,15
+1051,15
@@
void synchro_2(void)
case Xacid_8:
case Zplayer:
Cave[y][x] = Ybug_n_e;
case Xacid_8:
case Zplayer:
Cave[y][x] = Ybug_n_e;
- Next[y][x] = Xbug_
go
e;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y][x] = Xbug_
2_
e;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
default:
goto bug_gon;
}
goto loop;
default:
goto bug_gon;
}
- case Xbug_
go
n:
+ case Xbug_
2_
n:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1080,36
+1080,36
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ybug_nB;
if (Cave[y-2][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ybug_nB;
if (Cave[y-2][x+1] == Xblank)
- Cave[y-2][x+1] =
Yacid_splash_eB
;
+ Cave[y-2][x+1] =
Xacid_splash_e
;
if (Cave[y-2][x-1] == Xblank)
if (Cave[y-2][x-1] == Xblank)
- Cave[y-2][x-1] =
Yacid_splash_wB
;
+ Cave[y-2][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ybug_nB;
Cave[y-1][x] = Ybug_n;
Next[y][x] = Xblank;
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ybug_nB;
Cave[y-1][x] = Ybug_n;
Next[y][x] = Xblank;
- Next[y-1][x] = Xbug_n;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y-1][x] = Xbug_
1_
n;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
default:
Cave[y][x] = Ybug_n_w;
goto loop;
default:
Cave[y][x] = Ybug_n_w;
- Next[y][x] = Xbug_
go
w;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y][x] = Xbug_
2_
w;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
}
/* --------------------------------------------------------------------- */
goto loop;
}
/* --------------------------------------------------------------------- */
- case Xbug_e:
+ case Xbug_
1_
e:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1119,8
+1119,8
@@
void synchro_2(void)
switch (Cave[y+1][x])
{
case Xblank:
switch (Cave[y+1][x])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Xacid_1:
case Xplant:
case Yplant:
case Xacid_1:
@@
-1133,15
+1133,15
@@
void synchro_2(void)
case Xacid_8:
case Zplayer:
Cave[y][x] = Ybug_e_s;
case Xacid_8:
case Zplayer:
Cave[y][x] = Ybug_e_s;
- Next[y][x] = Xbug_
go
s;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y][x] = Xbug_
2_
s;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
default:
goto bug_goe;
}
goto loop;
default:
goto bug_goe;
}
- case Xbug_
go
e:
+ case Xbug_
2_
e:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1162,36
+1162,36
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ybug_eB;
if (Cave[y-1][x+2] == Xblank)
case Xacid_8:
Cave[y][x] = Ybug_eB;
if (Cave[y-1][x+2] == Xblank)
- Cave[y-1][x+2] =
Yacid_splash_eB
;
+ Cave[y-1][x+2] =
Xacid_splash_e
;
if (Cave[y-1][x] == Xblank)
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_wB
;
+ Cave[y-1][x] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ybug_eB;
Cave[y][x+1] = Ybug_e;
Next[y][x] = Xblank;
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ybug_eB;
Cave[y][x+1] = Ybug_e;
Next[y][x] = Xblank;
- Next[y][x+1] = Xbug_e;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y][x+1] = Xbug_
1_
e;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
default:
Cave[y][x] = Ybug_e_n;
goto loop;
default:
Cave[y][x] = Ybug_e_n;
- Next[y][x] = Xbug_
go
n;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y][x] = Xbug_
2_
n;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
}
/* --------------------------------------------------------------------- */
goto loop;
}
/* --------------------------------------------------------------------- */
- case Xbug_s:
+ case Xbug_
1_
s:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1201,8
+1201,8
@@
void synchro_2(void)
switch (Cave[y][x-1])
{
case Xblank:
switch (Cave[y][x-1])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Xacid_1:
case Xplant:
case Yplant:
case Xacid_1:
@@
-1215,15
+1215,15
@@
void synchro_2(void)
case Xacid_8:
case Zplayer:
Cave[y][x] = Ybug_s_w;
case Xacid_8:
case Zplayer:
Cave[y][x] = Ybug_s_w;
- Next[y][x] = Xbug_
go
w;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y][x] = Xbug_
2_
w;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
default:
goto bug_gos;
}
goto loop;
default:
goto bug_gos;
}
- case Xbug_
go
s:
+ case Xbug_
2_
s:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1244,36
+1244,36
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ybug_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ybug_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ybug_sB;
Cave[y+1][x] = Ybug_s;
Next[y][x] = Xblank;
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ybug_sB;
Cave[y+1][x] = Ybug_s;
Next[y][x] = Xblank;
- Next[y+1][x] = Xbug_s;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y+1][x] = Xbug_
1_
s;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
default:
Cave[y][x] = Ybug_s_e;
goto loop;
default:
Cave[y][x] = Ybug_s_e;
- Next[y][x] = Xbug_
go
e;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y][x] = Xbug_
2_
e;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
}
/* --------------------------------------------------------------------- */
goto loop;
}
/* --------------------------------------------------------------------- */
- case Xbug_w:
+ case Xbug_
1_
w:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1283,8
+1283,8
@@
void synchro_2(void)
switch (Cave[y-1][x])
{
case Xblank:
switch (Cave[y-1][x])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Xacid_1:
case Xplant:
case Yplant:
case Xacid_1:
@@
-1297,15
+1297,15
@@
void synchro_2(void)
case Xacid_8:
case Zplayer:
Cave[y][x] = Ybug_w_n;
case Xacid_8:
case Zplayer:
Cave[y][x] = Ybug_w_n;
- Next[y][x] = Xbug_
go
n;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y][x] = Xbug_
2_
n;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
default:
goto bug_gow;
}
goto loop;
default:
goto bug_gow;
}
- case Xbug_
go
w:
+ case Xbug_
2_
w:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1326,36
+1326,36
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ybug_wB;
if (Cave[y-1][x] == Xblank)
case Xacid_8:
Cave[y][x] = Ybug_wB;
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_eB
;
+ Cave[y-1][x] =
Xacid_splash_e
;
if (Cave[y-1][x-2] == Xblank)
if (Cave[y-1][x-2] == Xblank)
- Cave[y-1][x-2] =
Yacid_splash_wB
;
+ Cave[y-1][x-2] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ybug_wB;
Cave[y][x-1] = Ybug_w;
Next[y][x] = Xblank;
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ybug_wB;
Cave[y][x-1] = Ybug_w;
Next[y][x] = Xblank;
- Next[y][x-1] = Xbug_w;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y][x-1] = Xbug_
1_
w;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
default:
Cave[y][x] = Ybug_w_s;
goto loop;
default:
Cave[y][x] = Ybug_w_s;
- Next[y][x] = Xbug_
go
s;
- play_element_sound(x, y, S
AMPLE
_bug, element);
+ Next[y][x] = Xbug_
2_
s;
+ play_element_sound(x, y, S
OUND
_bug, element);
goto loop;
}
/* --------------------------------------------------------------------- */
goto loop;
}
/* --------------------------------------------------------------------- */
- case Xtank_n:
+ case Xtank_
1_
n:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1365,8
+1365,8
@@
void synchro_2(void)
switch (Cave[y][x-1])
{
case Xblank:
switch (Cave[y][x-1])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Xacid_1:
case Xplant:
case Yplant:
case Xacid_1:
@@
-1379,15
+1379,15
@@
void synchro_2(void)
case Xacid_8:
case Zplayer:
Cave[y][x] = Ytank_n_w;
case Xacid_8:
case Zplayer:
Cave[y][x] = Ytank_n_w;
- Next[y][x] = Xtank_
go
w;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y][x] = Xtank_
2_
w;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
default:
goto tank_gon;
}
goto loop;
default:
goto tank_gon;
}
- case Xtank_
go
n:
+ case Xtank_
2_
n:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1408,36
+1408,36
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ytank_nB;
if (Cave[y-2][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ytank_nB;
if (Cave[y-2][x+1] == Xblank)
- Cave[y-2][x+1] =
Yacid_splash_eB
;
+ Cave[y-2][x+1] =
Xacid_splash_e
;
if (Cave[y-2][x-1] == Xblank)
if (Cave[y-2][x-1] == Xblank)
- Cave[y-2][x-1] =
Yacid_splash_wB
;
+ Cave[y-2][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ytank_nB;
Cave[y-1][x] = Ytank_n;
Next[y][x] = Xblank;
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ytank_nB;
Cave[y-1][x] = Ytank_n;
Next[y][x] = Xblank;
- Next[y-1][x] = Xtank_n;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y-1][x] = Xtank_
1_
n;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
default:
Cave[y][x] = Ytank_n_e;
goto loop;
default:
Cave[y][x] = Ytank_n_e;
- Next[y][x] = Xtank_
go
e;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y][x] = Xtank_
2_
e;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
}
/* --------------------------------------------------------------------- */
goto loop;
}
/* --------------------------------------------------------------------- */
- case Xtank_e:
+ case Xtank_
1_
e:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1447,8
+1447,8
@@
void synchro_2(void)
switch (Cave[y-1][x])
{
case Xblank:
switch (Cave[y-1][x])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Xacid_1:
case Xplant:
case Yplant:
case Xacid_1:
@@
-1461,15
+1461,15
@@
void synchro_2(void)
case Xacid_8:
case Zplayer:
Cave[y][x] = Ytank_e_n;
case Xacid_8:
case Zplayer:
Cave[y][x] = Ytank_e_n;
- Next[y][x] = Xtank_
go
n;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y][x] = Xtank_
2_
n;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
default:
goto tank_goe;
}
goto loop;
default:
goto tank_goe;
}
- case Xtank_
go
e:
+ case Xtank_
2_
e:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1490,36
+1490,36
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ytank_eB;
if (Cave[y-1][x+2] == Xblank)
case Xacid_8:
Cave[y][x] = Ytank_eB;
if (Cave[y-1][x+2] == Xblank)
- Cave[y-1][x+2] =
Yacid_splash_eB
;
+ Cave[y-1][x+2] =
Xacid_splash_e
;
if (Cave[y-1][x] == Xblank)
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_wB
;
+ Cave[y-1][x] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ytank_eB;
Cave[y][x+1] = Ytank_e;
Next[y][x] = Xblank;
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ytank_eB;
Cave[y][x+1] = Ytank_e;
Next[y][x] = Xblank;
- Next[y][x+1] = Xtank_e;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y][x+1] = Xtank_
1_
e;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
default:
Cave[y][x] = Ytank_e_s;
goto loop;
default:
Cave[y][x] = Ytank_e_s;
- Next[y][x] = Xtank_
go
s;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y][x] = Xtank_
2_
s;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
}
/* --------------------------------------------------------------------- */
goto loop;
}
/* --------------------------------------------------------------------- */
- case Xtank_s:
+ case Xtank_
1_
s:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1529,8
+1529,8
@@
void synchro_2(void)
switch (Cave[y][x+1])
{
case Xblank:
switch (Cave[y][x+1])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Xacid_1:
case Xplant:
case Yplant:
case Xacid_1:
@@
-1543,15
+1543,15
@@
void synchro_2(void)
case Xacid_8:
case Zplayer:
Cave[y][x] = Ytank_s_e;
case Xacid_8:
case Zplayer:
Cave[y][x] = Ytank_s_e;
- Next[y][x] = Xtank_
go
e;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y][x] = Xtank_
2_
e;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
default:
goto tank_gos;
}
goto loop;
default:
goto tank_gos;
}
- case Xtank_
go
s:
+ case Xtank_
2_
s:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1572,36
+1572,36
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ytank_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ytank_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ytank_sB;
Cave[y+1][x] = Ytank_s;
Next[y][x] = Xblank;
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ytank_sB;
Cave[y+1][x] = Ytank_s;
Next[y][x] = Xblank;
- Next[y+1][x] = Xtank_s;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y+1][x] = Xtank_
1_
s;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
default:
Cave[y][x] = Ytank_s_w;
goto loop;
default:
Cave[y][x] = Ytank_s_w;
- Next[y][x] = Xtank_
go
w;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y][x] = Xtank_
2_
w;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
}
/* --------------------------------------------------------------------- */
goto loop;
}
/* --------------------------------------------------------------------- */
- case Xtank_w:
+ case Xtank_
1_
w:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1611,8
+1611,8
@@
void synchro_2(void)
switch (Cave[y+1][x])
{
case Xblank:
switch (Cave[y+1][x])
{
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Xacid_1:
case Xplant:
case Yplant:
case Xacid_1:
@@
-1625,15
+1625,15
@@
void synchro_2(void)
case Xacid_8:
case Zplayer:
Cave[y][x] = Ytank_w_s;
case Xacid_8:
case Zplayer:
Cave[y][x] = Ytank_w_s;
- Next[y][x] = Xtank_
go
s;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y][x] = Xtank_
2_
s;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
default:
goto tank_gow;
}
goto loop;
default:
goto tank_gow;
}
- case Xtank_
go
w:
+ case Xtank_
2_
w:
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
if (tab_amoeba[Cave[y-1][x]] ||
tab_amoeba[Cave[y][x+1]] ||
tab_amoeba[Cave[y+1][x]] ||
@@
-1654,30
+1654,30
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ytank_wB;
if (Cave[y-1][x] == Xblank)
case Xacid_8:
Cave[y][x] = Ytank_wB;
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_eB
;
+ Cave[y-1][x] =
Xacid_splash_e
;
if (Cave[y-1][x-2] == Xblank)
if (Cave[y-1][x-2] == Xblank)
- Cave[y-1][x-2] =
Yacid_splash_wB
;
+ Cave[y-1][x-2] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ytank_wB;
Cave[y][x-1] = Ytank_w;
Next[y][x] = Xblank;
case Xplant:
case Yplant:
case Zplayer:
Cave[y][x] = Ytank_wB;
Cave[y][x-1] = Ytank_w;
Next[y][x] = Xblank;
- Next[y][x-1] = Xtank_w;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y][x-1] = Xtank_
1_
w;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
default:
Cave[y][x] = Ytank_w_n;
goto loop;
default:
Cave[y][x] = Ytank_w_n;
- Next[y][x] = Xtank_
go
n;
- play_element_sound(x, y, S
AMPLE
_tank, element);
+ Next[y][x] = Xtank_
2_
n;
+ play_element_sound(x, y, S
OUND
_tank, element);
goto loop;
}
goto loop;
}
@@
-1793,7
+1793,7
@@
void synchro_2(void)
}
Next[y][x] = temp; /* the item we chose to clone */
}
Next[y][x] = temp; /* the item we chose to clone */
- play_element_sound(x, y, S
AMPLE
_android_clone, temp);
+ play_element_sound(x, y, S
OUND
_android_clone, temp);
switch (RANDOM & 7)
{
switch (RANDOM & 7)
{
@@
-2035,7
+2035,7
@@
void synchro_2(void)
Cave[y][x] = Yandroid_nB;
Cave[y-1][x] = Yandroid_n;
Next[y-1][x] = Xandroid;
Cave[y][x] = Yandroid_nB;
Cave[y-1][x] = Yandroid_n;
Next[y-1][x] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
android_ne:
goto loop;
android_ne:
@@
-2043,7
+2043,7
@@
void synchro_2(void)
Cave[y][x] = Yandroid_neB;
Cave[y-1][x+1] = Yandroid_ne;
Next[y-1][x+1] = Xandroid;
Cave[y][x] = Yandroid_neB;
Cave[y-1][x+1] = Yandroid_ne;
Next[y-1][x+1] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
android_e:
goto loop;
android_e:
@@
-2051,7
+2051,7
@@
void synchro_2(void)
Cave[y][x] = Yandroid_eB;
Cave[y][x+1] = Yandroid_e;
Next[y][x+1] = Xandroid;
Cave[y][x] = Yandroid_eB;
Cave[y][x+1] = Yandroid_e;
Next[y][x+1] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
android_se:
goto loop;
android_se:
@@
-2059,7
+2059,7
@@
void synchro_2(void)
Cave[y][x] = Yandroid_seB;
Cave[y+1][x+1] = Yandroid_se;
Next[y+1][x+1] = Xandroid;
Cave[y][x] = Yandroid_seB;
Cave[y+1][x+1] = Yandroid_se;
Next[y+1][x+1] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
android_s:
goto loop;
android_s:
@@
-2067,7
+2067,7
@@
void synchro_2(void)
Cave[y][x] = Yandroid_sB;
Cave[y+1][x] = Yandroid_s;
Next[y+1][x] = Xandroid;
Cave[y][x] = Yandroid_sB;
Cave[y+1][x] = Yandroid_s;
Next[y+1][x] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
android_sw:
goto loop;
android_sw:
@@
-2075,7
+2075,7
@@
void synchro_2(void)
Cave[y][x] = Yandroid_swB;
Cave[y+1][x-1] = Yandroid_sw;
Next[y+1][x-1] = Xandroid;
Cave[y][x] = Yandroid_swB;
Cave[y+1][x-1] = Yandroid_sw;
Next[y+1][x-1] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
android_w:
goto loop;
android_w:
@@
-2083,7
+2083,7
@@
void synchro_2(void)
Cave[y][x] = Yandroid_wB;
Cave[y][x-1] = Yandroid_w;
Next[y][x-1] = Xandroid;
Cave[y][x] = Yandroid_wB;
Cave[y][x-1] = Yandroid_w;
Next[y][x-1] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
android_nw:
goto loop;
android_nw:
@@
-2091,7
+2091,7
@@
void synchro_2(void)
Cave[y][x] = Yandroid_nwB;
Cave[y-1][x-1] = Yandroid_nw;
Next[y-1][x-1] = Xandroid;
Cave[y][x] = Yandroid_nwB;
Cave[y-1][x-1] = Yandroid_nw;
Next[y-1][x-1] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
/* --------------------------------------------------------------------- */
goto loop;
/* --------------------------------------------------------------------- */
@@
-2109,21
+2109,21
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yandroid_nB;
if (Cave[y-2][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yandroid_nB;
if (Cave[y-2][x+1] == Xblank)
- Cave[y-2][x+1] =
Yacid_splash_eB
;
+ Cave[y-2][x+1] =
Xacid_splash_e
;
if (Cave[y-2][x-1] == Xblank)
if (Cave[y-2][x-1] == Xblank)
- Cave[y-2][x-1] =
Yacid_splash_wB
;
+ Cave[y-2][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yandroid_nB;
Cave[y-1][x] = Yandroid_n;
Next[y][x] = Xblank;
Next[y-1][x] = Xandroid;
Cave[y][x] = Yandroid_nB;
Cave[y-1][x] = Yandroid_n;
Next[y][x] = Xblank;
Next[y-1][x] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
default:
goto loop;
default:
@@
-2143,21
+2143,21
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yandroid_nB;
if (Cave[y-2][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yandroid_nB;
if (Cave[y-2][x+1] == Xblank)
- Cave[y-2][x+1] =
Yacid_splash_eB
;
+ Cave[y-2][x+1] =
Xacid_splash_e
;
if (Cave[y-2][x-1] == Xblank)
if (Cave[y-2][x-1] == Xblank)
- Cave[y-2][x-1] =
Yacid_splash_wB
;
+ Cave[y-2][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yandroid_nB;
Cave[y-1][x] = Yandroid_n;
Next[y][x] = Xblank;
Next[y-1][x] = Xandroid_1_n;
Cave[y][x] = Yandroid_nB;
Cave[y-1][x] = Yandroid_n;
Next[y][x] = Xblank;
Next[y-1][x] = Xandroid_1_n;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
default:
goto loop;
default:
@@
-2179,21
+2179,21
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yandroid_eB;
if (Cave[y-1][x+2] == Xblank)
case Xacid_8:
Cave[y][x] = Yandroid_eB;
if (Cave[y-1][x+2] == Xblank)
- Cave[y-1][x+2] =
Yacid_splash_eB
;
+ Cave[y-1][x+2] =
Xacid_splash_e
;
if (Cave[y-1][x] == Xblank)
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_wB
;
+ Cave[y-1][x] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yandroid_eB;
Cave[y][x+1] = Yandroid_e;
Next[y][x] = Xblank;
Next[y][x+1] = Xandroid;
Cave[y][x] = Yandroid_eB;
Cave[y][x+1] = Yandroid_e;
Next[y][x] = Xblank;
Next[y][x+1] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
default:
goto loop;
default:
@@
-2213,21
+2213,21
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yandroid_eB;
if (Cave[y-1][x+2] == Xblank)
case Xacid_8:
Cave[y][x] = Yandroid_eB;
if (Cave[y-1][x+2] == Xblank)
- Cave[y-1][x+2] =
Yacid_splash_eB
;
+ Cave[y-1][x+2] =
Xacid_splash_e
;
if (Cave[y-1][x] == Xblank)
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_wB
;
+ Cave[y-1][x] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yandroid_eB;
Cave[y][x+1] = Yandroid_e;
Next[y][x] = Xblank;
Next[y][x+1] = Xandroid_1_e;
Cave[y][x] = Yandroid_eB;
Cave[y][x+1] = Yandroid_e;
Next[y][x] = Xblank;
Next[y][x+1] = Xandroid_1_e;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
default:
goto loop;
default:
@@
-2249,21
+2249,21
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yandroid_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yandroid_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yandroid_sB;
Cave[y+1][x] = Yandroid_s;
Next[y][x] = Xblank;
Next[y+1][x] = Xandroid;
Cave[y][x] = Yandroid_sB;
Cave[y+1][x] = Yandroid_s;
Next[y][x] = Xblank;
Next[y+1][x] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
default:
goto loop;
default:
@@
-2283,21
+2283,21
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yandroid_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yandroid_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yandroid_sB;
Cave[y+1][x] = Yandroid_s;
Next[y][x] = Xblank;
Next[y+1][x] = Xandroid_1_s;
Cave[y][x] = Yandroid_sB;
Cave[y+1][x] = Yandroid_s;
Next[y][x] = Xblank;
Next[y+1][x] = Xandroid_1_s;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
default:
goto loop;
default:
@@
-2319,21
+2319,21
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yandroid_wB;
if (Cave[y-1][x] == Xblank)
case Xacid_8:
Cave[y][x] = Yandroid_wB;
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_eB
;
+ Cave[y-1][x] =
Xacid_splash_e
;
if (Cave[y-1][x-2] == Xblank)
if (Cave[y-1][x-2] == Xblank)
- Cave[y-1][x-2] =
Yacid_splash_wB
;
+ Cave[y-1][x-2] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yandroid_wB;
Cave[y][x-1] = Yandroid_w;
Next[y][x] = Xblank;
Next[y][x-1] = Xandroid;
Cave[y][x] = Yandroid_wB;
Cave[y][x-1] = Yandroid_w;
Next[y][x] = Xblank;
Next[y][x-1] = Xandroid;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
default:
goto loop;
default:
@@
-2353,21
+2353,21
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yandroid_wB;
if (Cave[y-1][x] == Xblank)
case Xacid_8:
Cave[y][x] = Yandroid_wB;
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_eB
;
+ Cave[y-1][x] =
Xacid_splash_e
;
if (Cave[y-1][x-2] == Xblank)
if (Cave[y-1][x-2] == Xblank)
- Cave[y-1][x-2] =
Yacid_splash_wB
;
+ Cave[y-1][x-2] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yandroid_wB;
Cave[y][x-1] = Yandroid_w;
Next[y][x] = Xblank;
Next[y][x-1] = Xandroid_1_w;
Cave[y][x] = Yandroid_wB;
Cave[y][x-1] = Yandroid_w;
Next[y][x] = Xblank;
Next[y][x-1] = Xandroid_1_w;
- play_element_sound(x, y, S
AMPLE
_android_move, element);
+ play_element_sound(x, y, S
OUND
_android_move, element);
goto loop;
default:
goto loop;
default:
@@
-2389,16
+2389,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yspring_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yspring_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
Cave[y][x] = Yspring_sB;
case Xplant:
case Yplant:
Cave[y][x] = Yspring_sB;
@@
-2435,8
+2435,8
@@
void synchro_2(void)
case Xball_2:
case Xnut:
case Xnut_pause:
case Xball_2:
case Xnut:
case Xnut_pause:
- case X
grow
_ns:
- case X
grow
_ew:
+ case X
slidewall
_ns:
+ case X
slidewall
_ew:
case Xkey_1:
case Xkey_2:
case Xkey_3:
case Xkey_1:
case Xkey_2:
case Xkey_3:
@@
-2447,10
+2447,10
@@
void synchro_2(void)
case Xkey_8:
case Xbumper:
case Xswitch:
case Xkey_8:
case Xbumper:
case Xswitch:
- case Xround
_
wall_1:
- case Xround
_
wall_2:
- case Xround
_
wall_3:
- case Xround
_
wall_4:
+ case Xroundwall_1:
+ case Xroundwall_2:
+ case Xroundwall_3:
+ case Xroundwall_4:
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
@@
-2543,16
+2543,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yspring_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yspring_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Yspring_s;
Next[y][x] = Xblank;
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Yspring_s;
Next[y][x] = Xblank;
@@
-2580,16
+2580,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yspring_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yspring_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Yspring_s;
Next[y][x] = Xblank;
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Yspring_s;
Next[y][x] = Xblank;
@@
-2612,16
+2612,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yspring_eB;
if (Cave[y-1][x+2] == Xblank)
case Xacid_8:
Cave[y][x] = Yspring_eB;
if (Cave[y-1][x+2] == Xblank)
- Cave[y-1][x+2] =
Yacid_splash_eB
;
+ Cave[y-1][x+2] =
Xacid_splash_e
;
if (Cave[y-1][x] == Xblank)
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_wB
;
+ Cave[y-1][x] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Yalien_nB:
case Yalien_eB:
case Yalien_sB:
case Yalien_nB:
case Yalien_eB:
case Yalien_sB:
@@
-2638,11
+2638,11
@@
void synchro_2(void)
case Yalien_e:
case Yalien_s:
case Yalien_w:
case Yalien_e:
case Yalien_s:
case Yalien_w:
- Cave[y][x] = Yspring_
kill
_eB;
- Cave[y][x+1] = Yspring_
kill
_e;
+ Cave[y][x] = Yspring_
alien
_eB;
+ Cave[y][x+1] = Yspring_
alien
_e;
Next[y][x] = Xblank;
Next[y][x+1] = Xspring_e;
Next[y][x] = Xblank;
Next[y][x+1] = Xspring_e;
- play_element_sound(x, y, S
AMPLE
_slurp, Xalien);
+ play_element_sound(x, y, S
OUND
_slurp, Xalien);
score += lev.slurp_score;
goto loop;
score += lev.slurp_score;
goto loop;
@@
-2650,13
+2650,13
@@
void synchro_2(void)
case XbumperB:
Cave[y][x+1] = XbumperB;
Next[y][x] = Xspring_w;
case XbumperB:
Cave[y][x+1] = XbumperB;
Next[y][x] = Xspring_w;
- play_element_sound(x, y, S
AMPLE
_spring, Xspring);
+ play_element_sound(x, y, S
OUND
_spring, Xspring);
goto loop;
default:
Cave[y][x] = Xspring;
Next[y][x] = Xspring;
goto loop;
default:
Cave[y][x] = Xspring;
Next[y][x] = Xspring;
- play_element_sound(x, y, S
AMPLE
_spring, Xspring);
+ play_element_sound(x, y, S
OUND
_spring, Xspring);
goto loop;
}
goto loop;
}
@@
-2675,16
+2675,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yspring_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yspring_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Yspring_s;
Next[y][x] = Xblank;
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Yspring_s;
Next[y][x] = Xblank;
@@
-2707,16
+2707,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yspring_wB;
if (Cave[y-1][x] == Xblank)
case Xacid_8:
Cave[y][x] = Yspring_wB;
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_eB
;
+ Cave[y-1][x] =
Xacid_splash_e
;
if (Cave[y-1][x-2] == Xblank)
if (Cave[y-1][x-2] == Xblank)
- Cave[y-1][x-2] =
Yacid_splash_wB
;
+ Cave[y-1][x-2] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Yalien_nB:
case Yalien_eB:
case Yalien_sB:
case Yalien_nB:
case Yalien_eB:
case Yalien_sB:
@@
-2733,11
+2733,11
@@
void synchro_2(void)
case Yalien_e:
case Yalien_s:
case Yalien_w:
case Yalien_e:
case Yalien_s:
case Yalien_w:
- Cave[y][x] = Yspring_
kill
_wB;
- Cave[y][x-1] = Yspring_
kill
_w;
+ Cave[y][x] = Yspring_
alien
_wB;
+ Cave[y][x-1] = Yspring_
alien
_w;
Next[y][x] = Xblank;
Next[y][x-1] = Xspring_w;
Next[y][x] = Xblank;
Next[y][x-1] = Xspring_w;
- play_element_sound(x, y, S
AMPLE
_slurp, Xalien);
+ play_element_sound(x, y, S
OUND
_slurp, Xalien);
score += lev.slurp_score;
goto loop;
score += lev.slurp_score;
goto loop;
@@
-2745,13
+2745,13
@@
void synchro_2(void)
case XbumperB:
Cave[y][x-1] = XbumperB;
Next[y][x] = Xspring_e;
case XbumperB:
Cave[y][x-1] = XbumperB;
Next[y][x] = Xspring_e;
- play_element_sound(x, y, S
AMPLE
_spring, Xspring);
+ play_element_sound(x, y, S
OUND
_spring, Xspring);
goto loop;
default:
Cave[y][x] = Xspring;
Next[y][x] = Xspring;
goto loop;
default:
Cave[y][x] = Xspring;
Next[y][x] = Xspring;
- play_element_sound(x, y, S
AMPLE
_spring, Xspring);
+ play_element_sound(x, y, S
OUND
_spring, Xspring);
goto loop;
}
goto loop;
}
@@
-2770,16
+2770,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yspring_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yspring_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Zplayer:
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Yspring_s;
case Zplayer:
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Yspring_s;
@@
-2789,7
+2789,7
@@
void synchro_2(void)
case Xbomb:
case Xbomb_pause:
case Xbomb:
case Xbomb_pause:
- Cave[y+1][x] = Ybomb_
eat
;
+ Cave[y+1][x] = Ybomb_
blank
;
Next[y+1][x] = Znormal;
Boom[y][x-1] = Xblank;
Boom[y][x] = Xblank;
Next[y+1][x] = Znormal;
Boom[y][x-1] = Xblank;
Boom[y][x] = Xblank;
@@
-2801,18
+2801,18
@@
void synchro_2(void)
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
goto loop;
#endif
goto loop;
- case Xbug_n:
- case Xbug_e:
- case Xbug_s:
- case Xbug_w:
- case Xbug_
go
n:
- case Xbug_
go
e:
- case Xbug_
go
s:
- case Xbug_
go
w:
+ case Xbug_
1_
n:
+ case Xbug_
1_
e:
+ case Xbug_
1_
s:
+ case Xbug_
1_
w:
+ case Xbug_
2_
n:
+ case Xbug_
2_
e:
+ case Xbug_
2_
s:
+ case Xbug_
2_
w:
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Ybug_spring;
Next[y+1][x] = Znormal;
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Ybug_spring;
Next[y+1][x] = Znormal;
@@
-2826,19
+2826,19
@@
void synchro_2(void)
Boom[y+2][x] = Xemerald;
Boom[y+2][x+1] = Xemerald;
#if PLAY_ELEMENT_SOUND
Boom[y+2][x] = Xemerald;
Boom[y+2][x+1] = Xemerald;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
score += lev.bug_score;
goto loop;
#endif
score += lev.bug_score;
goto loop;
- case Xtank_n:
- case Xtank_e:
- case Xtank_s:
- case Xtank_w:
- case Xtank_
go
n:
- case Xtank_
go
e:
- case Xtank_
go
s:
- case Xtank_
go
w:
+ case Xtank_
1_
n:
+ case Xtank_
1_
e:
+ case Xtank_
1_
s:
+ case Xtank_
1_
w:
+ case Xtank_
2_
n:
+ case Xtank_
2_
e:
+ case Xtank_
2_
s:
+ case Xtank_
2_
w:
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Ytank_spring;
Next[y+1][x] = Znormal;
Cave[y][x] = Yspring_sB;
Cave[y+1][x] = Ytank_spring;
Next[y+1][x] = Znormal;
@@
-2852,7
+2852,7
@@
void synchro_2(void)
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
score += lev.tank_score;
goto loop;
#endif
score += lev.tank_score;
goto loop;
@@
-2874,7
+2874,7
@@
void synchro_2(void)
Boom[y+2][x] = lev.eater_array[lev.eater_pos][7];
Boom[y+2][x+1] = lev.eater_array[lev.eater_pos][8];
#if PLAY_ELEMENT_SOUND
Boom[y+2][x] = lev.eater_array[lev.eater_pos][7];
Boom[y+2][x+1] = lev.eater_array[lev.eater_pos][8];
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
lev.eater_pos = (lev.eater_pos + 1) & 7;
score += lev.eater_score;
#endif
lev.eater_pos = (lev.eater_pos + 1) & 7;
score += lev.eater_score;
@@
-2895,7
+2895,7
@@
void synchro_2(void)
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
Boom[y+2][x] = Xblank;
Boom[y+2][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
score += lev.alien_score;
goto loop;
#endif
score += lev.alien_score;
goto loop;
@@
-2903,7
+2903,7
@@
void synchro_2(void)
default:
Cave[y][x] = Xspring;
Next[y][x] = Xspring;
default:
Cave[y][x] = Xspring;
Next[y][x] = Xspring;
- play_element_sound(x, y, S
AMPLE
_spring, Xspring);
+ play_element_sound(x, y, S
OUND
_spring, Xspring);
goto loop;
}
goto loop;
}
@@
-2912,33
+2912,33
@@
void synchro_2(void)
case Xeater_n:
if (Cave[y][x+1] == Xdiamond)
{
case Xeater_n:
if (Cave[y][x+1] == Xdiamond)
{
- Cave[y][x+1] = Ydiamond_
eat
;
+ Cave[y][x+1] = Ydiamond_
blank
;
Next[y][x+1] = Xblank;
Next[y][x+1] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y+1][x] == Xdiamond)
{
goto loop;
}
if (Cave[y+1][x] == Xdiamond)
{
- Cave[y+1][x] = Ydiamond_
eat
;
+ Cave[y+1][x] = Ydiamond_
blank
;
Next[y+1][x] = Xblank;
Next[y+1][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y][x-1] == Xdiamond)
{
goto loop;
}
if (Cave[y][x-1] == Xdiamond)
{
- Cave[y][x-1] = Ydiamond_
eat
;
+ Cave[y][x-1] = Ydiamond_
blank
;
Next[y][x-1] = Xblank;
Next[y][x-1] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y-1][x] == Xdiamond)
{
goto loop;
}
if (Cave[y-1][x] == Xdiamond)
{
- Cave[y-1][x] = Ydiamond_
eat
;
+ Cave[y-1][x] = Ydiamond_
blank
;
Next[y-1][x] = Xblank;
Next[y-1][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
goto loop;
}
@@
-2954,16
+2954,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yeater_nB;
if (Cave[y-2][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yeater_nB;
if (Cave[y-2][x+1] == Xblank)
- Cave[y-2][x+1] =
Yacid_splash_eB
;
+ Cave[y-2][x+1] =
Xacid_splash_e
;
if (Cave[y-2][x-1] == Xblank)
if (Cave[y-2][x-1] == Xblank)
- Cave[y-2][x-1] =
Yacid_splash_wB
;
+ Cave[y-2][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
case Xplant:
case Yplant:
case Zplayer:
@@
-2975,7
+2975,7
@@
void synchro_2(void)
default:
Next[y][x] = RANDOM & 1 ? Xeater_e : Xeater_w;
default:
Next[y][x] = RANDOM & 1 ? Xeater_e : Xeater_w;
- play_element_sound(x, y, S
AMPLE
_eater, element);
+ play_element_sound(x, y, S
OUND
_eater, element);
goto loop;
}
goto loop;
}
@@
-2984,33
+2984,33
@@
void synchro_2(void)
case Xeater_e:
if (Cave[y+1][x] == Xdiamond)
{
case Xeater_e:
if (Cave[y+1][x] == Xdiamond)
{
- Cave[y+1][x] = Ydiamond_
eat
;
+ Cave[y+1][x] = Ydiamond_
blank
;
Next[y+1][x] = Xblank;
Next[y+1][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y][x-1] == Xdiamond)
{
goto loop;
}
if (Cave[y][x-1] == Xdiamond)
{
- Cave[y][x-1] = Ydiamond_
eat
;
+ Cave[y][x-1] = Ydiamond_
blank
;
Next[y][x-1] = Xblank;
Next[y][x-1] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y-1][x] == Xdiamond)
{
goto loop;
}
if (Cave[y-1][x] == Xdiamond)
{
- Cave[y-1][x] = Ydiamond_
eat
;
+ Cave[y-1][x] = Ydiamond_
blank
;
Next[y-1][x] = Xblank;
Next[y-1][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y][x+1] == Xdiamond)
{
goto loop;
}
if (Cave[y][x+1] == Xdiamond)
{
- Cave[y][x+1] = Ydiamond_
eat
;
+ Cave[y][x+1] = Ydiamond_
blank
;
Next[y][x+1] = Xblank;
Next[y][x+1] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
goto loop;
}
@@
-3026,16
+3026,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yeater_eB;
if (Cave[y-1][x+2] == Xblank)
case Xacid_8:
Cave[y][x] = Yeater_eB;
if (Cave[y-1][x+2] == Xblank)
- Cave[y-1][x+2] =
Yacid_splash_eB
;
+ Cave[y-1][x+2] =
Xacid_splash_e
;
if (Cave[y-1][x] == Xblank)
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_wB
;
+ Cave[y-1][x] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
case Xplant:
case Yplant:
case Zplayer:
@@
-3047,7
+3047,7
@@
void synchro_2(void)
default:
Next[y][x] = RANDOM & 1 ? Xeater_n : Xeater_s;
default:
Next[y][x] = RANDOM & 1 ? Xeater_n : Xeater_s;
- play_element_sound(x, y, S
AMPLE
_eater, element);
+ play_element_sound(x, y, S
OUND
_eater, element);
goto loop;
}
goto loop;
}
@@
-3056,33
+3056,33
@@
void synchro_2(void)
case Xeater_s:
if (Cave[y][x-1] == Xdiamond)
{
case Xeater_s:
if (Cave[y][x-1] == Xdiamond)
{
- Cave[y][x-1] = Ydiamond_
eat
;
+ Cave[y][x-1] = Ydiamond_
blank
;
Next[y][x-1] = Xblank;
Next[y][x-1] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y-1][x] == Xdiamond)
{
goto loop;
}
if (Cave[y-1][x] == Xdiamond)
{
- Cave[y-1][x] = Ydiamond_
eat
;
+ Cave[y-1][x] = Ydiamond_
blank
;
Next[y-1][x] = Xblank;
Next[y-1][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y][x+1] == Xdiamond)
{
goto loop;
}
if (Cave[y][x+1] == Xdiamond)
{
- Cave[y][x+1] = Ydiamond_
eat
;
+ Cave[y][x+1] = Ydiamond_
blank
;
Next[y][x+1] = Xblank;
Next[y][x+1] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y+1][x] == Xdiamond)
{
goto loop;
}
if (Cave[y+1][x] == Xdiamond)
{
- Cave[y+1][x] = Ydiamond_
eat
;
+ Cave[y+1][x] = Ydiamond_
blank
;
Next[y+1][x] = Xblank;
Next[y+1][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
goto loop;
}
@@
-3098,16
+3098,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yeater_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yeater_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
case Xplant:
case Yplant:
case Zplayer:
@@
-3119,7
+3119,7
@@
void synchro_2(void)
default:
Next[y][x] = RANDOM & 1 ? Xeater_e : Xeater_w;
default:
Next[y][x] = RANDOM & 1 ? Xeater_e : Xeater_w;
- play_element_sound(x, y, S
AMPLE
_eater, element);
+ play_element_sound(x, y, S
OUND
_eater, element);
goto loop;
}
goto loop;
}
@@
-3128,33
+3128,33
@@
void synchro_2(void)
case Xeater_w:
if (Cave[y-1][x] == Xdiamond)
{
case Xeater_w:
if (Cave[y-1][x] == Xdiamond)
{
- Cave[y-1][x] = Ydiamond_
eat
;
+ Cave[y-1][x] = Ydiamond_
blank
;
Next[y-1][x] = Xblank;
Next[y-1][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y][x+1] == Xdiamond)
{
goto loop;
}
if (Cave[y][x+1] == Xdiamond)
{
- Cave[y][x+1] = Ydiamond_
eat
;
+ Cave[y][x+1] = Ydiamond_
blank
;
Next[y][x+1] = Xblank;
Next[y][x+1] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y+1][x] == Xdiamond)
{
goto loop;
}
if (Cave[y+1][x] == Xdiamond)
{
- Cave[y+1][x] = Ydiamond_
eat
;
+ Cave[y+1][x] = Ydiamond_
blank
;
Next[y+1][x] = Xblank;
Next[y+1][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
if (Cave[y][x-1] == Xdiamond)
{
goto loop;
}
if (Cave[y][x-1] == Xdiamond)
{
- Cave[y][x-1] = Ydiamond_
eat
;
+ Cave[y][x-1] = Ydiamond_
blank
;
Next[y][x-1] = Xblank;
Next[y][x-1] = Xblank;
- play_element_sound(x, y, S
AMPLE
_eater_eat, element);
+ play_element_sound(x, y, S
OUND
_eater_eat, element);
goto loop;
}
goto loop;
}
@@
-3170,16
+3170,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yeater_wB;
if (Cave[y-1][x] == Xblank)
case Xacid_8:
Cave[y][x] = Yeater_wB;
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_eB
;
+ Cave[y-1][x] =
Xacid_splash_e
;
if (Cave[y-1][x-2] == Xblank)
if (Cave[y-1][x-2] == Xblank)
- Cave[y-1][x-2] =
Yacid_splash_wB
;
+ Cave[y-1][x-2] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
case Xplant:
case Yplant:
case Zplayer:
@@
-3191,7
+3191,7
@@
void synchro_2(void)
default:
Next[y][x] = RANDOM & 1 ? Xeater_n : Xeater_s;
default:
Next[y][x] = RANDOM & 1 ? Xeater_n : Xeater_s;
- play_element_sound(x, y, S
AMPLE
_eater, element);
+ play_element_sound(x, y, S
OUND
_eater, element);
goto loop;
}
goto loop;
}
@@
-3225,16
+3225,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yalien_nB;
if (Cave[y-2][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yalien_nB;
if (Cave[y-2][x+1] == Xblank)
- Cave[y-2][x+1] =
Yacid_splash_eB
;
+ Cave[y-2][x+1] =
Xacid_splash_e
;
if (Cave[y-2][x-1] == Xblank)
if (Cave[y-2][x-1] == Xblank)
- Cave[y-2][x-1] =
Yacid_splash_wB
;
+ Cave[y-2][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
case Xplant:
case Yplant:
case Zplayer:
@@
-3242,7
+3242,7
@@
void synchro_2(void)
Cave[y-1][x] = Yalien_n;
Next[y][x] = Xblank;
Next[y-1][x] = Xalien_pause;
Cave[y-1][x] = Yalien_n;
Next[y][x] = Xblank;
Next[y-1][x] = Xalien_pause;
- play_element_sound(x, y, S
AMPLE
_alien, Xalien);
+ play_element_sound(x, y, S
OUND
_alien, Xalien);
goto loop;
}
}
goto loop;
}
}
@@
-3261,15
+3261,15
@@
void synchro_2(void)
Cave[y][x] = Yalien_sB;
Next[y][x] = Xblank;
if (Cave[y][x+1] == Xblank)
Cave[y][x] = Yalien_sB;
Next[y][x] = Xblank;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ Cave[y][x-1] =
Xacid_splash_w
;
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
case Xplant:
case Yplant:
case Zplayer:
@@
-3277,7
+3277,7
@@
void synchro_2(void)
Cave[y+1][x] = Yalien_s;
Next[y][x] = Xblank;
Next[y+1][x] = Xalien_pause;
Cave[y+1][x] = Yalien_s;
Next[y][x] = Xblank;
Next[y+1][x] = Xalien_pause;
- play_element_sound(x, y, S
AMPLE
_alien, Xalien);
+ play_element_sound(x, y, S
OUND
_alien, Xalien);
goto loop;
}
}
goto loop;
}
}
@@
-3298,16
+3298,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yalien_eB;
if (Cave[y-1][x+2] == Xblank)
case Xacid_8:
Cave[y][x] = Yalien_eB;
if (Cave[y-1][x+2] == Xblank)
- Cave[y-1][x+2] =
Yacid_splash_eB
;
+ Cave[y-1][x+2] =
Xacid_splash_e
;
if (Cave[y-1][x] == Xblank)
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_wB
;
+ Cave[y-1][x] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
case Xplant:
case Yplant:
case Zplayer:
@@
-3315,7
+3315,7
@@
void synchro_2(void)
Cave[y][x+1] = Yalien_e;
Next[y][x] = Xblank;
Next[y][x+1] = Xalien_pause;
Cave[y][x+1] = Yalien_e;
Next[y][x] = Xblank;
Next[y][x+1] = Xalien_pause;
- play_element_sound(x, y, S
AMPLE
_alien, Xalien);
+ play_element_sound(x, y, S
OUND
_alien, Xalien);
goto loop;
}
}
goto loop;
}
}
@@
-3333,16
+3333,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yalien_wB;
if (Cave[y-1][x] == Xblank)
case Xacid_8:
Cave[y][x] = Yalien_wB;
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_eB
;
+ Cave[y-1][x] =
Xacid_splash_e
;
if (Cave[y-1][x-2] == Xblank)
if (Cave[y-1][x-2] == Xblank)
- Cave[y-1][x-2] =
Yacid_splash_wB
;
+ Cave[y-1][x-2] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
case Xplant:
case Yplant:
case Zplayer:
@@
-3350,7
+3350,7
@@
void synchro_2(void)
Cave[y][x-1] = Yalien_w;
Next[y][x] = Xblank;
Next[y][x-1] = Xalien_pause;
Cave[y][x-1] = Yalien_w;
Next[y][x] = Xblank;
Next[y][x-1] = Xalien_pause;
- play_element_sound(x, y, S
AMPLE
_alien, Xalien);
+ play_element_sound(x, y, S
OUND
_alien, Xalien);
goto loop;
}
}
goto loop;
}
}
@@
-3377,16
+3377,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yemerald_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yemerald_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yemerald_sB;
Cave[y+1][x] = Yemerald_s;
Next[y][x] = Xblank;
Cave[y][x] = Yemerald_sB;
Cave[y+1][x] = Yemerald_s;
Next[y][x] = Xblank;
@@
-3421,8
+3421,8
@@
void synchro_2(void)
case Xball_2:
case Xnut:
case Xnut_pause:
case Xball_2:
case Xnut:
case Xnut_pause:
- case X
grow
_ns:
- case X
grow
_ew:
+ case X
slidewall
_ns:
+ case X
slidewall
_ew:
case Xwonderwall:
case Xkey_1:
case Xkey_2:
case Xwonderwall:
case Xkey_1:
case Xkey_2:
@@
-3442,10
+3442,10
@@
void synchro_2(void)
case Xwall_2:
case Xwall_3:
case Xwall_4:
case Xwall_2:
case Xwall_3:
case Xwall_4:
- case Xround
_
wall_1:
- case Xround
_
wall_2:
- case Xround
_
wall_3:
- case Xround
_
wall_4:
+ case Xroundwall_1:
+ case Xroundwall_2:
+ case Xroundwall_3:
+ case Xroundwall_4:
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
@@
-3512,16
+3512,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yemerald_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yemerald_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yemerald_sB;
Cave[y+1][x] = Yemerald_s;
Next[y][x] = Xblank;
Cave[y][x] = Yemerald_sB;
Cave[y+1][x] = Yemerald_s;
Next[y][x] = Xblank;
@@
-3549,16
+3549,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yemerald_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yemerald_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Zplayer:
Cave[y][x] = Yemerald_sB;
Cave[y+1][x] = Yemerald_s;
case Zplayer:
Cave[y][x] = Yemerald_sB;
Cave[y+1][x] = Yemerald_s;
@@
-3578,14
+3578,14
@@
void synchro_2(void)
}
Next[y][x] = Xblank;
}
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_wonderfall, Xwonderwall);
+ play_element_sound(x, y, S
OUND
_wonderfall, Xwonderwall);
goto loop;
}
default:
Cave[y][x] = Xemerald;
Next[y][x] = Xemerald;
goto loop;
}
default:
Cave[y][x] = Xemerald;
Next[y][x] = Xemerald;
- play_element_sound(x, y, S
AMPLE
_diamond, Xemerald);
+ play_element_sound(x, y, S
OUND
_diamond, Xemerald);
goto loop;
}
goto loop;
}
@@
-3604,16
+3604,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ydiamond_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ydiamond_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Ydiamond_sB;
Cave[y+1][x] = Ydiamond_s;
Next[y][x] = Xblank;
Cave[y][x] = Ydiamond_sB;
Cave[y+1][x] = Ydiamond_s;
Next[y][x] = Xblank;
@@
-3648,8
+3648,8
@@
void synchro_2(void)
case Xball_2:
case Xnut:
case Xnut_pause:
case Xball_2:
case Xnut:
case Xnut_pause:
- case X
grow
_ns:
- case X
grow
_ew:
+ case X
slidewall
_ns:
+ case X
slidewall
_ew:
case Xwonderwall:
case Xkey_1:
case Xkey_2:
case Xwonderwall:
case Xkey_1:
case Xkey_2:
@@
-3669,10
+3669,10
@@
void synchro_2(void)
case Xwall_2:
case Xwall_3:
case Xwall_4:
case Xwall_2:
case Xwall_3:
case Xwall_4:
- case Xround
_
wall_1:
- case Xround
_
wall_2:
- case Xround
_
wall_3:
- case Xround
_
wall_4:
+ case Xroundwall_1:
+ case Xroundwall_2:
+ case Xroundwall_3:
+ case Xroundwall_4:
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
@@
-3739,16
+3739,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ydiamond_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ydiamond_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Ydiamond_sB;
Cave[y+1][x] = Ydiamond_s;
Next[y][x] = Xblank;
Cave[y][x] = Ydiamond_sB;
Cave[y+1][x] = Ydiamond_s;
Next[y][x] = Xblank;
@@
-3776,16
+3776,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ydiamond_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ydiamond_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Zplayer:
Cave[y][x] = Ydiamond_sB;
Cave[y+1][x] = Ydiamond_s;
case Zplayer:
Cave[y][x] = Ydiamond_sB;
Cave[y+1][x] = Ydiamond_s;
@@
-3805,14
+3805,14
@@
void synchro_2(void)
}
Next[y][x] = Xblank;
}
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_wonderfall, Xwonderwall);
+ play_element_sound(x, y, S
OUND
_wonderfall, Xwonderwall);
goto loop;
}
default:
Cave[y][x] = Xdiamond;
Next[y][x] = Xdiamond;
goto loop;
}
default:
Cave[y][x] = Xdiamond;
Next[y][x] = Xdiamond;
- play_element_sound(x, y, S
AMPLE
_diamond, Xdiamond);
+ play_element_sound(x, y, S
OUND
_diamond, Xdiamond);
goto loop;
}
goto loop;
}
@@
-3829,23
+3829,23
@@
void synchro_2(void)
case Xacid_6:
case Xacid_7:
case Xacid_8:
case Xacid_6:
case Xacid_7:
case Xacid_8:
- Cave[y][x] = Ydrip_
s1
B;
+ Cave[y][x] = Ydrip_
1_s
B;
if (Cave[y][x+1] == Xblank)
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xdrip_stretchB;
Next[y][x] = Xdrip_stretchB;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
case Xplant:
case Yplant:
case Zplayer:
case Xplant:
case Yplant:
case Zplayer:
- Cave[y][x] = Ydrip_
s1
B;
- Cave[y+1][x] = Ydrip_
s1
;
+ Cave[y][x] = Ydrip_
1_s
B;
+ Cave[y+1][x] = Ydrip_
1_s
;
Next[y][x] = Xdrip_stretchB;
Next[y+1][x] = Xdrip_stretch;
goto loop;
Next[y][x] = Xdrip_stretchB;
Next[y+1][x] = Xdrip_stretch;
goto loop;
@@
-3888,23
+3888,23
@@
void synchro_2(void)
Cave[y][x] = temp;
Next[y][x] = temp;
Cave[y][x] = temp;
Next[y][x] = temp;
- play_element_sound(x, y, S
AMPLE
_drip, Xdrip_fall);
+ play_element_sound(x, y, S
OUND
_drip, Xdrip_fall);
goto loop;
}
/* --------------------------------------------------------------------- */
case Xdrip_stretch:
goto loop;
}
/* --------------------------------------------------------------------- */
case Xdrip_stretch:
- Cave[y][x] = Ydrip_
s2
;
+ Cave[y][x] = Ydrip_
2_s
;
Next[y][x] = Xdrip_fall;
goto loop;
case Xdrip_stretchB:
Next[y][x] = Xdrip_fall;
goto loop;
case Xdrip_stretchB:
- Cave[y][x] = Ydrip_
s2
B;
+ Cave[y][x] = Ydrip_
2_s
B;
Next[y][x] = Xblank;
goto loop;
Next[y][x] = Xblank;
goto loop;
- case Xdrip
_eat
:
+ case Xdrip:
Next[y][x] = Xdrip_fall;
goto loop;
Next[y][x] = Xdrip_fall;
goto loop;
@@
-3923,16
+3923,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ybomb_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ybomb_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Ybomb_sB;
Cave[y+1][x] = Ybomb_s;
Next[y][x] = Xblank;
Cave[y][x] = Ybomb_sB;
Cave[y+1][x] = Ybomb_s;
Next[y][x] = Xblank;
@@
-3967,8
+3967,8
@@
void synchro_2(void)
case Xball_2:
case Xnut:
case Xnut_pause:
case Xball_2:
case Xnut:
case Xnut_pause:
- case X
grow
_ns:
- case X
grow
_ew:
+ case X
slidewall
_ns:
+ case X
slidewall
_ew:
case Xkey_1:
case Xkey_2:
case Xkey_3:
case Xkey_1:
case Xkey_2:
case Xkey_3:
@@
-3979,10
+3979,10
@@
void synchro_2(void)
case Xkey_8:
case Xbumper:
case Xswitch:
case Xkey_8:
case Xbumper:
case Xswitch:
- case Xround
_
wall_1:
- case Xround
_
wall_2:
- case Xround
_
wall_3:
- case Xround
_
wall_4:
+ case Xroundwall_1:
+ case Xroundwall_2:
+ case Xroundwall_3:
+ case Xroundwall_4:
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
if (RANDOM & 1)
{
if (tab_blank[Cave[y][x+1]] && tab_acid[Cave[y+1][x+1]])
@@
-4043,16
+4043,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ybomb_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ybomb_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Ybomb_sB;
Cave[y+1][x] = Ybomb_s;
Next[y][x] = Xblank;
Cave[y][x] = Ybomb_sB;
Cave[y+1][x] = Ybomb_s;
Next[y][x] = Xblank;
@@
-4080,16
+4080,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Ybomb_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Ybomb_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Ybomb_sB;
Cave[y+1][x] = Ybomb_s;
Next[y][x] = Xblank;
Cave[y][x] = Ybomb_sB;
Cave[y+1][x] = Ybomb_s;
Next[y][x] = Xblank;
@@
-4097,7
+4097,7
@@
void synchro_2(void)
goto loop;
default:
goto loop;
default:
- Cave[y][x] = Ybomb_
eat
;
+ Cave[y][x] = Ybomb_
blank
;
Next[y][x] = Znormal;
Boom[y-1][x-1] = Xblank;
Boom[y-1][x] = Xblank;
Next[y][x] = Znormal;
Boom[y-1][x-1] = Xblank;
Boom[y-1][x] = Xblank;
@@
-4109,7
+4109,7
@@
void synchro_2(void)
Boom[y+1][x] = Xblank;
Boom[y+1][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
Boom[y+1][x] = Xblank;
Boom[y+1][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
goto loop;
}
#endif
goto loop;
}
@@
-4135,16
+4135,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yballoon_nB;
if (Cave[y-2][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yballoon_nB;
if (Cave[y-2][x+1] == Xblank)
- Cave[y-2][x+1] =
Yacid_splash_eB
;
+ Cave[y-2][x+1] =
Xacid_splash_e
;
if (Cave[y-2][x-1] == Xblank)
if (Cave[y-2][x-1] == Xblank)
- Cave[y-2][x-1] =
Yacid_splash_wB
;
+ Cave[y-2][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yballoon_nB;
Cave[y-1][x] = Yballoon_n;
Next[y][x] = Xblank;
Cave[y][x] = Yballoon_nB;
Cave[y-1][x] = Yballoon_n;
Next[y][x] = Xblank;
@@
-4168,16
+4168,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yballoon_eB;
if (Cave[y-1][x+2] == Xblank)
case Xacid_8:
Cave[y][x] = Yballoon_eB;
if (Cave[y-1][x+2] == Xblank)
- Cave[y-1][x+2] =
Yacid_splash_eB
;
+ Cave[y-1][x+2] =
Xacid_splash_e
;
if (Cave[y-1][x] == Xblank)
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_wB
;
+ Cave[y-1][x] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yballoon_eB;
Cave[y][x+1] = Yballoon_e;
Next[y][x] = Xblank;
Cave[y][x] = Yballoon_eB;
Cave[y][x+1] = Yballoon_e;
Next[y][x] = Xblank;
@@
-4201,16
+4201,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yballoon_sB;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Yballoon_sB;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yballoon_sB;
Cave[y+1][x] = Yballoon_s;
Next[y][x] = Xblank;
Cave[y][x] = Yballoon_sB;
Cave[y+1][x] = Yballoon_s;
Next[y][x] = Xblank;
@@
-4234,16
+4234,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Yballoon_wB;
if (Cave[y-1][x] == Xblank)
case Xacid_8:
Cave[y][x] = Yballoon_wB;
if (Cave[y-1][x] == Xblank)
- Cave[y-1][x] =
Yacid_splash_eB
;
+ Cave[y-1][x] =
Xacid_splash_e
;
if (Cave[y-1][x-2] == Xblank)
if (Cave[y-1][x-2] == Xblank)
- Cave[y-1][x-2] =
Yacid_splash_wB
;
+ Cave[y-1][x-2] =
Xacid_splash_w
;
Next[y][x] = Xblank;
Next[y][x] = Xblank;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Yballoon_wB;
Cave[y][x-1] = Yballoon_w;
Next[y][x] = Xblank;
Cave[y][x] = Yballoon_wB;
Cave[y][x-1] = Yballoon_w;
Next[y][x] = Xblank;
@@
-4327,7
+4327,7
@@
void synchro_2(void)
if (lev.ball_state == 0)
goto loop;
if (lev.ball_state == 0)
goto loop;
- Cave[y][x] =
Xball_1B
;
+ Cave[y][x] =
Yball_1
;
Next[y][x] = Xball_2;
if (lev.ball_cnt)
goto loop;
Next[y][x] = Xball_2;
if (lev.ball_cnt)
goto loop;
@@
-4338,7
+4338,7
@@
void synchro_2(void)
if (lev.ball_state == 0)
goto loop;
if (lev.ball_state == 0)
goto loop;
- Cave[y][x] =
Xball_2B
;
+ Cave[y][x] =
Yball_2
;
Next[y][x] = Xball_1;
if (lev.ball_cnt)
goto loop;
Next[y][x] = Xball_1;
if (lev.ball_cnt)
goto loop;
@@
-4347,7
+4347,7
@@
void synchro_2(void)
ball_common:
ball_common:
- play_element_sound(x, y, S
AMPLE
_ball, element);
+ play_element_sound(x, y, S
OUND
_ball, element);
if (lev.ball_random)
{
switch (RANDOM & 7)
if (lev.ball_random)
{
switch (RANDOM & 7)
@@
-4356,7
+4356,7
@@
void synchro_2(void)
if (lev.ball_array[lev.ball_pos][0] != Xblank &&
tab_blank[Cave[y-1][x-1]])
{
if (lev.ball_array[lev.ball_pos][0] != Xblank &&
tab_blank[Cave[y-1][x-1]])
{
- Cave[y-1][x-1] = Yball_
eat
;
+ Cave[y-1][x-1] = Yball_
blank
;
Next[y-1][x-1] = lev.ball_array[lev.ball_pos][0];
}
break;
Next[y-1][x-1] = lev.ball_array[lev.ball_pos][0];
}
break;
@@
-4365,7
+4365,7
@@
void synchro_2(void)
if (lev.ball_array[lev.ball_pos][1] != Xblank &&
tab_blank[Cave[y-1][x]])
{
if (lev.ball_array[lev.ball_pos][1] != Xblank &&
tab_blank[Cave[y-1][x]])
{
- Cave[y-1][x] = Yball_
eat
;
+ Cave[y-1][x] = Yball_
blank
;
Next[y-1][x] = lev.ball_array[lev.ball_pos][1];
}
break;
Next[y-1][x] = lev.ball_array[lev.ball_pos][1];
}
break;
@@
-4374,7
+4374,7
@@
void synchro_2(void)
if (lev.ball_array[lev.ball_pos][2] != Xblank &&
tab_blank[Cave[y-1][x+1]])
{
if (lev.ball_array[lev.ball_pos][2] != Xblank &&
tab_blank[Cave[y-1][x+1]])
{
- Cave[y-1][x+1] = Yball_
eat
;
+ Cave[y-1][x+1] = Yball_
blank
;
Next[y-1][x+1] = lev.ball_array[lev.ball_pos][2];
}
break;
Next[y-1][x+1] = lev.ball_array[lev.ball_pos][2];
}
break;
@@
-4383,7
+4383,7
@@
void synchro_2(void)
if (lev.ball_array[lev.ball_pos][3] != Xblank &&
tab_blank[Cave[y][x-1]])
{
if (lev.ball_array[lev.ball_pos][3] != Xblank &&
tab_blank[Cave[y][x-1]])
{
- Cave[y][x-1] = Yball_
eat
;
+ Cave[y][x-1] = Yball_
blank
;
Next[y][x-1] = lev.ball_array[lev.ball_pos][3];
}
break;
Next[y][x-1] = lev.ball_array[lev.ball_pos][3];
}
break;
@@
-4392,7
+4392,7
@@
void synchro_2(void)
if (lev.ball_array[lev.ball_pos][4] != Xblank &&
tab_blank[Cave[y][x+1]])
{
if (lev.ball_array[lev.ball_pos][4] != Xblank &&
tab_blank[Cave[y][x+1]])
{
- Cave[y][x+1] = Yball_
eat
;
+ Cave[y][x+1] = Yball_
blank
;
Next[y][x+1] = lev.ball_array[lev.ball_pos][4];
}
break;
Next[y][x+1] = lev.ball_array[lev.ball_pos][4];
}
break;
@@
-4401,7
+4401,7
@@
void synchro_2(void)
if (lev.ball_array[lev.ball_pos][5] != Xblank &&
tab_blank[Cave[y+1][x-1]])
{
if (lev.ball_array[lev.ball_pos][5] != Xblank &&
tab_blank[Cave[y+1][x-1]])
{
- Cave[y+1][x-1] = Yball_
eat
;
+ Cave[y+1][x-1] = Yball_
blank
;
Next[y+1][x-1] = lev.ball_array[lev.ball_pos][5];
}
break;
Next[y+1][x-1] = lev.ball_array[lev.ball_pos][5];
}
break;
@@
-4410,7
+4410,7
@@
void synchro_2(void)
if (lev.ball_array[lev.ball_pos][6] != Xblank &&
tab_blank[Cave[y+1][x]])
{
if (lev.ball_array[lev.ball_pos][6] != Xblank &&
tab_blank[Cave[y+1][x]])
{
- Cave[y+1][x] = Yball_
eat
;
+ Cave[y+1][x] = Yball_
blank
;
Next[y+1][x] = lev.ball_array[lev.ball_pos][6];
}
break;
Next[y+1][x] = lev.ball_array[lev.ball_pos][6];
}
break;
@@
-4419,7
+4419,7
@@
void synchro_2(void)
if (lev.ball_array[lev.ball_pos][7] != Xblank &&
tab_blank[Cave[y+1][x+1]])
{
if (lev.ball_array[lev.ball_pos][7] != Xblank &&
tab_blank[Cave[y+1][x+1]])
{
- Cave[y+1][x+1] = Yball_
eat
;
+ Cave[y+1][x+1] = Yball_
blank
;
Next[y+1][x+1] = lev.ball_array[lev.ball_pos][7];
}
break;
Next[y+1][x+1] = lev.ball_array[lev.ball_pos][7];
}
break;
@@
-4430,56
+4430,56
@@
void synchro_2(void)
if (lev.ball_array[lev.ball_pos][0] != Xblank &&
tab_blank[Cave[y-1][x-1]])
{
if (lev.ball_array[lev.ball_pos][0] != Xblank &&
tab_blank[Cave[y-1][x-1]])
{
- Cave[y-1][x-1] = Yball_
eat
;
+ Cave[y-1][x-1] = Yball_
blank
;
Next[y-1][x-1] = lev.ball_array[lev.ball_pos][0];
}
if (lev.ball_array[lev.ball_pos][1] != Xblank &&
tab_blank[Cave[y-1][x]])
{
Next[y-1][x-1] = lev.ball_array[lev.ball_pos][0];
}
if (lev.ball_array[lev.ball_pos][1] != Xblank &&
tab_blank[Cave[y-1][x]])
{
- Cave[y-1][x] = Yball_
eat
;
+ Cave[y-1][x] = Yball_
blank
;
Next[y-1][x] = lev.ball_array[lev.ball_pos][1];
}
if (lev.ball_array[lev.ball_pos][2] != Xblank &&
tab_blank[Cave[y-1][x+1]])
{
Next[y-1][x] = lev.ball_array[lev.ball_pos][1];
}
if (lev.ball_array[lev.ball_pos][2] != Xblank &&
tab_blank[Cave[y-1][x+1]])
{
- Cave[y-1][x+1] = Yball_
eat
;
+ Cave[y-1][x+1] = Yball_
blank
;
Next[y-1][x+1] = lev.ball_array[lev.ball_pos][2];
}
if (lev.ball_array[lev.ball_pos][3] != Xblank &&
tab_blank[Cave[y][x-1]])
{
Next[y-1][x+1] = lev.ball_array[lev.ball_pos][2];
}
if (lev.ball_array[lev.ball_pos][3] != Xblank &&
tab_blank[Cave[y][x-1]])
{
- Cave[y][x-1] = Yball_
eat
;
+ Cave[y][x-1] = Yball_
blank
;
Next[y][x-1] = lev.ball_array[lev.ball_pos][3];
}
if (lev.ball_array[lev.ball_pos][4] != Xblank &&
tab_blank[Cave[y][x+1]])
{
Next[y][x-1] = lev.ball_array[lev.ball_pos][3];
}
if (lev.ball_array[lev.ball_pos][4] != Xblank &&
tab_blank[Cave[y][x+1]])
{
- Cave[y][x+1] = Yball_
eat
;
+ Cave[y][x+1] = Yball_
blank
;
Next[y][x+1] = lev.ball_array[lev.ball_pos][4];
}
if (lev.ball_array[lev.ball_pos][5] != Xblank &&
tab_blank[Cave[y+1][x-1]])
{
Next[y][x+1] = lev.ball_array[lev.ball_pos][4];
}
if (lev.ball_array[lev.ball_pos][5] != Xblank &&
tab_blank[Cave[y+1][x-1]])
{
- Cave[y+1][x-1] = Yball_
eat
;
+ Cave[y+1][x-1] = Yball_
blank
;
Next[y+1][x-1] = lev.ball_array[lev.ball_pos][5];
}
if (lev.ball_array[lev.ball_pos][6] != Xblank &&
tab_blank[Cave[y+1][x]])
{
Next[y+1][x-1] = lev.ball_array[lev.ball_pos][5];
}
if (lev.ball_array[lev.ball_pos][6] != Xblank &&
tab_blank[Cave[y+1][x]])
{
- Cave[y+1][x] = Yball_
eat
;
+ Cave[y+1][x] = Yball_
blank
;
Next[y+1][x] = lev.ball_array[lev.ball_pos][6];
}
if (lev.ball_array[lev.ball_pos][7] != Xblank &&
tab_blank[Cave[y+1][x+1]])
{
Next[y+1][x] = lev.ball_array[lev.ball_pos][6];
}
if (lev.ball_array[lev.ball_pos][7] != Xblank &&
tab_blank[Cave[y+1][x+1]])
{
- Cave[y+1][x+1] = Yball_
eat
;
+ Cave[y+1][x+1] = Yball_
blank
;
Next[y+1][x+1] = lev.ball_array[lev.ball_pos][7];
}
}
Next[y+1][x+1] = lev.ball_array[lev.ball_pos][7];
}
}
@@
-4490,36
+4490,36
@@
void synchro_2(void)
/* --------------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
- case X
grow
_ns:
+ case X
slidewall
_ns:
if (tab_blank[Cave[y-1][x]])
{
if (tab_blank[Cave[y-1][x]])
{
- Cave[y-1][x] = Y
grow_ns_eat
;
- Next[y-1][x] = X
grow
_ns;
- play_element_sound(x, y, S
AMPLE_grow, Xgrow
_ns);
+ Cave[y-1][x] = Y
slidewall_ns_blank
;
+ Next[y-1][x] = X
slidewall
_ns;
+ play_element_sound(x, y, S
OUND_slidewall, Xslidewall
_ns);
}
if (tab_blank[Cave[y+1][x]])
{
}
if (tab_blank[Cave[y+1][x]])
{
- Cave[y+1][x] = Y
grow_ns_eat
;
- Next[y+1][x] = X
grow
_ns;
- play_element_sound(x, y, S
AMPLE_grow, Xgrow
_ns);
+ Cave[y+1][x] = Y
slidewall_ns_blank
;
+ Next[y+1][x] = X
slidewall
_ns;
+ play_element_sound(x, y, S
OUND_slidewall, Xslidewall
_ns);
}
goto loop;
}
goto loop;
- case X
grow
_ew:
+ case X
slidewall
_ew:
if (tab_blank[Cave[y][x+1]])
{
if (tab_blank[Cave[y][x+1]])
{
- Cave[y][x+1] = Y
grow_ew_eat
;
- Next[y][x+1] = X
grow
_ew;
- play_element_sound(x, y, S
AMPLE_grow, Xgrow
_ew);
+ Cave[y][x+1] = Y
slidewall_ew_blank
;
+ Next[y][x+1] = X
slidewall
_ew;
+ play_element_sound(x, y, S
OUND_slidewall, Xslidewall
_ew);
}
if (tab_blank[Cave[y][x-1]])
{
}
if (tab_blank[Cave[y][x-1]])
{
- Cave[y][x-1] = Y
grow_ew_eat
;
- Next[y][x-1] = X
grow
_ew;
- play_element_sound(x, y, S
AMPLE_grow, Xgrow
_ew);
+ Cave[y][x-1] = Y
slidewall_ew_blank
;
+ Next[y][x-1] = X
slidewall
_ew;
+ play_element_sound(x, y, S
OUND_slidewall, Xslidewall
_ew);
}
goto loop;
}
goto loop;
@@
-4530,7
+4530,7
@@
void synchro_2(void)
if (lev.wonderwall_time && lev.wonderwall_state)
{
Cave[y][x] = XwonderwallB;
if (lev.wonderwall_time && lev.wonderwall_state)
{
Cave[y][x] = XwonderwallB;
- play_element_sound(x, y, S
AMPLE
_wonder, Xwonderwall);
+ play_element_sound(x, y, S
OUND
_wonder, Xwonderwall);
}
goto loop;
}
goto loop;
@@
-4558,7
+4558,7
@@
void synchro_2(void)
Next[y][x] = Xexit_1;
}
Next[y][x] = Xexit_1;
}
- play_element_sound(x, y, S
AMPLE
_exit_open, Xexit);
+ play_element_sound(x, y, S
OUND
_exit_open, Xexit);
goto loop;
goto loop;
@@
-4577,22
+4577,22
@@
void synchro_2(void)
/* --------------------------------------------------------------------- */
case Xdynamite_1:
/* --------------------------------------------------------------------- */
case Xdynamite_1:
- play_element_sound(x, y, S
AMPLE
_tick, Xdynamite_1);
+ play_element_sound(x, y, S
OUND
_tick, Xdynamite_1);
Next[y][x] = Xdynamite_2;
goto loop;
case Xdynamite_2:
Next[y][x] = Xdynamite_2;
goto loop;
case Xdynamite_2:
- play_element_sound(x, y, S
AMPLE
_tick, Xdynamite_2);
+ play_element_sound(x, y, S
OUND
_tick, Xdynamite_2);
Next[y][x] = Xdynamite_3;
goto loop;
case Xdynamite_3:
Next[y][x] = Xdynamite_3;
goto loop;
case Xdynamite_3:
- play_element_sound(x, y, S
AMPLE
_tick, Xdynamite_3);
+ play_element_sound(x, y, S
OUND
_tick, Xdynamite_3);
Next[y][x] = Xdynamite_4;
goto loop;
case Xdynamite_4:
Next[y][x] = Xdynamite_4;
goto loop;
case Xdynamite_4:
- play_element_sound(x, y, S
AMPLE
_tick, Xdynamite_4);
+ play_element_sound(x, y, S
OUND
_tick, Xdynamite_4);
Next[y][x] = Zdynamite;
Boom[y-1][x-1] = Xblank;
Boom[y-1][x] = Xblank;
Next[y][x] = Zdynamite;
Boom[y-1][x-1] = Xblank;
Boom[y-1][x] = Xblank;
@@
-4634,16
+4634,16
@@
void synchro_2(void)
case Xacid_8:
Cave[y][x] = Xsand_stonesand_quickout_1;
if (Cave[y][x+1] == Xblank)
case Xacid_8:
Cave[y][x] = Xsand_stonesand_quickout_1;
if (Cave[y][x+1] == Xblank)
- Cave[y][x+1] =
Yacid_splash_eB
;
+ Cave[y][x+1] =
Xacid_splash_e
;
if (Cave[y][x-1] == Xblank)
if (Cave[y][x-1] == Xblank)
- Cave[y][x-1] =
Yacid_splash_wB
;
+ Cave[y][x-1] =
Xacid_splash_w
;
Next[y][x] = Xsand_stonesand_quickout_2;
Next[y][x] = Xsand_stonesand_quickout_2;
- play_element_sound(x, y, S
AMPLE
_acid, Xacid_1);
+ play_element_sound(x, y, S
OUND
_acid, Xacid_1);
goto loop;
case Xblank:
goto loop;
case Xblank:
- case
Yacid_splash_eB
:
- case
Yacid_splash_wB
:
+ case
Xacid_splash_e
:
+ case
Xacid_splash_w
:
Cave[y][x] = Xsand_stonesand_quickout_1;
Cave[y+1][x] = Xsand_stoneout_1;
Next[y][x] = Xsand_stonesand_quickout_2;
Cave[y][x] = Xsand_stonesand_quickout_1;
Cave[y+1][x] = Xsand_stoneout_1;
Next[y][x] = Xsand_stonesand_quickout_2;
@@
-4729,9
+4729,9
@@
void synchro_2(void)
/* --------------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
- case X
dripper
:
+ case X
fake_amoeba
:
if (lev.lenses_cnt)
if (lev.lenses_cnt)
- Cave[y][x] = X
dripper
B;
+ Cave[y][x] = X
fake_amoeba
B;
goto loop;
/* --------------------------------------------------------------------- */
goto loop;
/* --------------------------------------------------------------------- */
@@
-4805,7
+4805,7
@@
void synchro_2(void)
Boom[y+1][x] = Xemerald;
Boom[y+1][x+1] = Xemerald;
#if PLAY_ELEMENT_SOUND
Boom[y+1][x] = Xemerald;
Boom[y+1][x+1] = Xemerald;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
goto loop;
#endif
goto loop;
@@
-4824,19
+4824,19
@@
void synchro_2(void)
Boom[y+1][x] = Xblank;
Boom[y+1][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
Boom[y+1][x] = Xblank;
Boom[y+1][x+1] = Xblank;
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, element);
+ play_element_sound(x, y, S
OUND
_boom, element);
#endif
goto loop;
case Xboom_android:
#if PLAY_ELEMENT_SOUND
#endif
goto loop;
case Xboom_android:
#if PLAY_ELEMENT_SOUND
- play_element_sound(x, y, S
AMPLE
_boom, Xandroid);
+ play_element_sound(x, y, S
OUND
_boom, Xandroid);
#endif
case Xboom_1:
Next[y][x] = Xboom_2;
#if !PLAY_ELEMENT_SOUND
if (x != lev.exit_x && y != lev.exit_y)
#endif
case Xboom_1:
Next[y][x] = Xboom_2;
#if !PLAY_ELEMENT_SOUND
if (x != lev.exit_x && y != lev.exit_y)
- play_sound(x, y, S
AMPLE
_boom);
+ play_sound(x, y, S
OUND
_boom);
else
lev.exit_x = lev.exit_y = -1;
#endif
else
lev.exit_x = lev.exit_y = -1;
#endif
@@
-4848,7
+4848,7
@@
void synchro_2(void)
/* --------------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
- case Z
BORDER
:
+ case Z
border
:
if (++y < HEIGHT - 1)
{
x = 0;
if (++y < HEIGHT - 1)
{
x = 0;