From 07016dcf455f0da3a6de4857b6de46801dd5a79f Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 14 Jan 2012 21:49:55 -0600 Subject: insert _VermilionCityText14 machop text hg-commit-id: 22d36f8bc08e --- extras/analyze_texts.py | 1 + extras/insert_texts.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'extras') diff --git a/extras/analyze_texts.py b/extras/analyze_texts.py index cf25e687..b24a170a 100644 --- a/extras/analyze_texts.py +++ b/extras/analyze_texts.py @@ -403,6 +403,7 @@ def text_pretty_printer_at(start_address, label="SomeLabel"): first_line = True for this_command in commands.keys(): + if not "lines" in commands[this_command].keys(): continue lines = commands[this_command]["lines"] #add the ending byte to the last line- always seems $57 diff --git a/extras/insert_texts.py b/extras/insert_texts.py index b3ec4062..7a61e854 100644 --- a/extras/insert_texts.py +++ b/extras/insert_texts.py @@ -600,7 +600,8 @@ if __name__ == "__main__": #load incbins reset_incbins() - scan_for_map_scripts_pointer() + #scan_for_map_scripts_pointer() + insert_text(0xa586b, "_VermilionCityText14") #insert _ViridianCityText10 #insert_tx_far(1, 10) -- cgit v1.3.1-sl0p