Commit Graph

311 Commits

Author SHA1 Message Date
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