LADX: apworld (#1665)

This commit is contained in:
zig-for
2023-04-06 11:06:34 -07:00
committed by GitHub
parent eef8f7af1a
commit ece6598b09
6 changed files with 22 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
from ..assembler import ASM
import os
import pkgutil
def updateEndScreen(rom):
# Call our custom data loader in bank 3F
@@ -134,6 +134,6 @@ loadLoop2:
"""))
addr = 0x1000
for c in open(os.path.join(os.path.dirname(__file__), "nyan.bin"), "rb").read():
rom.banks[0x3F][addr] = c
addr += 1
data = pkgutil.get_data(__name__, "nyan.bin")
rom.banks[0x3F][addr : addr + len(data)] = data