Change pot addresses

This commit is contained in:
cassidoxa
2022-04-23 01:25:34 -04:00
parent 16dfb2ad7b
commit 3fe0683fe5
2 changed files with 3 additions and 3 deletions

View File

@@ -90,8 +90,8 @@ INGAME_MODES = {0x07, 0x09, 0x0b}
SAVEDATA_START = WRAM_START + 0xF000
SAVEDATA_SIZE = 0x500
POT_ITEMS_SRAM_START = WRAM_START + 0x016600
SPRITE_ITEMS_SRAM_START = WRAM_START + 0x016850
POT_ITEMS_SRAM_START = WRAM_START + 0x016018
SPRITE_ITEMS_SRAM_START = WRAM_START + 0x016268
ITEM_SRAM_SIZE = 0x250
RECV_PROGRESS_ADDR = SAVEDATA_START + 0x4D0 # 2 bytes

View File

@@ -1090,7 +1090,7 @@ def create_pot_location(pot, pot_index, super_tile, world, player):
def pot_address(pot_index, super_tile):
return 0x7f6600 + super_tile * 2 + (pot_index << 24)
return 0x7f6018 + super_tile * 2 + (pot_index << 24)
# (type, room_id, shopkeeper, custom, locked, [items])