Commit Graph

400 Commits

Author SHA1 Message Date
yenatch
05def441e8 Include some more gfx 2013-02-25 14:16:59 -05:00
yenatch
98e623a44a Truncate empty incbins (mostly EOB) 2013-02-24 17:59:38 -05:00
yenatch
89e2edf1f7 More title screen asm 2013-02-24 04:18:03 -05:00
yenatch
78e0e17e53 finally disassemble FarCall (rst $8) 2013-02-24 04:17:58 -05:00
yenatch
8bbfa54059 PlayCryHeader and related wram 2013-02-23 16:57:25 -05:00
yenatch
f56f340ce1 Label hw registers 2013-02-22 20:02:10 -05:00
yenatch
da406973c5 Split out joypad 2013-02-22 20:02:03 -05:00
yenatch
9102b9a498 Move fonts into gfx/misc 2013-02-22 19:53:14 -05:00
yenatch
340e028c49 spruce up CheckUnownLetter 2013-02-18 20:14:30 -05:00
yenatch
fd51a5a3b1 Split magikarp length calcs out 2013-02-18 20:14:25 -05:00
yenatch
7e3ae21e53 Split landmarks out 2013-02-17 02:56:50 -05:00
yenatch
23bdfa2b4c Split move names out 2013-02-17 02:45:38 -05:00
yenatch
a2de02b504 Split item names and descriptions from main.asm 2013-02-17 02:42:29 -05:00
yenatch
59f6291afb Split common text out of main.asm 2013-02-17 02:19:49 -05:00
yenatch
48dbfc6333 Split map scripts, text, events from main.asm
The commit we deserve
2013-02-17 01:59:06 -05:00
yenatch
860d7447f9 Point to map groups instead of their first header 2013-02-15 23:25:29 -05:00
yenatch
b52aa98325 Split map headers and second map headers from main.asm 2013-02-15 22:02:15 -05:00
yenatch
5447792dd5 Last map header label 2013-02-12 14:58:17 -05:00
yenatch
39171b916d Fix compressed graphics and filestructure
-No more /lz folders.

-Fixed some lz files that didn't have terminators
  An extraction error caused some lz files in gfx/misc/ to lack
  terminators. These slipped through the cracks since they were
  surrounded by incbins calculated from the filesize, and the
  original decompression was done from the baserom, where
  terminators were intact.

  There might be more offending lz files.
2013-02-11 16:59:06 -05:00
yenatch
ee347bff48 Dump cry headers 2013-02-11 04:13:31 -05:00
yenatch
087e2556f2 Move compressed trainer pics into the main folder 2013-02-09 05:08:56 -05:00
yenatch
76b284c8f0 Dump and include trainer palettes 2013-02-09 04:54:18 -05:00
yenatch
90af5b2a5e dump and incbin monster palettes 2013-02-07 21:19:38 -05:00
yenatch
034609e725 Split pic pointers into files 2013-02-05 18:28:45 -05:00
yenatch
e1b1f88645 Rename pokedex entry files 2013-02-05 18:13:19 -05:00
yenatch
31a907d7c7 Move music/ into audio/ 2013-02-05 18:08:20 -05:00
yenatch
ff5bd60966 Clean up and condense music includes 2013-02-05 18:00:32 -05:00
yenatch
9acf56102a Split audio engine and pointers into files
Creates folder audio/
2013-02-05 16:48:46 -05:00
yenatch
8902050000 Move VBlank function to a file 2013-02-05 15:40:25 -05:00
yenatch
a058572fd5 Consistent SECTION spacing 2013-02-05 04:25:04 -05:00
yenatch
75ab33b311 Saner file distribution
Moved files from data/ into new folders:
-battle/
-stats/
-trainers/
2013-02-05 03:56:27 -05:00
yenatch
c811b20b65 Move BitTable2 to a file
Currently, rgbasm's maximum macro parameter length is sixteen chars.
A couple wram labels were changed to accomodate this for now.
2013-02-05 03:16:46 -05:00
yenatch
4d84813798 Split Pokemon names off into a file 2013-02-05 00:42:07 -05:00
yenatch
40b477b442 Split base stats off into a file 2013-02-05 00:39:22 -05:00
yenatch
70fd04dc24 Split pokedex entries off into files 2013-02-05 00:35:16 -05:00
yenatch
45a06d040c Split evos/attacks off into files 2013-02-04 23:59:01 -05:00
yenatch
8d0a9d3e86 Split move list off into a file 2013-02-04 23:26:38 -05:00
yenatch
51afe79d00 Split pokedex orders off into files 2013-02-04 23:26:08 -05:00
yenatch
d2d7571e98 Split trainers off into files
The base label has been renamed from TrainerGroupHeader to Group.

Trainer formatting still needs to be fixed.
2013-02-04 20:20:10 -05:00
yenatch
28b56c51bb Split type matchup off into a file
This sets precedent for including constants in context.
2013-02-04 16:22:10 -05:00
yenatch
0935908367 Split wild encounters off into files 2013-02-04 15:47:44 -05:00
yenatch
4108c9eb79 Split egg moves off into files 2013-02-04 15:25:04 -05:00
yenatch
1e5bcb5268 Some more icon asm 2013-02-04 04:33:53 -05:00
Bryan Bishop
21429332ef Merge pull request #103 from yenatch/master
Fly / town map.
2013-02-03 21:46:09 -08:00
yenatch
54d4818d4f Fly / town map 2013-02-04 00:39:30 -05:00
Bryan Bishop
7f0fdb19cd Merge pull request #101 from Sanky/master
Menu icons.
2013-02-03 08:56:41 -08:00
Sanky
a632c8d6b7 Add menu icons. 2013-02-03 11:39:53 +01:00
Bryan Bishop
016174486f Merge pull request #98 from Sanky/master
Assorted menu code, will probably regret this.
2013-02-03 01:46:07 -08:00
IIMarckus
f39048982f Replace some hardcoded addresses with local labels. 2013-02-02 22:36:50 -07:00
IIMarckus
cdcb635a4a Add blackout points / fly location data. 2013-02-02 21:50:53 -07:00
Sanky
7df002c3e2 Merge https://github.com/kanzure/pokecrystal
Conflicts:
	constants.asm
	extras/crystal.py
	main.asm
2013-02-02 23:20:50 +01:00
yenatch
ec66551519 Decompression function 2013-02-02 08:00:50 -05:00
yenatch
4bc2564a6b VBlank and dependencies
VBlank has seven different modes. The one that sees the
most use is mode 0, which performs all basic display and
audio functions. The purpose of the others is unknown.

VBlank relies on the following functions:

-joypad
-cgb palette update
-dmg -> cgb pal conversion
-bg map update
-vram tile update
-tile animations
-serial request
-game timer

Tile animation is large enough to warrant its own commit.
2013-02-02 07:23:50 -05:00
yenatch
479c18920e Add japanese credits text 2013-02-01 04:57:25 -05:00
yenatch
341fa891bc Credits
Just the strings for now. These are probably pointed to from elsewhere.

There is an unused/dummied string at line 90029 ("????????@").
Could someone have been removed from the credits?
2013-01-31 21:56:06 -05:00
yenatch
b13fba2500 Some more uncompressed gfx 2013-01-30 22:41:26 -05:00
yenatch
71bc143687 A couple more general functions 2013-01-30 01:38:32 -05:00
yenatch
a687ec48c6 give names to some rst commands 2013-01-25 03:42:39 -05:00
yenatch
859edf6f6b split off animation data chunks into files 2013-01-23 16:47:10 -05:00
yenatch
9aaa774c68 rename unown animation pointer files 2013-01-23 16:44:26 -05:00
yenatch
54f3eb847e include pic animations in main.asm 2013-01-23 15:28:19 -05:00
yenatch
d340d840fe restructure pic graphics 2013-01-22 04:22:53 -05:00
yenatch
c01422136e really fix incbin in bank $2f 2013-01-17 00:18:43 -05:00
Bryan Bishop
0c3ba162e0 fix incbin in bank $2f 2013-01-16 23:13:02 -06:00
Bryan Bishop
1713771629 Merge remote branch 'remotes/yenatch/master'
fixes #88
2013-01-16 23:02:08 -06:00
Sanky
6b8d77ffb2 Disasm EggStatsScreen and related. Add coord macros. 2013-01-16 17:25:01 +01:00
yenatch
1ac5a72392 bank 6c text 2013-01-15 18:03:45 -05:00
yenatch
2327841dd6 pokecenter nurse script 2013-01-15 16:52:05 -05:00
Sanky
ab7120cfa1 disasm some stats screen related code 2013-01-15 21:18:42 +01:00
Bryan Bishop
e92a9ead39 Merge pull request #87 from iimarckus/shootbreeze
phone call texts and phone call scripts
2013-01-14 20:44:50 -08:00
IIMarckus
92e20d0c59 Add phone scripts for Mom, Bill, Elm, and unused. 2013-01-14 21:24:45 -07:00
Sanky
0600437b71 Disasm more party menu-related functions. 2013-01-14 17:02:11 +01:00
Sanky
7b3e7a8de0 disasm PrintPartyMenuText 2013-01-14 09:40:27 +01:00
yenatch
23511b8416 script special for pokerus check 2013-01-14 01:40:00 -05:00
yenatch
80e760544d add pokerus check 2013-01-14 01:03:14 -05:00
IIMarckus
4ee88cd762 Add lots of phone call texts. 2013-01-13 15:40:23 -07:00
yenatch
2f136d26fd reformat title screen palettes 2013-01-13 00:39:00 -05:00
yenatch
61a3d14593 disassemble title screen init 2013-01-12 23:55:01 -05:00
yenatch
ad46a9359b make some labels saner 2013-01-11 15:08:28 -05:00
yenatch
7d55a39096 comment LoadEnemyMon and related fns; add RNG fns 2013-01-11 02:18:34 -05:00
Bryan Bishop
314c4ff12b Merge pull request #57 from yenatch/master
clean up pic pointers/incbins
2013-01-09 09:47:24 -08:00
IIMarckus
29cce49fcb Pull out some code related to map names / item descriptions. 2013-01-08 22:45:27 -07:00
IIMarckus
65d081334e Add string pointers and coordinates for town map locations. 2013-01-08 21:33:38 -07:00
yenatch
f4cd4152d7 fix pic incbin formatting 2013-01-07 02:25:01 -05:00
yenatch
8c6669f961 bank 5a is a carbon copy of bank 59 2013-01-07 00:17:56 -05:00
yenatch
a6087b0f93 trainer dvs 2013-01-05 00:33:21 -05:00
yenatch
2cdf7a3688 include all compressed and decompressed graphics
* frontpics & animation tiles
* backpics
* trainer pics
* attack animation gfx
* intro gfx
* intro tilemaps
* title gfx
* tilesets
* player backpic
* dude backpic
* pokegear/town map

fixes #33, #34 and #35
2013-01-04 04:08:13 -06:00
yenatch
9a64bb1581 remove last incbin in bank 3a 2013-01-01 14:20:15 -05:00
yenatch
afd101ebf8 bank 70 (text) 2012-12-31 23:53:30 -05:00
Bryan Bishop
e01f991e7f pedantic whitespace fix 2012-12-31 01:30:30 -06:00
Bryan Bishop
e9cf4a1c75 pedantic comma format fix 2012-12-31 01:29:30 -06:00
Bryan Bishop
3ade49faee pokemon base stats structure + removed junk files 2012-12-31 00:35:19 -05: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
IIMarckus
19ce6e7a74 specialphonecall takes a 16‐bit ID. 2012-12-17 21:00:41 -07: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
041de2adf3 update music ptrs + labels and include music files 2012-11-30 05:59:13 -05:00
padz
544f3f5c2f add surf checks and related functions 2012-11-24 02:01:05 -05:00
IIMarckus
0536f9f352 Add trade data. 2012-11-19 02:57:37 -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
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
padz
5ba5a025c4 add breeding section to wram 2012-10-09 02:40:36 -04:00
padz
a7631774b4 start work on audio engine 2012-10-09 02:32:05 -04:00
padz
99b86cdd8f flesh out bittable2 2012-10-09 02:16:36 -04:00
Bryan Bishop
d7228d5b9f add comment-address for Functiona0a 2012-10-04 11:44:07 -05:00
Bryan Bishop
d6f17b9141 convert whitespace to tabs 2012-09-30 13:23:05 -05:00
Bryan Bishop
f7f7ed615e clean up whitespace 2012-09-30 13:21:29 -05:00
padz
399a5ab171 emergency fix 2012-09-26 15:43:48 -04:00
padz
ea897c2a37 fix last commit 2012-09-23 12:50:44 -04:00
padz
25a04a6838 add flag handling, implement dwb 2012-09-22 19:39:43 -04:00
padz
354685efd7 treemon and assorted minor changes 2012-09-22 19:27:57 -04:00
padz
e8b7789127 comment last commit 2012-09-16 21:20:04 -04:00
padz
4c1ef2aef5 PrintLetterDelay and some battle init 2012-09-11 22:37:03 -04:00
IIMarckus
53926402f8 Confirmed: this RAM location represents link battle. 2012-09-10 21:36:50 -06:00
IIMarckus
3501a0be8c Add labels for ram values discovered while disassembling battle music. 2012-09-10 21:20:58 -06:00
IIMarckus
9037759c1a Add the region checks for battle music. 2012-09-10 20:46:07 -06:00
IIMarckus
139eecc9b9 Add the Gym Leader checks for battle music. 2012-09-10 20:15:03 -06:00
IIMarckus
047aaff15b Add the logic for selecting the battle music. 2012-09-10 19:57:41 -06:00
Bryan Bishop
f6be64dc7e Merge pull request #26 from iimarckus/objectevent
Objectevent
2012-09-09 18:53:42 -07:00
Sanky
bbd77f0693 Disasm rst and interrupt vectors. 2012-07-23 20:41:15 +02:00
padz
2e4938e3f7 correcting previous commit 2012-07-23 17:45:33 +02:00
padz
282c08bf72 fix local pointers in map headers 2012-07-23 17:45:25 +02:00
Sanky
7bf2c3d758 Disasm FarCopyBytes and FarCopyBytesDouble. 2012-07-20 11:01:25 +02:00
Sanky
b76ffb99ab Add trainer classes. 2012-07-17 02:26:53 +02:00
IIMarckus
91df9b8827 Use the TX_FAR macro for more text. 2012-07-14 20:17:46 -06:00
IIMarckus
372d5b19fc Give Object Event a readable label. 2012-07-14 20:16:04 -06:00
Sanky
780d5185b3 Add trainer classes. 2012-07-13 13:57:42 +02:00
Sanky
3906f3223a Disasm function reading an item name. 2012-07-12 19:37:08 +02:00
Sanky
60c2b54c9f Add misc text from a single bank. 2012-07-11 18:35:46 +02:00
Sanky
61e8784b99 Disasm code pointing to move and item names. 2012-07-11 12:08:23 +02:00
Sanky
2349c9cd1d Disasm ___ appeared! message selection code. 2012-07-11 01:40:48 +02:00
Sanky
43003a4edd Add battle texts. 2012-07-11 01:28:25 +02:00
Sanky
bf330b2fcc Disasm Char5D. 2012-07-10 21:17:20 +02:00
Sanky
25d989a067 Disasm text command dictionary. 2012-07-10 18:35:32 +02:00
Sanky
c43c9a2464 Add types. 2012-07-10 11:57:37 +02:00
Sanky
5393da147a Add days of the week. 2012-07-10 10:54:16 +02:00
Sanky
53aadf3fce Add name input screen letters. 2012-07-10 02:47:53 +02:00
Sanky
be7d4577bd Split more font files. 2012-07-09 22:56:33 +02:00
Sanky
2abc692243 Split out the font. 2012-07-09 22:05:40 +02:00
IIMarckus
6001bcd66b Add list of what moves represent each TM. 2012-07-09 00:13:07 -06:00
IIMarckus
5c33fdfcae Add the differently‐sorted Pokédex entries. 2012-07-09 00:04:00 -06:00
IIMarckus
ae0fc39380 Better (shorter) script labels for trainers. 2012-07-08 11:49:06 -06:00