You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
fix bad placement of MapScriptHeader_0x70000 in asm
This commit is contained in:
@@ -4609,7 +4609,7 @@ class Asm:
|
|||||||
if isinstance(object, AsmSection):
|
if isinstance(object, AsmSection):
|
||||||
continue
|
continue
|
||||||
#replace an incbin with three incbins, replace middle incbin with whatever
|
#replace an incbin with three incbins, replace middle incbin with whatever
|
||||||
elif isinstance(object, Incbin) and (object.address <= start_address <= object.last_address):
|
elif isinstance(object, Incbin) and (object.address <= start_address < object.last_address):
|
||||||
#split up the incbin into three segments
|
#split up the incbin into three segments
|
||||||
incbins = object.split(start_address, end_address - start_address)
|
incbins = object.split(start_address, end_address - start_address)
|
||||||
#figure out which incbin to replace with the new object
|
#figure out which incbin to replace with the new object
|
||||||
|
Reference in New Issue
Block a user