summaryrefslogtreecommitdiff
path: root/extras/crystal.py
AgeCommit message (Collapse)Author
2013-07-10crystal: add more movementsyenatch
2013-05-06Merge pull request #126 from yenatch/masterBryan Bishop
map scripts + ai + disabled line ending correction
2013-04-30Fix PointerLabelToScriptPointer classyenatch
used the current address instead of the parsed address
2013-04-27Merge yenatch/master.Bryan Bishop
2013-04-20damagecalc is actually damagestats; itemmultiplier is actually damagecalcyenatch
2013-03-29dump move effectsyenatch
2013-03-21fix docstring formatting everywhereBryan Bishop
2013-03-18Fix unused function parse_map_header_by_idyenatch
'Dunno' exception always fired even if parameters were correct
2013-03-01Script commands 0xb2 and 0xcc don't existyenatch
2013-02-27update automatic main.asm insertionBryan Bishop
This updates the automatic parsing of main.asm to catch cases of INCBINs pulling in files that end in .asm, .lz, .1bpp, and .2bpp. This is necessary because otherwise the parser tries to figure out the start and end addresses expressed on the INCBIN line, details not present on these types of lines in the asm. Asm and Asm.insert_all are now back in working condition.
2013-02-27make to_asm more configurableBryan Bishop
2013-02-27fix parameters for verbosegiveitem2 definitionBryan Bishop
2013-02-27oops, include map_namesBryan Bishop
2013-02-26separate map_names into map_names.pyBryan Bishop
2013-01-27various formatting fixes for crystal.pyBryan Bishop
2013-01-27replace wildcard import with explicit importBryan Bishop
2013-01-27make gbz80disasm work with python2.6 againBryan Bishop
There was an incompatible change to the json module api between py26 and py27, causing gbz80disasm to not work with py26. The fix is to simply alias the new loads method to the old read function. A possibly better plan might be to not support py26 at all.
2013-01-27remove a duplication of load_rom and load_asmBryan Bishop
2013-01-27better import syntax in crystal.pyBryan Bishop
2013-01-27split out more item_constants stuffBryan Bishop
Some of the item_constants functions are now placed in item_constants.py, and the unit tests now import from that file rather than from crystal.py for those functions.
2013-01-27split out tests into a separate fileBryan Bishop
2013-01-23fix label generatorBryan Bishop
Recently the bank lines were changed to use lowercase characters, breaking the generator for "labels.json".
2013-01-15clean up python script importsBryan Bishop
2013-01-15remove the Size class (unused)Bryan Bishop
2013-01-15split out IntervalMap into a separate fileBryan Bishop
2013-01-14add missing script command (3jumptext)yenatch
2013-01-14banish script parser output to debugyenatch
2012-12-28clean up whitespaceBryan Bishop
2012-12-17specialphonecall takes a 16‐bit ID.IIMarckus
2012-11-30md5 -> hashlibBryan Bishop
2012-11-30move allowed_lengths for music macros outBryan Bishop
This moves the allowed_lengths setting out of the preprocessor. Special cases should not be hardcoded in the preprocessor.
2012-11-30implement music macros; INCLUDE injection in prepadz
2012-10-11remove deprecated functions from crystal.pyBryan Bishop
2012-10-01clean up comments in extras/crystal.pyBryan Bishop
This fixes the inconsistent comment formatting throughout the file. There should be a space between the comment token and the comment message, otherwise this file is less fun to read.
2012-09-10call load_asm in scan_for_predefined_labelsBryan Bishop
2012-07-05use decimal output for givepoke in extras/crystal.pyBryan Bishop
2012-06-20more de-dependency-loopingBryan Bishop
2012-06-20move code around to avoid dependency loopsBryan Bishop
2012-06-02make unittest2 error show up in stderrBryan Bishop
2012-05-29fix up AsmSection and line_has_comment_addressBryan Bishop
2012-05-29move AsmList into romstr.py tooBryan Bishop
2012-05-29move RomStr into a shared fileBryan Bishop
2012-05-28use map constants for wildmons sectionsBryan Bishop
2012-05-28update to_asm on MapHeader to use the BANK macroBryan Bishop
2012-05-28insert all map connectionsBryan Bishop
2012-05-27don't use any particular formula for strip-destination west/eastBryan Bishop
2012-05-27fix typo in strip destination pointer (north) calculationsBryan Bishop
2012-05-27do all the connection to_asm outputBryan Bishop
2012-05-27asm output for strip pointer formulasBryan Bishop
2012-05-27better formulas for strip_destination and windowBryan Bishop