From d9b994bf476246be1fca37ffebad27fb7e26a348 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Tue, 10 Jan 2012 13:42:21 -0600 Subject: fix gbz80disasm line repetition bug Certain two-byte op codes would be printed twice. hg-commit-id: 8c7650a614b7 --- extras/insert_texts.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'extras/insert_texts.py') diff --git a/extras/insert_texts.py b/extras/insert_texts.py index 282f0bdc..e9f2ae8e 100644 --- a/extras/insert_texts.py +++ b/extras/insert_texts.py @@ -424,7 +424,8 @@ if __name__ == "__main__": #insert_08_asm(83, 1) #insert_all_08s() - insert_asm(0x31cc, "LoadTrainerHeader") + insert_asm(0x2f9e, "GetMonName") - print "-- FAILED ATTEMPTS --" - print str(failed_attempts) + if len(failed_attempts) > 0: + print "-- FAILED ATTEMPTS --" + print str(failed_attempts) -- cgit v1.3.1-sl0p