Fix for keydrops/enemy drops to not be repeatable

This commit is contained in:
aerinon
2022-05-03 13:55:39 -06:00
parent ea745ff22e
commit 6ab426b9f3
5 changed files with 6 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ from Utils import output_path, parse_player_names
from source.item.FillUtil import create_item_pool_config, massage_item_pool, district_item_pool_config from source.item.FillUtil import create_item_pool_config, massage_item_pool, district_item_pool_config
from source.tools.BPS import create_bps_from_data from source.tools.BPS import create_bps_from_data
__version__ = '1.0.2.1-v' __version__ = '1.0.2.2-v'
from source.classes.BabelFish import BabelFish from source.classes.BabelFish import BabelFish

View File

@@ -1052,7 +1052,7 @@ class PotSecretTable(object):
rom.write_bytes(pointer_address + room * 2, int16_as_bytes(data_address)) rom.write_bytes(pointer_address + room * 2, int16_as_bytes(data_address))
for pot in self.room_map[room]: for pot in self.room_map[room]:
rom.write_bytes(data_pointer + list_idx * 3, pot.pot_data()) rom.write_bytes(data_pointer + list_idx * 3, pot.pot_data())
if pot.location is not None: if pot.location is not None and not pot.location.forced_item:
collection_rate_mask |= 1 << (15 - list_idx) collection_rate_mask |= 1 << (15 - list_idx)
if colorize and pot.obj_ref: if colorize and pot.obj_ref:
pot.obj_ref.change_type(Shuffled_Pot) pot.obj_ref.change_type(Shuffled_Pot)

View File

@@ -157,6 +157,9 @@ Same as above but both small keys and bigs keys of the dungeon are not allowed o
#### Volatile #### Volatile
* 1.0.2.2
* Change to all key pots and enemy key drops: always use the same address
* Don't colorize key pots in mystery is the item is "forced"
* 1.0.2.1 * 1.0.2.1
* Fix for paired doors * Fix for paired doors
* Fix for forbidding certain dashable doors (it actually does something this time) * Fix for forbidding certain dashable doors (it actually does something this time)

2
Rom.py
View File

@@ -37,7 +37,7 @@ from source.dungeon.RoomList import Room0127
JAP10HASH = '03a63945398191337e896e5771f77173' JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = '490b6fa137b3f76a76d4e4905ddfb34b' RANDOMIZERBASEHASH = '94fd47b16641a1aa44f22e21c8a7a024'
class JsonRom(object): class JsonRom(object):

Binary file not shown.