Commit Graph

2409 Commits

Author SHA1 Message Date
yenatch
275780271e Use a macro instead of manually subtracting $36 from pic banks. 2015-03-03 17:19:27 -05:00
yenatch
59434fbe4d Remove an accidental copy of attack animation graphics. 2015-03-03 17:09:37 -05: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
yenatch
62b473d6c6 Blind wram labels part 3. 2015-02-10 15:14:21 -08:00
yenatch
80b0d8cd2d Use wram labels in common text. 2015-02-10 14:18:29 -08:00
yenatch
849595e537 Blindly use wram labels for everything except mobile, part 2. 2015-02-10 14:18:23 -08:00
yenatch
8e03321069 Blindly use wram labels for everything except mobile, part 1.
Wram banks and mobile make this tough, since any address can secretly be a ghost.

As usual, mobile completely disregards 99% of the codebase. It's been ignored in kind.
2015-02-10 00:53:03 -08:00
yenatch
0683bc8770 Fix up remaining coords. 2015-02-07 23:06:52 -08:00
yenatch
e927a4c9f7 More hlcoord macros for recently dumped code. 2015-02-07 22:53:17 -08:00
yenatch
37ff5ddfd1 Rip the Stadium 2 footer. 2015-02-06 23:28:49 -08:00
yenatch
307706e679 There were actually 3 mobile chunks!
In retrospect these aren't saves at all--the mobile adapter does something funky with sram bank 6.
2015-02-06 23:26:53 -08:00
yenatch
47d25da38a Intro palettes. 2015-02-06 22:19:20 -08:00
yenatch
f326faef4d Dump known tilemaps and attribute maps. 2015-02-06 22:11:03 -08:00
yenatch
d3054dc4cb More graphics and straggling static refs. 2015-02-06 21:17:32 -08:00
yenatch
78a0c398c2 The last chunk of code? 2015-02-06 20:54:09 -08:00
Bryan Bishop
dab2395f53 Merge pull request #274 from yenatch/master
Dump some more incbinned graphics, mostly 1bpp.
2015-02-06 22:15:10 -06:00
yenatch
a0a12efcb7 Dump some more incbinned graphics, mostly 1bpp.
- Some mail graphics were dumped as 2bpp but are really 1bpp
- Some fonts weren't caught by the last dump
2015-02-06 20:10:39 -08:00
Bryan Bishop
0b113e5e6a Merge pull request #273 from yenatch/master
Dump a bunch of incbinned graphics.
2015-02-06 22:06:58 -06:00
yenatch
556435e0c7 A couple of the dumped graphics files were actually tilemaps. 2015-02-06 19:20:06 -08:00