mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
LADX: Text shuffle (#2051)
This commit is contained in:
@@ -116,7 +116,10 @@ class PointerTable:
|
||||
rom.banks[ptr_bank][ptr_addr] = pointer & 0xFF
|
||||
rom.banks[ptr_bank][ptr_addr + 1] = (pointer >> 8) | 0x40
|
||||
|
||||
for n, s in enumerate(self.__data):
|
||||
data = list(enumerate(self.__data))
|
||||
data.sort(key=lambda t: type(t[1]) == int or -len(t[1]))
|
||||
|
||||
for n, s in data:
|
||||
if isinstance(s, int):
|
||||
pointer = s
|
||||
else:
|
||||
|
Reference in New Issue
Block a user