Made the start of the Venus Kline fight the same as the original in Classic difficulty

This commit is contained in:
Layla Marchant 2020-12-25 19:40:27 -05:00
parent 7734959320
commit 51a1b67841
No known key found for this signature in database
GPG Key ID: 52FB5C20A8336782
3 changed files with 36 additions and 8 deletions

View File

@ -1131,8 +1131,14 @@ void aliens_init()
if (game.area == MISN_MOEBO)
{
aliens[ALIEN_BOSS].target = &player;
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;
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;
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;

View File

@ -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;
}

View File

@ -2539,9 +2539,15 @@ int game_mainLoop()
if (game.area == MISN_VENUS)
{
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++)
{