mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-23 06:35:33 -07:00
Include spear moblins and exclude flare dancer in clear rooms
This commit is contained in:
parent
405478afa0
commit
68749565b2
1 changed files with 2 additions and 3 deletions
|
@ -443,19 +443,18 @@ bool IsEnemyFoundToRandomize(int16_t sceneNum, int8_t roomNum, int16_t actorId,
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsEnemyAllowedToSpawn(int16_t sceneNum, int8_t roomNum, EnemyEntry enemy) {
|
bool IsEnemyAllowedToSpawn(int16_t sceneNum, int8_t roomNum, EnemyEntry enemy) {
|
||||||
|
|
||||||
uint32_t isMQ = ResourceMgr_IsSceneMasterQuest(sceneNum);
|
uint32_t isMQ = ResourceMgr_IsSceneMasterQuest(sceneNum);
|
||||||
|
|
||||||
// Freezard - Child Link can only kill this with jump slash Deku Sticks or other equipment like bombs.
|
// Freezard - Child Link can only kill this with jump slash Deku Sticks or other equipment like bombs.
|
||||||
// Beamos - Needs bombs.
|
// Beamos - Needs bombs.
|
||||||
// Shell Blade & Spike - Child Link can't kill these with sword or Deku Stick.
|
// Shell Blade & Spike - Child Link can't kill these with sword or Deku Stick.
|
||||||
// Arwing & Dark Link - Both go out of bounds way too easily, softlocking the player.
|
// Flare dancer, Arwing & Dark Link - Both go out of bounds way too easily, softlocking the player.
|
||||||
// Wallmaster - Not easily visible, often makes players think they're softlocked and that there's no enemies left.
|
// Wallmaster - Not easily visible, often makes players think they're softlocked and that there's no enemies left.
|
||||||
// Club Moblin - Many issues with them falling or placing out of bounds. Maybe fixable in the future?
|
// Club Moblin - Many issues with them falling or placing out of bounds. Maybe fixable in the future?
|
||||||
bool enemiesToExcludeClearRooms = enemy.id == ACTOR_EN_FZ || enemy.id == ACTOR_EN_VM || enemy.id == ACTOR_EN_SB ||
|
bool enemiesToExcludeClearRooms = enemy.id == ACTOR_EN_FZ || enemy.id == ACTOR_EN_VM || enemy.id == ACTOR_EN_SB ||
|
||||||
enemy.id == ACTOR_EN_NY || enemy.id == ACTOR_EN_CLEAR_TAG ||
|
enemy.id == ACTOR_EN_NY || enemy.id == ACTOR_EN_CLEAR_TAG ||
|
||||||
enemy.id == ACTOR_EN_WALLMAS || enemy.id == ACTOR_EN_TORCH2 ||
|
enemy.id == ACTOR_EN_WALLMAS || enemy.id == ACTOR_EN_TORCH2 ||
|
||||||
enemy.id == ACTOR_EN_MB;
|
(enemy.id == ACTOR_EN_MB && enemy.params == 0) || enemy.id == ACTOR_EN_FD;
|
||||||
|
|
||||||
// Bari - Spawns 3 more enemies, potentially extremely difficult in timed rooms.
|
// Bari - Spawns 3 more enemies, potentially extremely difficult in timed rooms.
|
||||||
bool enemiesToExcludeTimedRooms = enemiesToExcludeClearRooms || enemy.id == ACTOR_EN_VALI;
|
bool enemiesToExcludeTimedRooms = enemiesToExcludeClearRooms || enemy.id == ACTOR_EN_VALI;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue