From 6922cd3f6171b4420f912b6fecc2a87a521c051e Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 27 Jan 2013 16:54:58 -0600 Subject: better import syntax in crystal.py original-commit-id: 4dfb8d3b095c72336614ff6add54cc063321ed50 --- crystal.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'crystal.py') diff --git a/crystal.py b/crystal.py index 0b2da36..2077c37 100644 --- a/crystal.py +++ b/crystal.py @@ -1,6 +1,10 @@ # -*- coding: utf-8 -*- # utilities to help disassemble pokémon crystal -import sys, os, inspect, hashlib, json +import os +import sys +import inspect +import hashlib +import json from copy import copy, deepcopy import subprocess from new import classobj @@ -115,7 +119,10 @@ def map_name_cleaner(input): replace("hooh", "HoOh").\ replace(" ", "") -from romstr import RomStr, AsmList +from romstr import ( + RomStr, + AsmList, +) rom = RomStr(None) @@ -187,7 +194,10 @@ def load_map_group_offsets(): map_group_offsets.append(offset) return map_group_offsets -from pointers import calculate_bank, calculate_pointer +from pointers import ( + calculate_bank, + calculate_pointer, +) def calculate_pointer_from_bytes_at(address, bank=False): """calculates a pointer from 2 bytes at a location -- cgit v1.2.3