Returned Classic difficulty start positions to relative.

This commit is contained in:
Layla Marchant 2020-12-25 23:43:25 -05:00
parent f209058367
commit 0112d8074f
No known key found for this signature in database
GPG Key ID: 52FB5C20A8336782
2 changed files with 8 additions and 26 deletions

View File

@ -1131,14 +1131,8 @@ 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].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;
@ -1154,14 +1148,8 @@ 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].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;
@ -1191,14 +1179,8 @@ 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].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

@ -50,8 +50,8 @@ void player_init()
{
player.active = 1;
if (game.difficulty == DIFFICULTY_ORIGINAL) {
player.x = 200;
player.y = 200;
player.x = screen->w / 4;
player.y = screen->h / 3;
}
else {
player.x = screen->w / 2;