summaryrefslogtreecommitdiff
path: root/crystal.py
AgeCommit message (Collapse)Author
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. original-commit-id: f8b1695b548403e5db7e65d22e10cde81be66861
2013-01-27split out tests into a separate fileBryan Bishop
original-commit-id: 35682de426c14eb18da736464ebf718927ef393e
2013-01-23fix label generatorBryan Bishop
Recently the bank lines were changed to use lowercase characters, breaking the generator for "labels.json". original-commit-id: a826951adbbe74f170219402791ceb4074c3c4de
2013-01-15clean up python script importsBryan Bishop
original-commit-id: 0a54ce9e75201d718b971789a6502f8205d2e986
2013-01-15remove the Size class (unused)Bryan Bishop
original-commit-id: 80781e56f045dca95e03ccf8d8851f44b0bae0df
2013-01-15split out IntervalMap into a separate fileBryan Bishop
original-commit-id: 536df0787f77db30144d47bda2c2105ee9ad1321
2013-01-14add missing script command (3jumptext)yenatch
original-commit-id: 28b565a01c40bf61990ad84c78cf602e2419256e
2013-01-14banish script parser output to debugyenatch
original-commit-id: acd6d354c8701f0ac296611fda2d184fdd8c15fc
2012-12-28clean up whitespaceBryan Bishop
original-commit-id: da8b1e06e5c2866cf73f469f08835c658713ff41
2012-12-17specialphonecall takes a 16‐bit ID.IIMarckus
original-commit-id: 19ce6e7a748094f8f74b123c6b803808ed530d90
2012-11-30md5 -> hashlibBryan Bishop
original-commit-id: 671e2b1289950586723078b3b29d14c9631ac140
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. original-commit-id: a1a9fa5560e01d97c7c33bbf8bb19fe4e76d3c28
2012-11-30implement music macros; INCLUDE injection in prepadz
original-commit-id: 3626ddebd1dd7363c98b403ba1fe3c2d7dc598ee
2012-10-11remove deprecated functions from crystal.pyBryan Bishop
original-commit-id: 69c012511242cda45d1e60014833823226583093
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. original-commit-id: e6c95e22c9a61b5a8817c7a5ae0fb235c01d722c
2012-09-10call load_asm in scan_for_predefined_labelsBryan Bishop
original-commit-id: d23972b7a3bf387ffa883fa0c8f2827b0b826e84
2012-07-05use decimal output for givepoke in extras/crystal.pyBryan Bishop
original-commit-id: 6f8c3e5c3ea2edb80fddd2d17cf689fc1da39120
2012-06-20more de-dependency-loopingBryan Bishop
original-commit-id: 1342ab67db4301563d317722d04fab9473411fda
2012-06-20move code around to avoid dependency loopsBryan Bishop
original-commit-id: ca07f1d64c0235b49160fc501553a70af8331d81
2012-06-02make unittest2 error show up in stderrBryan Bishop
original-commit-id: 914470651080df7cf0bf36e3fa45ed299dd694ec
2012-05-29fix up AsmSection and line_has_comment_addressBryan Bishop
original-commit-id: d174c8b7c6ba0fd9da2b8145e3f8ec5909917e29
2012-05-29move AsmList into romstr.py tooBryan Bishop
original-commit-id: 0edf9eb8b8d5bdf74b8af18401a92c2ce7a2c2a3
2012-05-29move RomStr into a shared fileBryan Bishop
original-commit-id: ee7d39bf046ca4b8c40eb293d50657cda151dc58
2012-05-28use map constants for wildmons sectionsBryan Bishop
original-commit-id: 0aecb683a0aa7a2c38f0f9bc5c1fff4085bf245e
2012-05-28update to_asm on MapHeader to use the BANK macroBryan Bishop
original-commit-id: a9b0eb4d87410f453c2135092ef2f810845b746a
2012-05-28insert all map connectionsBryan Bishop
original-commit-id: 5e37b9a97fc2b2054d35ce36575dd0fd204bb2bf
2012-05-27don't use any particular formula for strip-destination west/eastBryan Bishop
original-commit-id: 2fe10a6682299f03415c9d1ecceb11007a032691
2012-05-27fix typo in strip destination pointer (north) calculationsBryan Bishop
original-commit-id: 7d9552b5fa9be937f39dbe03c7f5f369c3886a7a
2012-05-27do all the connection to_asm outputBryan Bishop
original-commit-id: d48ce599970d3d7077477ed000dfb38e146d3448
2012-05-27asm output for strip pointer formulasBryan Bishop
original-commit-id: da74952bf72048e075073f5389630f964b42c7ce
2012-05-27better formulas for strip_destination and windowBryan Bishop
original-commit-id: 5b59d0776b5b07e6128f48d4e9743c8a3c0477ac
2012-05-27improve formulas for calculating strip_pointerBryan Bishop
original-commit-id: a32c6d0aa40b4d240b97828796da08b9becbd479
2012-05-27better equations for calculating strip_pointer in connectionsBryan Bishop
original-commit-id: 56e0795d0dd40cd9525291b13dbf4f2df2691bda
2012-05-26some broken codeBryan Bishop
original-commit-id: fbaadd97ac995da8d0f3dcbe68e75eed7ba2569d
2012-05-26east connections?Bryan Bishop
original-commit-id: 3a614ddcea0656a3297af78f305de64de38c41a1
2012-05-26fix MainText/PokedexText interactionBryan Bishop
original-commit-id: 30695eec25a544662752052d936cce231488002d
2012-05-26start to parse the connection dataBryan Bishop
original-commit-id: d88ea77cfafed57babb432eeb5ba64e7317c9db5
2012-05-24minor whitespace fixBryan Bishop
original-commit-id: 6074a55e3d40fb6e94ecb07092317bf54f5e7ad7
2012-05-23fix more height/weight confusion and whitespacingBryan Bishop
original-commit-id: 64f52b32ef3e271aff7e482d37bb76b3f35d7ed2
2012-05-24Dumped Pokédex data and entries.Sanky
original-commit-id: 765b555b47419526b7e442abb08b41d9f0f52478
2012-05-23fix PokedexText?Bryan Bishop
original-commit-id: 4ec6dfc5fea3429e920c80fb7384a23a7fa0996f
2012-05-23fix PokedexTextBryan Bishop
original-commit-id: 38eae01fcd134b4ef55ae8cac62626ff52015687
2012-05-23quick fix for PokedexTextBryan Bishop
original-commit-id: 1663472cf61e999168c2ba2a4b5f55de56c95c91
2012-05-23use PokedexText to parse text-script-like text without the first bash commandBryan Bishop
original-commit-id: 0c778f2930d91dbfde77b75c0147240c713a5085
2012-05-22Use Pokémon IDs for the “cry” macro.IIMarckus
original-commit-id: bd1760f3f978f8cd0e5fbd65a7aedad612b4381f
2012-05-22dump-insert the stringtotext targetsBryan Bishop
original-commit-id: 4b2d26965ef9f48860d83e3b19fddc7fda0db799
2012-05-22use EncodedText for stringtotext paramsBryan Bishop
original-commit-id: 256795769263d5fc392e1ca4b56736832a4a9d64
2012-05-22check if trainer_names has been set yet before using that keyBryan Bishop
original-commit-id: cb5eae3e9de8c1a79ce6b69a70fb4a5dd0b73d9b
2012-05-22add '@' to EncodedText outputBryan Bishop
original-commit-id: c16d796c27ad011f409f2110cf3e50b94198812a
2012-05-21at least try to keep HoOh in tact in label namesBryan Bishop
original-commit-id: e517b30a14e39f60b0f98c2c7184771245aa2465