Commit Graph

2547 Commits

Author SHA1 Message Date
yenatch
f6a5d7b2f2 split pokedex flag handling into home/pokedex_flags.asm 2013-09-18 21:54:31 -04:00
yenatch
f958ba0e6d recomment IsInArray 2013-09-18 21:48:04 -04:00
yenatch
c074231a07 move window asm into home/window.asm 2013-09-18 21:40:48 -04:00
yenatch
5a4e4bdb41 fix some farcalls in window asm 2013-09-18 21:39:14 -04:00
yenatch
5249fd9773 fix padding in .lz files for attack graphics 2013-09-18 21:31:40 -04:00
yenatch
663c523ac4 fix formatting in player pic asm 2013-09-18 21:10:25 -04:00
yenatch
48bab16ea4 move dratini special into event/dratini.asm 2013-09-18 21:04:16 -04:00
yenatch
7cef3b76de move mon icons into menu/mon_icons.asm 2013-09-18 20:58:32 -04:00
yenatch
1e56e3e9af more encounter functions 2013-09-18 20:50:42 -04:00
yenatch
ee47d6ed17 more mobile functions 2013-09-16 17:52:23 -04:00
yenatch
e770ae20b2 clean up a couple mobile function comments
nothing here is actually commented out
2013-09-16 17:42:19 -04:00
yenatch
237861b553 rename hall of fame labels 2013-09-16 17:42:11 -04:00
yenatch
9ae1cd6a1c split title screen functions into engine/title.asm 2013-09-15 18:59:53 -04:00
yenatch
0ce5c4fe93 split the mobile adapter library into lib/mobile/ 2013-09-15 18:58:37 -04:00
yenatch
013c6fc368 some time-dependent function 2013-09-15 18:17:02 -04:00
yenatch
3370a04d9e split color asm and data into engine/color.asm 2013-09-15 18:02:02 -04:00
yenatch
fe92089694 dump a couple palettes in predef/cgb.asm 2013-09-15 17:31:18 -04:00
yenatch
c3cab23cda dump a palette set at the end of bank 2 2013-09-15 17:29:53 -04:00
yenatch
dd473e565b incbin some 0s back 2013-09-15 17:24:56 -04:00
yenatch
c738318dc0 move part of an incbin into predef/cgb.asm 2013-09-15 17:08:10 -04:00
yenatch
ab91f49e3b remove some incbins in bank 2 2013-09-15 17:01:17 -04:00
yenatch
44fac4fd70 finish an old script pointer table 2013-09-12 05:37:53 -04:00
Bryan Bishop
d536990828 Merge pull request #203 from yenatch/globals
consolidate labels across objects into globals.asm
2013-09-11 18:05:41 -07:00
yenatch
81c5f251a6 add globals.asm to .gitignore 2013-09-11 20:54:26 -04:00
yenatch
d6b53879f4 include globals.asm in pokecrystal.asm 2013-09-11 20:28:31 -04:00
yenatch
7fba45f668 fix a typo in Makefile
we want to link more than one object!
2013-09-11 20:27:16 -04:00
yenatch
e2aa3d7ea5 consolidate labels across objects into globals.asm
this is required for objects to share labels
2013-09-11 20:26:09 -04:00
yenatch
eaa790318a bump extras to use globals.asm 2013-09-11 20:23:57 -04:00
yenatch
4aae680b69 move wram constants into constants.asm; make all labels use :s
any global constants will have to be separate from any one object

there might be a better way to fix this, like pulling constants in preprocessor.py
2013-09-11 19:28:18 -04:00
yenatch
38be374d0a check that a source file exists before scanning it for includes 2013-09-11 19:17:25 -04:00
Bryan Bishop
18656332b7 Merge pull request #202 from yenatch/rgbasm-objects
makefile: support multiple rgbasm objects
2013-09-10 22:47:24 -07:00
yenatch
e11a56a1f6 use a docstring instead of comments in scan_includes 2013-09-11 01:40:53 -04:00
yenatch
74f8d746db abstract make targets are now phony 2013-09-11 01:26:51 -04:00
yenatch
84ba0ffc31 rename lzs make target to gfx 2013-09-11 01:25:39 -04:00
yenatch
c195276073 rename make variables for graphics files 2013-09-11 01:24:20 -04:00
yenatch
6a21963799 scan source files for Makefile dependencies
preprocessing should work with multiple object files now
2013-09-11 01:23:01 -04:00
yenatch
e1c3fee926 change old .tx includes to .asm
these were forgotten about with the last preprocessor change.
this is required for object dependencies to be handled by make.
2013-09-11 01:16:33 -04:00
yenatch
4db0e3c186 rewrite Makefile to handle multiple rgbasm objects
for now, any new files to preprocess will trigger the targets for all objects.
this isn't a problem yet since there's still only one object.
2013-09-10 19:30:31 -04:00
yenatch
018cf26767 move gbhw.asm and hram.asm to constants.asm
they're constants, so they have no business in pokecrystal.asm
2013-09-10 02:17:48 -04:00
yenatch
3e9e7663ec preprocess everything
it makes more sense this way
2013-09-10 02:05:33 -04:00
yenatch
23b7a4eace Merge branch 'master' into rgbasm-objects 2013-09-10 01:20:54 -04:00
Bryan Bishop
5f6ecb8d1e Merge pull request #201 from kanzure/fix-submodule-version
bump submodule again
2013-09-09 22:14:23 -07:00
Bryan Bishop
c8d24e7685 bump submodule again 2013-09-10 00:13:34 -05:00
yenatch
3f9f5953e4 Merge branch 'master' into rgbasm-objects 2013-09-10 00:57:02 -04:00
Bryan Bishop
3ac5d20c75 Merge pull request #200 from kanzure/update-refactored-preprocessor
Update preprocessor to use a class.

Bump the submodule.
2013-09-09 21:49:25 -07:00
yenatch
6e6514c2c9 no need to use python if baserom.gbc doesn't exist
this part is only reached if baserom.gbc doesn't exist,
so it's pointless to check if it does
2013-09-10 00:09:43 -04:00
yenatch
2b38b9ba21 suppress .tx handling in Makefile
there are too many .tx files for the commands to be meaningful

better to just look at the makefile to see what's going on
2013-09-09 23:47:44 -04:00
Bryan Bishop
0d6efda9bb Merge pull request #198 from yenatch/split-predefs-specials-stds
decouple home/ from engine/
2013-09-09 19:51:29 -07:00
yenatch
84a9b3907b rename common/ to home/ 2013-09-09 22:44:48 -04:00
yenatch
6439706943 split spikes effect into effects/spikes.asm 2013-09-09 22:02:26 -04:00