Commit Graph

679 Commits

Author SHA1 Message Date
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
Bryan Bishop a1a9fa5560 move allowed_lengths for music macros out
This moves the allowed_lengths setting out of the preprocessor. Special
cases should not be hardcoded in the preprocessor.
2012-11-30 09:54:02 -06:00
Bryan Bishop bdad293da3 Merge pull request #46 from yenatch/master
parse and dump music data
2012-11-30 07:49:19 -08:00
padz 5a8318788c get rid of defunct rgbasm macros 2012-11-30 06:03:04 -05:00
padz 041de2adf3 update music ptrs + labels and include music files 2012-11-30 05:59:13 -05:00
padz 3626ddebd1 implement music macros; INCLUDE injection in pre 2012-11-30 05:58:00 -05:00
padz bfbb9b77e8 remove deprecated music files 2012-11-30 05:55:29 -05:00
padz 0dba59e490 parse and dump music data 2012-11-30 05:52:23 -05:00
Bryan Bishop 947bb5eeb2 Merge pull request #44 from yenatch/master
CheckSurfOW
2012-11-24 06:21:38 -08:00
padz 544f3f5c2f add surf checks and related functions 2012-11-24 02:01:05 -05:00
padz c82557c934 more wram.asm typos 2012-11-24 02:00:26 -05:00
padz 147eb967e5 fix a typo in wram.asm 2012-11-23 23:03:01 -05:00
padz 66f40bf3c1 update constants used in scripts and battle engine 2012-11-23 22:11:55 -05:00
padz e4cfbdc886 flesh out wram, fix unallocated labels 2012-11-23 21:19:02 -05:00
Bryan Bishop 8a5d12b730 Merge pull request #43 from iimarckus/master
trades
2012-11-19 08:16:02 -08:00
IIMarckus 0536f9f352 Add trade data. 2012-11-19 02:57:37 -07:00
padz 1b54f73323 play nice w/ cygwin; undeprecate used command 2012-11-15 02:33:02 -05:00
Bryan Bishop 0cce53bea3 Merge pull request #41 from yenatch/master
bank 3a and /music
2012-11-03 00:59:08 -07:00
padz b7c788c654 move musicdata to files in /music, data removed fn 2012-11-03 03:25:08 -04:00
padz 22ac1dfaf0 disasm bank3a, map audio ram, implement musscripts 2012-11-03 00:45:14 -04:00
padz 95ac2a8da6 prep for next commit 2012-11-02 18:43:05 -04:00
IIMarckus ef93cdf313 Improve labels for Elm’s lab. 2012-10-25 14:43:04 -06:00
Bryan Bishop 1795b9fbae Merge pull request #40 from yenatch/master
start on sound
2012-10-11 21:44:28 -07:00
padz 2369bd7ed2 add missing instruction 2012-10-11 23:12:42 -04:00
padz 5635c2027a start sfx disasm 2012-10-11 20:35:22 -04:00
Bryan Bishop 69c0125112 remove deprecated functions from crystal.py 2012-10-11 19:05:49 -05:00
Bryan Bishop 82f7e98306 get an address given a label 2012-10-11 18:52:54 -05:00
padz 811ea2071d add dn macro 2012-10-09 14:54:39 -04:00
padz 3383c45c27 fixed problems with wram.asm, compiles now 2012-10-09 04:43:45 -04:00