summaryrefslogtreecommitdiff
path: root/pokemontools/crystal.py
AgeCommit message (Collapse)Author
2013-09-12pass around all_movements (not a global)Bryan Bishop
2013-09-12run_main -> mainBryan Bishop
2013-09-12pretty_print_trainer_id_constants to trainers.pyBryan Bishop
2013-09-12one preprocessor macro needs trainer_group_maximumBryan Bishop
2013-09-12knock out some trainer group globalsBryan Bishop
2013-09-12convert all_map_headers from a globalBryan Bishop
2013-09-12don't use the old header parsing methodBryan Bishop
2013-09-12remove globals from some map group parsersBryan Bishop
2013-09-12move old parsers from 'crystal' into crystalparts/Bryan Bishop
2013-09-12move find_labels_without_addresses into labels.pyBryan Bishop
2013-09-12don't override the object type/variableBryan Bishop
2013-09-12split OldTextScript out of crystal.pyBryan Bishop
This creates a new file called old_text_script.py with that huge class. Does this mean that I wrote this a second time when I wrote TextScript ?
2013-09-12remove a global from how_many_untilBryan Bishop
2013-09-12move is_valid_address into addresses.pyBryan Bishop
2013-09-12move load_asm2 next to load_asmBryan Bishop
2013-09-12remove global from load_asm2Bryan Bishop
Why is there even a second method in the first place?
2013-09-12move AsmLine into crystalparts/asmline.pyBryan Bishop
2013-09-02fix "labels" confusion in get_labels_betweenBryan Bishop
There was both the labels module and a list called labels. Rename the local variable to foundlabels instead.
2013-09-01move the map_names import to the topBryan Bishop
Maybe it will get more attention up here. It needs to be cleaned up since it's a global used throughout the source code, plus it gets modified multiple times everywhere. Awful.
2013-09-01better ordering of imports in crystal.pyBryan Bishop
2013-09-01docstring for MenuDataPointerParamBryan Bishop
2013-09-01log message for parse_script_asm_atBryan Bishop
2013-09-01move flatten and flattener into helpersBryan Bishop
2013-09-01fix typo in TrainerGroupTable assert messageBryan Bishop
2013-09-01use TextScriptException againBryan Bishop
2013-09-01make up TextScriptException to replace two assertsBryan Bishop
2013-09-01use a custom AddressException instead of assertsBryan Bishop
There's no reason to have asserts thrown around in the source code like that. This replaces some of them with an AddressException and a new file called "exceptions.py" to store the exception definitions.
2013-09-01move index and grouper into helpers.pyBryan Bishop
2013-09-01improve spacing in Incbin and AsmSectionBryan Bishop
2013-09-01fix spacing in get_pokemon_constant_by_idBryan Bishop
2013-09-01fix import item_constants syntaxBryan Bishop
2013-09-01fix import wram syntaxBryan Bishop
2013-09-01fix import pokemon_constants syntaxBryan Bishop
2013-09-01fix import old_parse_scriptsBryan Bishop
2013-09-01fix "from trainers import .." syntaxBryan Bishop
2013-09-01don't need reBryan Bishop
2013-09-01import interval_map syntaxBryan Bishop
2013-09-01"import pointers" instead of "from .. import .."Bryan Bishop
2013-09-01import move_constants syntaxBryan Bishop
2013-09-01"import romstr" instead of "from romstr import .."Bryan Bishop
2013-09-01"import chars" instead of "from chars import .."Bryan Bishop
2013-09-01move imports togetherBryan Bishop
2013-09-01"import pksv" instead of "from pksv import .."Bryan Bishop
2013-09-01import labels instead of "from .. import .."Bryan Bishop
2013-09-01don't import remove_quoted_text into crystal.pyBryan Bishop
This function isn't used in crystal.py, so it can be safely removed from the imports.
2013-09-01convert more prints to logging callsBryan Bishop
2013-09-01use logging in crystal.py instead of printBryan Bishop
2013-09-01docstring for crystal.pyBryan Bishop
2013-09-01remove bryan_message for NotImplementedErrorBryan Bishop
Nothing was using it.
2013-09-01remove an old comment about __main__ in crystal.pyBryan Bishop
The comment no longer applies.