Further fixes

This commit is contained in:
Ethan Roseman 2020-07-22 21:01:17 -04:00
parent 12e39b0bc6
commit 9a016f7d8a
2 changed files with 2278 additions and 2383 deletions

File diff suppressed because it is too large Load Diff

8
papermario/tools/find_bogus_functions.py Normal file → Executable file
View File

@ -57,8 +57,6 @@ def process_file(path):
skip_next = False
continue
line = line.strip()
if "A4000658" in line:
dog = 5
if line.endswith(":") and not line.startswith(".L"):
func_preamble = line.startswith("func_")
@ -69,9 +67,9 @@ def process_file(path):
# func_12345689
# Delete redundant label below
if file_lines[i + 1].strip() == ".L" + label[5:13] + ":":
to_delete.append(i + 1)
skip_next = True
# if file_lines[i + 1].strip() == ".L" + label[5:13] + ":":
# to_delete.append(i + 1)
# skip_next = True
if linked_al_to:
# Seems to be legit. Do nothing for now