Commit Graph

2375 Commits

Author SHA1 Message Date
yenatch
ee98f7b489 Enumerate the move effect command macros. 2015-04-13 21:41:32 -07:00
yenatch
e7a3ba0592 Add a macro for enumeration.
"enum" is like "const" but uses variables instead. This might not be desired.

It has been moved to the top of macros.asm so that included macros can be enumerated.
2015-04-13 21:41:32 -07:00
yenatch
50734c961c Use labels for pic animation setup macros. 2015-04-13 21:41:28 -07:00
Bryan Bishop
64331ffe10 Merge pull request #283 from yenatch/master
no more baserom
2015-03-12 14:19:51 -05:00
yenatch
b5f55a5f6f bump extras so the build actually works without baserom.gbc
also fixed some problems with gfx.py:
- choking on filenames in graphics conversion
- faulty 'repeat' method in the compressor
2015-03-12 12:03:52 -07:00
yenatch
a09903a2a4 make compare 2015-03-11 22:37:36 -07:00
yenatch
074184c31c builds both 1.0 and 1.1 2015-03-11 22:35:47 -07:00
yenatch
967977b7af baserom.gbc is no longer required to build 2015-03-11 22:25:54 -07:00
yenatch
75ba97a039 no more incbins 2015-03-11 22:23:30 -07:00
yenatch
411335983e Unused palette maps? 2015-03-11 21:21:03 -07:00
yenatch
be975a3e80 Get rid of baserom incbins in misc/.
Battle Tower text was hiding here.
2015-03-11 21:16:02 -07:00
yenatch
788af45988 Get rid of baserom incbins in main.asm. 2015-03-11 18:33:20 -07:00
yenatch
0c10ae0e33 Merge pull request #282 from yenatch/master
Halts and more refs/constants.
2015-03-11 17:41:30 -04:00
yenatch
715f0c8a8f Merge remote-tracking branch 'kanzure/master' 2015-03-11 14:37:48 -07:00
Bryan Bishop
53b30efdfc Merge pull request #280 from dannye/master
Fix make clean; Final music incbins
2015-03-08 12:14:42 -05:00
yenatch
58e5b396c1 Use more struct offsets and constants for monsters and moves. 2015-03-03 18:31:57 -08:00
yenatch
3619b13d6c Fix some halts that were dumped as "db $76". 2015-03-03 18:31:51 -08:00
yenatch
adc41566aa Fix a static reference to a string in Pokedex code. 2015-03-03 18:31:46 -08:00
U-Daniel-PC\Daniel
fa1c2c573a Final music incbins 2015-02-15 21:22:51 -05:00
U-Daniel-PC\Daniel
370ffcfd8d Fix make clean
no more .tx files
remove rgbds generated files, .map and .sym
2015-02-14 10:14:58 -05:00
yenatch
35644c330e Merge pull request #279 from iimarckus/crystal11
Build both the 1.0 and 1.1 ROMs.
2015-02-14 04:18:47 -05:00
IIMarckus
828d6b92f0 Add the ability to build Crystal 1.1. 2015-02-14 01:51:34 -07:00
IIMarckus
b028e13834 Give an internal Pokédex status variable its own label.
This new label is used in revision 1.1 of Pokémon Crystal.
2015-02-14 01:40:38 -07:00
Bryan Bishop
d7bc1d12f2 Merge pull request #277 from yenatch/master
Start splitting code out of main.
2015-02-13 14:38:23 -06:00
yenatch
1480602df7 Move the map_header macro into macros/map.asm. 2015-02-11 23:27:11 -08:00
yenatch
2c5be67604 Move second map header macros into macros/map.asm.
On second thought, keep the data separate from ugly macros.
2015-02-11 23:27:11 -08:00
yenatch
48b05947b7 Use connection macros instead of guessed values in second map headers.
Some of the under-the-hood connection values are offset by an arbitrary amount. This could be because of a graphical connection editor allowing a shift in the strip destination pointer, as well as the standard alignment value. There is no visible difference, so it can be confusing when two unique sets of values can produce the same result.

Reversing this invisible offset was a major sticking point back when connections were dumped, but it was straightforward this time around. Much thanks to huderlem for articulating this quirk in pokered's connection macros.
2015-02-11 23:27:01 -08:00
yenatch
ca48571c51 Add another reference to OTPartyMonOT in link cable code. 2015-02-11 15:11:32 -08:00
yenatch
92e2ed3e61 Split out event scripting specials. 2015-02-11 15:09:35 -08:00
yenatch
943ddf6db0 Get rid of the now-unused specials constants. 2015-02-11 15:07:19 -08:00
yenatch
b048ea0faf Use labels for script specials instead of constants/static values. 2015-02-11 15:03:42 -08:00
yenatch
8bc89189cc Use NUM_MOVES more liberally in wram. 2015-02-11 14:17:45 -08:00
yenatch
9aef93701a Split out map object code. 2015-02-11 14:13:22 -08:00
yenatch
a31b4586df Split out the diploma code. 2015-02-11 14:08:07 -08:00
yenatch
f4e0e61114 Split out the map setup scripts. 2015-02-11 14:01:04 -08:00
yenatch
c6c220f1ad Split out spawn points. 2015-02-11 13:59:59 -08:00
yenatch
3977bd6208 Split out map triggers. 2015-02-11 13:45:33 -08:00
yenatch
25f5306a4d Split out the Pokedex code. 2015-02-11 13:36:02 -08:00
yenatch
e13565f933 Split out the pack code. 2015-02-11 13:27:15 -08:00
yenatch
994f89b490 Split out the move deleter code. 2015-02-11 13:20:22 -08:00
yenatch
6c492cb86d Comment PrintTempMonStats. 2015-02-11 13:15:38 -08:00
yenatch
3735185ec2 Use PartyMon labels in GetPartyParamLocation arguments. 2015-02-11 13:14:56 -08:00
yenatch
11b5c4c485 Add placeholder constants for ObjectStructs offsets.
Note that OBJECT_LENGTH is not associated with ObjectStructs (it's isntead used as the length of a MapObjects struct).
2015-02-10 23:03:46 -08:00
yenatch
6ff7b7413c Split 40k lines of mobile noise out of main.asm. 2015-02-10 19:15:15 -08:00
yenatch
b22a334793 Section "Video" in wram.asm doesn't need to be locked to an address. 2015-02-10 18:25:48 -08:00
yenatch
956b990cd2 Fix a bunch of palette copying errors and wram bank conflicts.
There are probably a bunch more labels with wrong banks. This takes care of the most noticeable ones.
2015-02-10 18:21:38 -08:00
yenatch
c0c081d60f Some coord labels in misc/crystal_misc.asm. 2015-02-10 17:59:50 -08:00
yenatch
b097617f9f Blind wram in maps. 2015-02-10 15:43:34 -08:00
yenatch
7c862ca7e2 Blind wram part 5.
starting to go smoothly
2015-02-10 15:43:27 -08:00
yenatch
c07ed74a5d Blind wram labels part 4. 2015-02-10 15:14:41 -08:00