Fixed indexing into wrong field in dungeon

This commit is contained in:
chordtoll
2024-10-20 01:04:27 -07:00
parent 90713fe723
commit 4bf7fb2d07

View File

@@ -7,8 +7,8 @@ extern struct dungeon* DUNGEON_PTR[];
void SetShouldBoostHiddenStairsSpawnChance(u8 should_boost)
{
#ifdef JAPAN
DUNGEON_PTR[0]->unknown_file_buffer_0x12162[0x96f]=should_boost;
DUNGEON_PTR[0]->boost_hidden_stairs_spawn_chance=should_boost;
#else
DUNGEON_PTR[0]->unknown_file_buffer_0x12162[0x9c3]=should_boost;
DUNGEON_PTR[0]->boost_hidden_stairs_spawn_chance=should_boost;
#endif
}