Change pot addresses
This commit is contained in:
@@ -90,8 +90,8 @@ INGAME_MODES = {0x07, 0x09, 0x0b}
|
|||||||
SAVEDATA_START = WRAM_START + 0xF000
|
SAVEDATA_START = WRAM_START + 0xF000
|
||||||
SAVEDATA_SIZE = 0x500
|
SAVEDATA_SIZE = 0x500
|
||||||
|
|
||||||
POT_ITEMS_SRAM_START = WRAM_START + 0x016600
|
POT_ITEMS_SRAM_START = WRAM_START + 0x016018
|
||||||
SPRITE_ITEMS_SRAM_START = WRAM_START + 0x016850
|
SPRITE_ITEMS_SRAM_START = WRAM_START + 0x016268
|
||||||
ITEM_SRAM_SIZE = 0x250
|
ITEM_SRAM_SIZE = 0x250
|
||||||
|
|
||||||
RECV_PROGRESS_ADDR = SAVEDATA_START + 0x4D0 # 2 bytes
|
RECV_PROGRESS_ADDR = SAVEDATA_START + 0x4D0 # 2 bytes
|
||||||
|
|||||||
@@ -1090,7 +1090,7 @@ def create_pot_location(pot, pot_index, super_tile, world, player):
|
|||||||
|
|
||||||
|
|
||||||
def pot_address(pot_index, super_tile):
|
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])
|
# (type, room_id, shopkeeper, custom, locked, [items])
|
||||||
|
|||||||
Reference in New Issue
Block a user