Made the start of the Venus Kline fight the same as the original in Classic difficulty
This commit is contained in:
parent
7734959320
commit
51a1b67841
30
src/alien.c
30
src/alien.c
|
@ -1131,8 +1131,14 @@ void aliens_init()
|
|||
if (game.area == MISN_MOEBO)
|
||||
{
|
||||
aliens[ALIEN_BOSS].target = &player;
|
||||
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
||||
aliens[ALIEN_BOSS].y = screen->h / 2;
|
||||
if (game.difficulty == DIFFICULTY_ORIGINAL) {
|
||||
aliens[ALIEN_BOSS].x = -400;
|
||||
aliens[ALIEN_BOSS].y = 300;
|
||||
}
|
||||
else {
|
||||
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
||||
aliens[ALIEN_BOSS].y = screen->h / 2;
|
||||
}
|
||||
|
||||
aliens[ALIEN_BOSS_PART1].owner = &aliens[ALIEN_BOSS];
|
||||
aliens[ALIEN_BOSS_PART1].target = &player;
|
||||
|
@ -1148,8 +1154,14 @@ void aliens_init()
|
|||
|| (game.area == MISN_FELLON))
|
||||
{
|
||||
aliens[ALIEN_BOSS].target = &player;
|
||||
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
||||
aliens[ALIEN_BOSS].y = screen->h / 2;
|
||||
if (game.difficulty == DIFFICULTY_ORIGINAL) {
|
||||
aliens[ALIEN_BOSS].x = -400;
|
||||
aliens[ALIEN_BOSS].y = 300;
|
||||
}
|
||||
else {
|
||||
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
||||
aliens[ALIEN_BOSS].y = screen->h / 2;
|
||||
}
|
||||
|
||||
aliens[ALIEN_BOSS_PART1].owner = &aliens[ALIEN_BOSS_PART2];
|
||||
aliens[ALIEN_BOSS_PART1].target = &player;
|
||||
|
@ -1179,8 +1191,14 @@ void aliens_init()
|
|||
else if (game.area == MISN_URANUS)
|
||||
{
|
||||
aliens[ALIEN_BOSS].target = &player;
|
||||
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
||||
aliens[ALIEN_BOSS].y = screen->h / 2;
|
||||
if (game.difficulty == DIFFICULTY_ORIGINAL) {
|
||||
aliens[ALIEN_BOSS].x = -400;
|
||||
aliens[ALIEN_BOSS].y = 300;
|
||||
}
|
||||
else {
|
||||
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
||||
aliens[ALIEN_BOSS].y = screen->h / 2;
|
||||
}
|
||||
|
||||
aliens[ALIEN_BOSS_PART1].owner = &aliens[ALIEN_BOSS];
|
||||
aliens[ALIEN_BOSS_PART1].dy = -16;
|
||||
|
|
|
@ -399,6 +399,10 @@ void events_init()
|
|||
events[1].face = FS_KLINE;
|
||||
/// Dialog (Kline Kethlan)
|
||||
strcpy(events[1].message, _("You underestimate me, Bainfield."));
|
||||
if (game.difficulty == DIFFICULTY_ORIGINAL) {
|
||||
events[1].entity = ALIEN_KLINE;
|
||||
events[1].flag = -(FL_IMMORTAL | FL_NOMOVE | FL_NOFIRE);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
10
src/game.c
10
src/game.c
|
@ -2539,8 +2539,14 @@ int game_mainLoop()
|
|||
|
||||
if (game.area == MISN_VENUS)
|
||||
{
|
||||
aliens[ALIEN_KLINE].x = player.x + 1000;
|
||||
aliens[ALIEN_KLINE].y = player.y;
|
||||
if (game.difficulty == DIFFICULTY_ORIGINAL) {
|
||||
aliens[ALIEN_KLINE].flags |= FL_IMMORTAL | FL_NOFIRE | FL_NOMOVE;
|
||||
aliens[ALIEN_KLINE].x = 600;
|
||||
aliens[ALIEN_KLINE].y = 300;
|
||||
} else {
|
||||
aliens[ALIEN_KLINE].x = player.x + 1000;
|
||||
aliens[ALIEN_KLINE].y = player.y;
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0 ; i < ALIEN_MAX ; i++)
|
||||
|
|
Loading…
Reference in New Issue