Various Worlds: use / explicitly for pkgutil (#4232)

This commit is contained in:
qwint
2024-12-08 19:59:40 -05:00
committed by GitHub
parent 5b4d7c7526
commit 1f712d9a87
8 changed files with 11 additions and 11 deletions

View File

@@ -75,7 +75,7 @@ def addBank34(rom, item_list):
.notCavesA:
add hl, de
ret
""" + pkgutil.get_data(__name__, os.path.join("bank3e.asm", "message.asm")).decode().replace("\r", ""), 0x4000), fill_nop=True)
""" + pkgutil.get_data(__name__, "bank3e.asm/message.asm").decode().replace("\r", ""), 0x4000), fill_nop=True)
nextItemLookup = ItemNameStringBufferStart
nameLookup = {

View File

@@ -56,7 +56,7 @@ def addBank3E(rom, seed, player_id, player_name_list):
"""))
def get_asm(name):
return pkgutil.get_data(__name__, os.path.join("bank3e.asm", name)).decode().replace("\r", "")
return pkgutil.get_data(__name__, "bank3e.asm/" + name).decode().replace("\r", "")
rom.patch(0x3E, 0x0000, 0x2F00, ASM("""
call MainJumpTable