diff options
| author | Bryan Bishop <kanzure@gmail.com> | 2012-01-10 13:42:21 -0600 |
|---|---|---|
| committer | Bryan Bishop <kanzure@gmail.com> | 2012-01-10 13:42:21 -0600 |
| commit | d9b994bf476246be1fca37ffebad27fb7e26a348 (patch) | |
| tree | 670357a5511535a241c61b502b40cb7464a80327 /extras/insert_texts.py | |
| parent | implement two-byte op codes in gbz80disasm (diff) | |
| download | pokeyellow-d9b994bf476246be1fca37ffebad27fb7e26a348.tar.gz pokeyellow-d9b994bf476246be1fca37ffebad27fb7e26a348.tar.xz pokeyellow-d9b994bf476246be1fca37ffebad27fb7e26a348.zip | |
fix gbz80disasm line repetition bug
Certain two-byte op codes would be printed twice.
hg-commit-id: 8c7650a614b7
Diffstat (limited to 'extras/insert_texts.py')
| -rw-r--r-- | extras/insert_texts.py | 7 |
1 files changed, 4 insertions, 3 deletions
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) |
