Commit Graph

1307 Commits

Author SHA1 Message Date
Bryan Bishop
458709fc77 combine multiple calls to sys.stdout.write 2013-01-10 16:25:57 -06:00
Bryan Bishop
849a57c9f1 disable macro error checking by default 2013-01-10 15:58:24 -06:00
Bryan Bishop
fe8476d6bc make include_file faster in the preprocessor 2013-01-10 15:52:18 -06:00
Bryan Bishop
662f442221 disable '; original line' by default 2013-01-10 15:42:43 -06:00
Bryan Bishop
f558edafff even faster preprocessor 2013-01-10 15:34:30 -06:00
Bryan Bishop
f2fd544e20 make the preprocessor a little faster
This reduced the preprocessing time from 8s to 2.7s.
2013-01-10 15:19:56 -06:00
Bryan Bishop
3f95529102 saner import syntax in preprocessor 2013-01-10 15:07:36 -06:00
Bryan Bishop
a8811247b0 Merge pull request #74 from yenatch/master
Thing to build symfiles. Use with bgb or another debugger.
2013-01-10 00:04:02 -08:00
yenatch
e59a7c8d6f add symfile generation 2013-01-10 03:00:46 -05:00
Bryan Bishop
314c4ff12b Merge pull request #57 from yenatch/master
clean up pic pointers/incbins
2013-01-09 09:47:24 -08:00
Bryan Bishop
e468653640 Merge pull request #71 from iimarckus/shootbreeze
bank $72
2013-01-09 09:45:50 -08:00
IIMarckus
29cce49fcb Pull out some code related to map names / item descriptions. 2013-01-08 22:45:27 -07:00
IIMarckus
65d081334e Add string pointers and coordinates for town map locations. 2013-01-08 21:33:38 -07:00
yenatch
f4cd4152d7 fix pic incbin formatting 2013-01-07 02:25:01 -05:00
yenatch
8c6669f961 bank 5a is a carbon copy of bank 59 2013-01-07 00:17:56 -05:00
yenatch
a6087b0f93 trainer dvs 2013-01-05 00:33:21 -05:00
yenatch
2cdf7a3688 include all compressed and decompressed graphics
* frontpics & animation tiles
* backpics
* trainer pics
* attack animation gfx
* intro gfx
* intro tilemaps
* title gfx
* tilesets
* player backpic
* dude backpic
* pokegear/town map

fixes #33, #34 and #35
2013-01-04 04:08:13 -06:00
Bryan Bishop
65614f40c9 Merge pull request #53 from yenatch/master
Compressed graphics and gfx.py updates.
2013-01-02 09:39:10 -08:00
yenatch
7613a0e601 add original compressed gfx data 2013-01-02 04:41:34 -05:00
yenatch
e91f41dd35 allow other files to import gfx.py 2013-01-02 04:37:45 -05:00
yenatch
91726b3a53 clean up wram (excess partymon structs) 2013-01-01 17:08:26 -05:00
yenatch
3e953ad7b6 make gfx.py more convenient from command line 2013-01-01 16:31:05 -05:00
yenatch
9a64bb1581 remove last incbin in bank 3a 2013-01-01 14:20:15 -05:00
Bryan Bishop
81f2a4b7b5 Merge pull request #52 from yenatch/master
Bank 70 texts.
2012-12-31 21:11:21 -08:00
yenatch
afd101ebf8 bank 70 (text) 2012-12-31 23:53:30 -05:00
Bryan Bishop
98c1d9d09d Merge pull request #51 from yenatch/master
Image compression/decompression.
2012-12-31 20:10:43 -08:00
yenatch
a3fe9c00d0 decompress all known gfx 2012-12-31 22:53:40 -05:00
Bryan Bishop
e01f991e7f pedantic whitespace fix 2012-12-31 01:30:30 -06:00
Bryan Bishop
e9cf4a1c75 pedantic comma format fix 2012-12-31 01:29:30 -06:00
Bryan Bishop
2367cd9c38 Merge remote branch 'remotes/prizza/master'
Base stats.

fixes #50 and #45
2012-12-31 01:25:40 -06:00
Bryan Bishop
3ade49faee pokemon base stats structure + removed junk files 2012-12-31 00:35:19 -05:00
Bryan Bishop
da8b1e06e5 clean up whitespace 2012-12-28 12:37:58 -06:00
Bryan Bishop
0eb28d0e67 update address syntax again 2012-12-26 20:18:12 -06:00
Bryan Bishop
9ed07bd3a9 Merge remote branch 'remotes/yenatch/master'
Oops, missed a few commits last time.
2012-12-26 19:15:05 -06:00
Bryan Bishop
3b20ea2916 Merge remote branch 'remotes/yenatch/master'
fixes #49
2012-12-23 02:57:21 -06:00
padz
a2b7d31878 add SpecialRoamMons and reformat TypeEffects 2012-12-23 03:42:23 -05:00
padz
eb4db4618f clean up bank 0; time-sensitive fns; add Predef fn
comment redone joypad functions + automated input
comment some uncommented functions
comment known hram addresses
try to clean up CalcMagikarpLength
label known addresses
add time-sensitive functions (rtc, palettes)
add Predef and PredefPointers
2012-12-23 03:21:19 -05:00
Bryan Bishop
5e92861659 Merge pull request #47 from iimarckus/specialphonecall
specialphonecall takes a 16‐bit ID.
2012-12-17 20:07:04 -08:00
IIMarckus
19ce6e7a74 specialphonecall takes a 16‐bit ID. 2012-12-17 21:00:41 -07:00
Bryan Bishop
531ccfb5f6 update gbz80disasm to not use $ff00+$ff syntax 2012-12-16 09:16:04 -06:00
Bryan Bishop
4f1d108480 switch ld syntax from ff00+xx to ffxx
s/\([fF][fF]\)00+\$\([A-Za-z0-9]\)\([A-Za-z0-9]\)/\1\2\3/g

s/\([fF][fF]\)00+\$\([A-Za-z0-9]\)/\10\2/g
2012-12-16 08:45:19 -06:00
padz
8092f62cf4 expand on battle ram 2012-12-14 03:00:10 -05:00
padz
3bae3a5313 make gbz80disasm easier to use externally 2012-12-14 02:47:13 -05:00
Bryan Bishop
9d68470e0f even better preprocessor formatting 2012-11-30 10:26:49 -06:00
Bryan Bishop
671e2b1289 md5 -> hashlib 2012-11-30 10:17:23 -06:00
Bryan Bishop
3d8e7a1776 make preprocessor includable as a module
The preprocessor only runs against stdin when __main__ is activated,
instead of always running on stdin. This allows the file to be included
in an interactive python session or in other scenarios.
2012-11-30 10:12:27 -06:00
Bryan Bishop
935384f931 update spacing for read_line in preprocessor 2012-11-30 10:04:56 -06:00
Bryan Bishop
44c3eb1ccf make the include macro check better
The include macro is now checked against only the beginning of the line,
and comments in the asm file can say "INCLUDE \"" if they need to. In
addition, the preprocessor now supports INCLUDE lines that are preceded
by a tab character. However, if this included file has multiple lines,
the output will not be automatically aligned with the initial tab. This
might cause problems with rgbasm.
2012-11-30 10:01:33 -06:00
Bryan Bishop
1e6f295573 more preprocessor comments 2012-11-30 09:58:57 -06:00
Bryan Bishop
9b4718d0c7 clean up formatting in preprocessor 2012-11-30 09:56:15 -06:00