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
IIMarckus
d23f14000b
Add the Ho-oh chamber special, along with some helper functions.
2012-07-08 01:57:29 -06:00
IIMarckus
fa019d2f51
Add some functions from Mobile Stadium.
2012-07-07 19:51:02 -06:00
IIMarckus
0f74cd50e5
Add the New Game/Continue/etc menus.
2012-07-06 23:07:45 -06:00
IIMarckus
7494644c9a
Add the Trainer House flag check special (0x67).
2012-07-06 22:01:34 -06:00
IIMarckus
e29988a362
Allocate ram instead of using constants.
2012-07-05 00:19:52 -06:00
IIMarckus
3aa4b59477
Note that this trainer (Kimono Girl Naoko, but with different team) is unused.
2012-07-05 00:05:07 -06:00
IIMarckus
b29c96e363
Fix checkpokeitem and special cases of writebyte.
2012-07-04 23:58:27 -06:00
IIMarckus
f72583e80c
givepoke should use decimal.
2012-07-04 23:33:51 -06:00
IIMarckus
699cbaa817
Add special 0x66, the Game Boy version check.
2012-07-04 22:27:23 -06:00
IIMarckus
92e80be51b
Add Special 0x60, which checks the conditions for Snorlax to wake up.
2012-07-04 22:13:23 -06:00
IIMarckus
a99c75b7cd
Add special 0x97, the generic Pokémon check.
2012-07-04 21:53:32 -06:00
IIMarckus
a136ae576c
Add special 0x96, the Beasts check.
2012-07-04 21:42:39 -06:00
IIMarckus
08291a69a6
Bill’s grandpa script should use Pokémon species constants.
2012-07-04 18:35:22 -06:00
IIMarckus
58809082fd
$00 is Sunday, not Monday.
2012-07-04 18:24:37 -06:00
IIMarckus
90b20d5778
Use constants for days of the week.
2012-07-04 17:52:31 -06:00
IIMarckus
4de2d429a6
Number of Unowns should be decimal.
2012-07-04 17:22:36 -06:00
IIMarckus
0439e30ddd
Better labels for security cameras.
2012-07-04 17:21:41 -06:00
IIMarckus
c263991356
Better labels for the Rocket Hideout scripts.
2012-07-04 15:44:09 -06:00
IIMarckus
ac130aab52
Better labels for gym guy stuff.
2012-07-04 12:33:56 -06:00
IIMarckus
b569b428fb
Add egg moves (from both G/S and Crystal).
2012-06-10 17:53:37 -06:00
Bryan Bishop
7fd15ecfb4
add in PrintNumber_AdvancePointer and Divide from pokered
2012-05-31 01:47:19 -05:00
Bryan Bishop
7dd189b62e
just adding a label for Multiply (no code)
2012-05-31 01:27:44 -05:00
Bryan Bishop
232a3001a8
fix spacing in main.asm
2012-05-31 01:02:19 -05:00
Bryan Bishop
b21600f1ed
copy in DelayFrames from pokered
2012-05-31 01:01:22 -05:00
Bryan Bishop
7281681bcd
copy in PrintBCDNumber from pokered
2012-05-31 00:50:43 -05:00
Bryan Bishop
cce3534cef
copy in PrintBCDDigit from pokered
2012-05-31 00:45:21 -05:00
Bryan Bishop
7ead7d8a64
copy in TextBoxBorder from pokered
2012-05-30 22:53:34 -05:00
Bryan Bishop
a51b73cc04
copy in NPlaceChar from pokered
2012-05-30 22:49:56 -05:00
Bryan Bishop
75bddc1f13
for some reason AddNTimes is copied twice
2012-05-30 22:05:14 -05:00
Bryan Bishop
884ed3f97d
copy in CopyDataUntil from pokered
2012-05-30 22:00:30 -05:00
Bryan Bishop
b18cf8aef2
copy in ClearScreenArea from pokered
2012-05-30 21:57:26 -05:00
Bryan Bishop
723e49531e
minor formatting fix in CountSetBits
2012-05-30 21:21:56 -05:00
Bryan Bishop
5693487f9a
copy in CountSetBits from pokered
2012-05-30 21:21:27 -05:00
Bryan Bishop
ded5884f53
copy in StringCmp from pokered
2012-05-30 21:18:23 -05:00
Bryan Bishop
42596ae1d6
fix typo in DisableLCD label name
2012-05-30 21:11:50 -05:00
Bryan Bishop
92b42d4aeb
copy in IsInArray from pokered
2012-05-30 21:11:21 -05:00
Bryan Bishop
441959d6f1
copy in EnableLCD from pokered
2012-05-30 20:51:20 -05:00
Bryan Bishop
4fe5dcee75
copy in DelayFrame from pokered
2012-05-30 20:47:32 -05:00
Bryan Bishop
da827e57af
copy over CopyData from pokered
2012-05-30 20:41:22 -05:00
Bryan Bishop
82d74cf1df
copy in DisableLCD from pokered
2012-05-30 19:41:05 -05:00
Bryan Bishop
802c7780ac
use rgbfix to fix the header bytes
2012-05-30 14:13:14 -05:00
Bryan Bishop
cb72db3779
remove $10000 INCBIN bytes from banks $75, $76, $79 and $7a
2012-05-30 13:43:58 -05:00
Bryan Bishop
e4ff514bd4
add in some shared characters from pokered
2012-05-29 15:19:11 -05:00
Bryan Bishop
f5a200ef81
add IntroFadePalettes from pokered
2012-05-29 15:08:28 -05:00
Bryan Bishop
e954781618
hooray PrintNumber_PrintLeadingZero is also shared
2012-05-29 15:04:19 -05:00
Bryan Bishop
0526702a5e
IncGradGBPalTable_01 is the same from pokered
2012-05-29 14:54:19 -05:00
padz
2f2466be66
add type interaction
2012-05-28 20:32:52 -04:00
Bryan Bishop
b13ded1954
replace 2call pointers with labels
2012-05-28 14:16:47 -05:00
Bryan Bishop
b56357cd08
use labels on all 2jumps
2012-05-28 14:11:53 -05:00
Bryan Bishop
9d215d3e23
convert if_not_equal pointers to labels
2012-05-28 13:29:24 -05:00
Bryan Bishop
962598f735
convert if_equal pointers to labels
2012-05-28 13:27:18 -05:00
Bryan Bishop
a4b311c266
finish converting iftrue/iffalse pointers to labels
2012-05-28 12:44:14 -05:00
Bryan Bishop
ea5255ab44
use labels in kurt-related scripts
2012-05-28 11:04:54 -05:00
Bryan Bishop
3de3aef9c9
convert pointers to labels in some scripts
2012-05-28 10:56:47 -05:00
Bryan Bishop
b987b525b9
fix local pointers in UnknownScript_0x18508f (legendaries)
2012-05-28 10:40:51 -05:00
Bryan Bishop
0aecb683a0
use map constants for wildmons sections
2012-05-28 10:30:45 -05:00
Bryan Bishop
3f8dacdc9e
make primary map headers slightly more robust
2012-05-28 01:17:00 -05:00
Bryan Bishop
5e37b9a97f
insert all map connections
2012-05-28 00:16:38 -05:00
Bryan Bishop
2c8edc1ab0
Merge pull request #13 from iimarckus/evosattacks
...
Evosattacks.
2012-05-23 19:17:54 -07:00
IIMarckus
fedfa38901
Add move data from Pokémon Gold/Silver.
2012-05-23 20:12:33 -06:00
IIMarckus
8cdfb75635
Add evolutions and attacks.
2012-05-23 20:05:19 -06:00
Sanky
765b555b47
Dumped Pokédex data and entries.
2012-05-24 02:33:42 +02:00
Lynn "Zhorken" Vaughan
efdd6d492a
Fix an INCBIN length.
2012-05-23 17:48:19 -04:00
Lynn "Zhorken" Vaughan
28e223d988
Spaces to tabs.
2012-05-23 14:51:21 -04:00
Lynn "Zhorken" Vaughan
45083625ee
Add a few more general-purpose-looking functions from bank 0.
2012-05-23 14:51:21 -04:00
Bryan Bishop
be70b4c130
remove $1f4d bytes from the end of bank $6c
2012-05-23 12:41:31 -05:00
Bryan Bishop
2af7fa4bee
remove $186a bytes from the end of bank $6b
2012-05-23 12:41:00 -05:00
Bryan Bishop
26fba65334
remove $776 bytes from the end of bank $6a
2012-05-23 12:40:31 -05:00
Bryan Bishop
e0c733d545
remove $cc9 bytes from the end of bank $69
2012-05-23 12:39:21 -05:00
Bryan Bishop
b42e976827
remove $f4f bytes from the end of bank $68
2012-05-23 12:38:55 -05:00
Bryan Bishop
b352d24256
remove $9bd bytes from the end of bank $67
2012-05-23 12:38:34 -05:00
Bryan Bishop
b641ed3dae
remove $539 bytes from the end of bank $66
2012-05-23 12:38:09 -05:00
Bryan Bishop
600088f95d
remove $940 bytes from the end of bank $65
2012-05-23 12:37:42 -05:00
Bryan Bishop
dc13b60eaa
remove $978 bytes from the end of bank $64
2012-05-23 12:37:14 -05:00
Bryan Bishop
76c16bf74a
remove $bbf bytes from the end of bank $63
2012-05-23 12:36:45 -05:00
Bryan Bishop
51e5d17fb4
remove $888 bytes from the end of bank $62
2012-05-23 12:35:37 -05:00
Bryan Bishop
b333dc5597
remove $1b81 bytes from the end of bank $61
2012-05-23 12:34:43 -05:00
Bryan Bishop
c71535d76e
remove $24be bytes from the end of bank $2c
2012-05-23 12:33:40 -05:00
Bryan Bishop
3cb4484b38
remove $a6 bytes from the end of bank $2b
2012-05-23 12:32:40 -05:00
Bryan Bishop
9c6c9668f3
remove $44e bytes from the end of bank $27
2012-05-23 12:31:52 -05:00
Bryan Bishop
ce93f48565
remove $408 bytes from the end of bank $26
2012-05-23 12:31:20 -05:00
Bryan Bishop
da6432a505
remove $9d8 bytes from the end of bank $1f
2012-05-23 12:30:19 -05:00
Bryan Bishop
f78a912e78
remove $958 bytes from the end of bank $1e
2012-05-23 12:29:47 -05:00
Bryan Bishop
c239df4c7a
remove $d7e bytes from the end of bank $1d
2012-05-23 12:29:10 -05:00
Bryan Bishop
db5c5faeea
remove $913 bytes from the end of bank $1c
2012-05-23 12:27:56 -05:00
Bryan Bishop
98775c73a0
remove $95c bytes from the end of bank $1B
2012-05-23 12:26:44 -05:00
Bryan Bishop
e2cb52e6f5
remove $599 bytes from the end of bank $1A
2012-05-23 12:25:51 -05:00
Bryan Bishop
b340262050
remove $d72 bytes from the end of bank $18
2012-05-23 12:25:03 -05:00
Bryan Bishop
ea6985d085
remove $f67 bytes from the end of bank $17
2012-05-23 12:23:24 -05:00
Bryan Bishop
b696574b9c
remove $8ee bytes from the end of bank $16
2012-05-23 12:22:21 -05:00
Bryan Bishop
c4710225b8
remove $cde bytes from the end of bank $15
2012-05-23 12:20:43 -05:00
Bryan Bishop
8154968a09
remove 599 bytes bytes from the end of bank $E
2012-05-23 12:19:13 -05:00
Bryan Bishop
487386cebb
battle tower texts
2012-05-23 12:00:27 -05:00
Bryan Bishop
49ae9305ae
minor texts and minor scripts
2012-05-23 11:52:20 -05:00
Bryan Bishop
c323beb8f1
some ruins text
2012-05-23 11:45:53 -05:00
Bryan Bishop
2c48427c05
some weird movement data for swimmers?
2012-05-23 11:35:59 -05:00
Bryan Bishop
c0885cbba8
clean up some INCBINs near script commands
2012-05-23 11:29:25 -05:00
Bryan Bishop
ac2fdf258c
various scripts
2012-05-23 11:13:24 -05:00
Bryan Bishop
d9c1c4b0fa
texts for battle tower and bill's pc
2012-05-23 03:02:38 -05:00
Bryan Bishop
e13d9de319
some battle tower texts
2012-05-23 02:57:58 -05:00