Commit graph

1975 commits

Author SHA1 Message Date
yenatch
a850331d31 Use a macro to define version constants. 2014-09-17 12:57:02 -07:00
yenatch
aa361c3bf7 Use move animation constants instead of static values.
This allows new moves and animations to be added without overlap.
2014-09-17 12:37:47 -07:00
yenatch
29aff84107 Enumerate move constants and add unnamed animation constants. 2014-09-17 12:36:49 -07:00
YamaArashi
2ed65d9c3e Commented/labelled misc functions 2014-09-14 11:29:18 -07:00
YamaArashi
0c916aea33 Commented more sprite and map code 2014-09-13 00:50:56 -07:00
YamaArashi
91793015e5 Labelled and commented mostly sprite-related things 2014-09-09 20:55:19 -07:00
YamaArashi
daf4fc87ae Add comments regarding menus and sprites 2014-09-08 23:32:33 -07:00
yenatch
342791a001 Use a macro for move attributes.
The formatting was pretty bad, so that's fixed too.
2014-09-01 17:59:10 -07:00
yenatch
8f49e37b82 Use hram constants for remaining joypad variables. 2014-08-30 19:48:49 -07:00
yenatch
365ae68d80 Use PARTY_LENGTH and related constants in menu and hud code.
This should allow reducing PARTY_LENGTH to work as intended.
Increasing it also works provided space is provided in wram, but breaks pc/saving.
2014-08-22 23:17:47 -07:00
yenatch
cf399a8c86 Split copy and serial functions out of home.asm. 2014-08-12 00:01:04 -07:00
YamaArashi
59f0507e4c Labelled many functions/variables 2014-08-08 22:39:13 -07:00
yenatch
1cf79b6f15 Fix static banks passed into GetName.
This appears to be the only other use of wPredefBank.

Chances are there are more uncaught banks. Known cases are marked as "hardcoded" or similar.
2014-08-07 21:17:44 -07:00
YamaArashi
c9946975d4 Commented function
- Named and commented Func_4c70.
- Removed gfx/diagonal_lines.png, which is not actually graphics.
2014-07-28 02:22:58 -07:00
yenatch
8dd46620bc Add a comment to the "compare" target. 2014-07-16 15:28:46 -07:00
U-Daniel-PC\Daniel
57113a7651 Don't redundantly define sprite dimensions
dimensions are defined in the .pic files
2014-07-15 09:31:30 -05:00
yenatch
4ad367ba98 Combine poke%.gbc build targets into a generalized one.
Now only one target is needed for all versions.

$$* also works instead of %, but in a pattern rule % is probably clearer.
2014-07-13 20:45:21 -07:00
yenatch
fb11ff7e55 Merge pull request #48 from yenatch/master
Clean up post-split main.asm. Get rid of static wram addresses. Lay out a foundation for Yellow.
2014-07-12 09:02:49 -04:00
yenatch
dbef0efa6c Add image suffixes to the makefile.
Explicitly define png dependencies (none).
This keeps make from looking for nonexistent dependencies with extensions like ".png.o".
This doesn't make it go any faster, but it at least makes debug easier.
2014-07-11 12:14:39 -07:00
yenatch
9ab6327361 Remove inline comments in an object recipe. 2014-07-11 12:01:05 -07:00
yenatch
8f7135aa69 Reorganize makefile targets for clarity. 2014-07-11 11:50:02 -07:00
yenatch
8396935a07 Comment the makefile. 2014-07-11 11:08:03 -07:00
U-Daniel-PC\Daniel
9f29f21d9d Update INSTALL.md
- git no longer requires gettext by default (needed for "git submodule init")
- Windows doesn't have sudo
- pip mysteriously will not install png.py
2014-07-08 13:58:02 -05:00
U-Fish-PC\Daniel
5de4c4b5c5 Fix Makefile: .map and .sym
The Makefile previously made the files '.map' and '.sym'
instead of 'poke[red/blue].map' and 'poke[red/blue].sym'
2014-06-26 17:44:42 -04:00
U-Fish-PC\Daniel
f8b8ebea93 S_SPRITEBUFFER0 static address 2014-06-25 18:49:52 -04:00
U-Fish-PC\Daniel
bd533aa79b Use *Coord instead of FuncCoord
Using 'Coord =' doesn't like using wTileMap
So use hlCoord, deCoord, bcCoord, aCoord, Coorda, or dwCoord
to avoid static addresses
2014-06-25 16:58:27 -04:00
yenatch
b36f793667 Use macros for predef calls/jumps instead of static ids. 2014-06-16 13:57:26 -07:00
yenatch
d10108a066 Use macros to define predefs. 2014-06-16 13:25:46 -07:00
yenatch
94dc695543 Fix a typo in home/vcopy.asm.
This must have happened when the file got split out of home.asm.
Since it was the first character on the line, it was interpreted as a label.
2014-06-16 13:07:00 -07:00
yenatch
35f2bb90d4 Rename predef functions so they aren't excessive in length.
This is mostly because of an rgbasm bug that prevents macro arguments
from exceeding 16 characters, but the names were bad anyway.
2014-06-16 13:03:05 -07:00
yenatch
38ac74f222 Remove generated "indirect jump" comments.
The destination is obvious when using the predef macro.
2014-06-16 11:37:36 -07:00
yenatch
81bbab85ac Hall of Fame sram labels and related constants. 2014-06-14 14:24:35 -07:00
yenatch
53ae0e93fa Use monster struct macros in wram. Rename related labels for consistency. 2014-06-14 04:12:40 -07:00
U-Fish-PC\Daniel
9eefed45f7 Use MAX_LEVEL instead of 100/$64 2014-06-10 17:06:30 -04:00
U-Fish-PC\Daniel
fee52c53a4 Make each pitch/instrument its own macro 2014-06-10 11:42:56 -04:00
U-Fish-PC\Daniel
f4e2814381 More music bank references
Now the AUDIO constants in audio.asm can be edited freely
2014-06-10 01:10:11 -04:00
U-Fish-PC\Daniel
b83acb03e5 Clean up white space 2014-06-09 16:58:02 -04:00
U-Fish-PC\Daniel
fadac928bc Clean up music bank references 2014-06-09 16:18:29 -04:00
U-Fish-PC\Daniel
d266f788b4 Merge branch 'master' of https://github.com/yenatch/pokered 2014-06-09 15:10:49 -04:00
U-Fish-PC\Daniel
683a62cc1c Combine wave files 2014-06-09 14:22:38 -04:00
U-Fish-PC\Daniel
0c7ed80e8f Improve music command names 2014-06-09 13:47:20 -04:00
yenatch
fc123e360b Space out monster constants to make gaps clearer. 2014-06-06 22:15:41 -07:00
yenatch
26361410b6 Comment SGB packets. 2014-06-06 22:08:06 -07:00
yenatch
35493bef27 Merge remote-tracking branch 'danny/master' 2014-06-06 16:03:47 -07:00
yenatch
80f7845a07 Explicit sections for pics, sprites and misc graphics. 2014-05-31 12:51:14 -07:00
yenatch
b32abf1f16 Split out joypad code from main.asm. 2014-05-31 12:25:40 -07:00
yenatch
6d8c6055b5 Split more code out of home.asm. 2014-05-31 12:25:34 -07:00
U-Fish-PC\Daniel
32de1b2694 Relabel a few missed map scripts and TheEndTextString 2014-05-31 10:35:46 -04:00
U-Fish-PC\Daniel
462a7e8cb9 Remove duplicated data 2014-05-31 10:30:02 -04:00
yenatch
d424eb4438 Use rgbasm -h to use halt without nops. 2014-05-31 00:39:09 -07:00