Commit Graph

649 Commits

Author SHA1 Message Date
yenatch
25dcc71c4c rename some LCD functions 2013-08-27 20:46:15 -04:00
yenatch
12ab33b37e rename FarCall family labels
FarJump labels renamed to FarCall
register aliases JpHl and JpDe renamed to _hl_ and _de_
2013-08-27 18:16:42 -04:00
yenatch
be9c504b24 rename PushScriptPointer -> CallScript 2013-08-27 18:00:41 -04:00
yenatch
886ab68884 add some field move asm and scripts 2013-08-27 17:11:24 -04:00
yenatch
94fc90a243 badge engine flags in main.asm 2013-08-27 16:23:53 -04:00
yenatch
2b10d184b0 recomment some common asm (rtc/lcd) 2013-08-27 00:10:22 -04:00
yenatch
2f5ed8468d SpecialRoamMons -> InitRoamMons 2013-08-26 19:48:44 -04:00
yenatch
9cf90f6c7b deobfuscate some encounter asm 2013-08-26 19:47:42 -04:00
yenatch
17725d7af1 battle init and some overworld actions 2013-08-24 04:10:38 -04:00
yenatch
af205a7217 BitTable2 -> EngineFlags 2013-08-23 16:08:31 -04:00
yenatch
3a24cff5eb BitTableFunc -> FlagAction 2013-08-23 15:49:24 -04:00
yenatch
bc7b63b44a EventFlags label (bittable1) 2013-08-23 15:00:07 -04:00
yenatch
849e5a7d0f game freak presents splash 2013-08-23 01:26:35 -04:00
yenatch
ac7b7ede0b more bank 0 labels instead of static addresses 2013-08-23 01:11:53 -04:00
yenatch
8105dc6c7c BoxMons in main.asm 2013-08-22 18:34:01 -04:00
yenatch
179decd644 GiveOddEgg and related asm
That's it for bank 7e
2013-08-21 17:25:24 -04:00
yenatch
7f96387411 dump odd eggs 2013-08-21 16:02:36 -04:00
yenatch
cc1f57ec93 condense IncGradGBPalTable
this way is more readable too
2013-08-21 14:49:35 -04:00
yenatch
27e1d3fabf Merge branch 'master' into merge-kanzure 2013-08-21 14:02:13 -04:00
yenatch
7b5ffb5475 more field move asm/scripts 2013-08-21 14:01:51 -04:00
yenatch
5db04abdab TileType is actually TileCollision 2013-08-21 14:01:50 -04:00
yenatch
9ac0fc631b formatting in TileTypeTable and tile checks 2013-08-21 14:01:50 -04:00
yenatch
636a960909 split out text engine 2013-08-21 14:01:49 -04:00
yenatch
c1d0253162 graphics loading functions (2bpp and 1bpp) 2013-08-21 14:01:48 -04:00
yenatch
35de889dd7 split out decompression 2013-08-21 14:01:46 -04:00
yenatch
802c3149c0 Merge commit 'd2d5c09'
Conflicts:
	main.asm
	wram.asm

Git couldn't figure out what this commit did, so it was redone to merge.
2013-08-21 13:54:35 -04:00
yenatch
99d2ee2bdc split out program init 2013-08-20 03:26:37 -04:00
yenatch
4b0889b396 remove unnecessary incbin lengths 2013-08-20 03:20:49 -04:00
yenatch
5fe7c6bb67 johto/kanto maps 2013-08-20 02:55:14 -04:00
yenatch
29085399a2 copyright graphics 2013-08-20 02:09:35 -04:00
yenatch
91474f1b86 MBC3SRAMEnable is actually MBC3SRamEnable 2013-08-20 01:38:05 -04:00
yenatch
5b7d887f9d comment program init functions 2013-08-20 01:35:15 -04:00
yenatch
df21dbccb7 $ffcf $ffd0 -> hSCX hSCY 2013-08-19 18:46:56 -04:00
yenatch
449bda272a $ffd1 $ffd2 -> hWX hWY 2013-08-19 18:44:12 -04:00
yenatch
8af06f3cc2 rename and clean up _Start, Init 2013-08-19 18:40:59 -04:00
yenatch
75d5cc3bb6 options menu 2013-08-17 05:57:14 -04:00
yenatch
deb5d1ed46 <&iimarckus> kill those labels please 2013-08-17 01:12:03 -04:00
yenatch
a29c13837d labels for IncGradGBPalTable 2013-08-17 00:53:19 -04:00
yenatch
4105ac8102 battle tower trainers and mons 2013-08-16 22:36:13 -04:00
yenatch
4398dde8cb even more phone text (bank 5d) 2013-08-16 15:25:06 -04:00
yenatch
d83f8228ce dump some mobile link text 2013-08-16 15:15:06 -04:00
yenatch
f458f96427 even more phone text (bank 29) 2013-08-16 14:43:35 -04:00
yenatch
b3dcb0e875 pokegear radio channel names 2013-08-16 14:38:59 -04:00
yenatch
ff453a514b LoadMenuDataHeader and intro player name menu 2013-08-16 04:58:14 -04:00
yenatch
caa7865ce7 extra phone text (bank 19) 2013-08-15 21:54:16 -04:00
yenatch
627914195d battle tower trainer text (bank 7b) 2013-08-15 06:09:12 -04:00
yenatch
000c6d1349 CheckContestMon and a couple labels in bank 0 2013-08-15 06:07:14 -04:00
yenatch
8ecd66f5d5 replace more addresses with labels 2013-08-14 05:42:28 -04:00
yenatch
2fb8d10c23 more bank 2 incbins 2013-08-14 05:38:12 -04:00
yenatch
7a8eb4e434 sort out player/battle backpic asm 2013-08-12 16:33:17 -04:00
yenatch
14160a180f hidden power type/power calculation 2013-08-09 17:50:34 -04:00
yenatch
94e9a3f764 specials cleanup 2013-08-09 16:24:58 -04:00
yenatch
d2d5c09b1d update section names to comply with rgbds redefinitions
HOME -> ROM0
DATA, CODE -> ROMX
BSS -> WRAM0, WRAMX

new to rgbds are banked VRAM and SRAM
2013-08-04 05:04:13 -04:00
yenatch
c01c2ad3c4 dump marts and related asm 2013-08-03 17:26:58 -04:00
yenatch
0ee006a145 more item effects 2013-08-03 16:25:38 -04:00
yenatch
46fea97994 more step handling 2013-08-03 16:25:38 -04:00
yenatch
09dfa9f09e incbin unown font 2013-08-03 16:25:37 -04:00
yenatch
0e50b4c798 more bank 1 incbins 2013-08-03 16:25:37 -04:00
yenatch
e2a0c68f4c comment more battle ui 2013-08-03 16:25:37 -04:00
yenatch
257302dff9 player hud stuff 2013-08-03 16:25:36 -04:00
yenatch
ce31567c4d frames 2013-08-01 15:30:48 -04:00
yenatch
d39dc68a88 field move asm 2013-08-01 05:34:10 -04:00
yenatch
59cb57b954 more cleanup 2013-07-31 19:17:35 -04:00
yenatch
814ab52b21 cleanup and bank 9 menus 2013-07-31 18:03:18 -04:00
yenatch
c9b70ba105 update predef/specials pointers 2013-07-30 01:05:20 -04:00
yenatch
4cb7c4e407 update known labels in main 2013-07-30 00:32:18 -04:00
yenatch
50f1d7b788 no more incbins in bank 0 2013-07-29 23:58:02 -04:00
yenatch
7db40e0395 no more incbins in bank f 2013-07-29 17:53:59 -04:00
yenatch
ed200a5a16 fill out bank f more 2013-07-29 13:58:20 -04:00
yenatch
39d84d4491 bank f 2013-07-28 18:20:08 -04:00
yenatch
03413c9f43 common text 2 and some fixes to compile 2013-07-28 17:16:51 -04:00
yenatch
3070aeb915 make way for bank 6f 2013-07-28 03:39:05 -04:00
yenatch
5001d9b023 bank 6f is common text 2013-07-28 03:32:25 -04:00
yenatch
a0d54cce51 couple bank e functions 2013-07-28 03:12:03 -04:00
yenatch
5b07ea19d0 move descriptions 2013-07-27 16:31:29 -04:00
yenatch
0d0066a0da picking at bank 0 incbins 2013-07-27 15:19:35 -04:00
yenatch
5ecf9f1081 were gonna get bank 0 done!! 2013-07-27 05:43:15 -04:00
yenatch
6343e2ddaf Reset 2013-07-26 23:49:33 -04:00
yenatch
be0af35e3f over a million hours in gedit 2013-07-26 22:19:26 -04:00
yenatch
bdd31cb8c5 fix replaced label comment 2013-07-25 21:30:48 -04:00
yenatch
45f52b0f71 Remove erroneous TileX/Y labels 2013-07-25 21:20:19 -04:00
yenatch
4d72b06bcc replace known addresses with labels 2013-07-25 21:08:30 -04:00
IIMarckus
3a6e587121 Add Time Capsule item conversions.
From http://forums.glitchcity.info/index.php/topic,6719.msg190623/topicseen.html#msg190623
2013-07-25 06:33:28 -06:00
yenatch
184a984941 autogbzdisasm trial run 2013-07-24 18:32:45 -04:00
yenatch
83139cb7d6 Text_1354 is used globally 2013-07-24 03:47:52 -04:00
yenatch
1518925365 main menu and untranslated mobile text 2013-07-22 04:28:34 -04:00
yenatch
65bd235e61 even more bank 1 asm 2013-07-22 03:08:03 -04:00
yenatch
9c7b0932fc more bank 1 asm 2013-07-21 05:54:31 -04:00
yenatch
8e27cfbc1a movement command asm 2013-07-20 22:34:40 -04:00
yenatch
6fb2cd6613 no more incbins in bank 25 2013-07-20 01:46:56 -04:00
yenatch
8d75f962e4 more sprite asm 2013-07-14 14:51:07 -04:00
yenatch
bf2a4b8a84 Sprite headers 2013-07-12 16:18:52 -04:00
yenatch
1da2a7a5c4 Outdoor sprites and sprite constants 2013-07-12 14:50:37 -04:00
yenatch
90c18c5cf3 rst $28 -> JumpTable 2013-07-10 19:17:04 -04:00
yenatch
37c009ca1c player/script events 2013-07-10 19:17:04 -04:00
yenatch
24daef7afb SelectMenu 2013-07-10 19:17:03 -04:00
yenatch
dca6fd37cd start using relevant constants in wram.asm 2013-07-10 19:17:03 -04:00
yenatch
fbf9ae7877 clean up StartMenu 2013-07-10 19:17:02 -04:00
yenatch
6597eb7e50 Overworld input handling 2013-07-10 19:17:02 -04:00
yenatch
b9dfd607bb DoPlayerMovement and recomment ow surfing checks 2013-06-27 00:34:49 -04:00
yenatch
fb931fe616 move miscellaneous asm into engine/ 2013-06-17 21:30:36 -04:00
yenatch
20c0c0e233 BadgeStatBoosts 2013-06-17 18:31:11 -04:00
yenatch
869de91bd5 LostBattle and HalveMoney 2013-06-17 18:19:45 -04:00
yenatch
ef6767f1a9 OakSpeech formatting 2013-06-14 02:29:46 -04:00
yenatch
7213916ccc DrawIntroPlayerPic 2013-06-14 01:09:23 -04:00
Bryan Bishop
4eebcf0ae2 Merge remote-tracking branch 'yenatch/master'
Also merge pull request #145.
2013-06-12 22:44:45 -05:00
yenatch
c26d758fee DecompressPredef 2013-06-10 21:58:25 -04:00
yenatch
a018828016 Player backpic and consistent names for player characters
Male player is now Chris. Female player is Kris.
2013-06-09 14:32:13 -04:00
yenatch
77aa2d9e16 recomment text box functions 2013-05-31 19:07:07 -04:00
yenatch
3975e86baa remove \@s from local labels
\@ is used for anonymous labels in rgbds macros. this has no effect on local labels.
2013-05-31 18:22:32 -04:00
Bryan Bishop
723645b470 rename bank3{0,1}.asm to sprites_{1,2}.asm 2013-05-30 16:29:53 -05:00
Bryan Bishop
3517a4f500 remove two commented incbin lines 2013-05-30 16:28:56 -05:00
yenatch
11cb016019 JpDe 2013-05-29 14:49:42 -04:00
yenatch
eb75c58023 heavy ball 2013-05-27 23:28:21 -04:00
Kat Harrison
e08e7cf7b2 Include overworld sprites
Created /extras/overworldripper.py and used it to extract overworld sprites and convert them to png files.
2013-05-27 23:07:34 -04:00
yenatch
122e243624 mistook sprout tower pillar for minecart graphics 2013-05-22 17:07:18 -04:00
Bryan Bishop
103ac439ed Merge pull request #140 from yenatch/master
tile animations and map header updates
2013-05-22 13:48:45 -07:00
yenatch
ee4203a56d minecart tile animations 2013-05-22 14:57:33 -04:00
IIMarckus
620cf7a2a7 Disassemble Kris's PC. 2013-05-22 01:11:07 -06:00
yenatch
c15e7b8619 safari fountain tile animations 2013-05-22 02:56:25 -04:00
IIMarckus
56d0175ad8 Add Prof. Oak's PC. 2013-05-21 17:03:31 -06:00
yenatch
6dde0b274d ilex forest tree tile animations 2013-05-21 18:32:55 -04:00
yenatch
2236e27933 cave water + park fountain tile animations 2013-05-21 12:37:58 -04:00
yenatch
7232eb5d64 fix calls to $1078 (PlaceString) 2013-05-14 13:28:50 -04:00
yenatch
ea8bfe03b6 add char 4b and cleanup surrounding chars 2013-05-14 13:25:30 -04:00
yenatch
0f3e9c6f7e mixed up connection y/x offset wram labels 2013-05-13 22:09:01 -04:00
yenatch
956cb50712 EnterMapConnection 2013-05-13 20:52:10 -04:00
yenatch
e384a889cc GetAnyMapBlockdataBank 2013-05-13 19:08:46 -04:00
yenatch
ceb4c138db FillMapConnections 2013-05-13 18:49:45 -04:00
yenatch
db84ec18d9 connection wram labels for each direction 2013-05-13 18:47:31 -04:00
yenatch
6464df7b11 GetMapConnection 2013-05-13 15:41:09 -04:00
IIMarckus
f5d1572adb Add more stuff related to player naming. 2013-05-13 02:21:56 -06:00
IIMarckus
e7208f1964 Add some naming screen stuff. 2013-05-12 18:36:40 -06:00
IIMarckus
5419d34a21 Add Oak's speech. 2013-05-12 17:10:29 -06:00
IIMarckus
5ac569e5f3 Add pointers to Oak speech text. 2013-05-12 16:55:25 -06:00
Bryan Bishop
35d77a2988 Merge pull request #132 from yenatch/master
map groups + gfx.py fix
2013-05-12 07:53:46 -07:00
yenatch
4b4445138d fix map group label numbering 2013-05-12 10:50:15 -04:00
Bryan Bishop
f5ec58bea0 Merge pull request #131 from Sanky/master
tiny newline funcs
2013-05-12 07:43:07 -07:00
Sanky
029648ec12 disasm tiny newline chars 2013-05-12 16:41:28 +02:00
Bryan Bishop
cf4ec47b15 Merge pull request #130 from Sanky/master
Menu stuff, battle text split & extras.
2013-05-12 06:21:45 -07:00
Sanky
b3d8c2ec49 Split battle text from main. 2013-05-12 12:38:49 +02:00
Sanky
f9c057f488 more menu stuff 2013-05-10 23:44:27 +02:00
yenatch
d0ef05a6fd dump item effects 2013-05-08 02:02:15 -04:00
Sanky
d590a169c4 disasm some menu stuff 2013-05-08 01:43:29 +02:00
yenatch
5859040555 more thorough ai commenting 2013-05-06 14:36:32 -04:00
yenatch
9f5396eff6 clean up ai scoring 2013-05-06 02:39:01 -04:00
yenatch
3beab7dd92 move ai scoring out of main.asm 2013-05-05 19:56:17 -04:00
yenatch
c82216441a ai scoring part 2 2013-05-05 19:52:07 -04:00
yenatch
d3ec3bbaca ai scoring dump 2013-05-05 18:31:46 -04:00
yenatch
ef6e77a5c3 AI move scoring 2013-05-04 21:17:04 -07:00
yenatch
c539a96f78 fruit trees 2013-05-03 19:34:19 -04:00
yenatch
f3d0f2f1a4 user/opponent party attribute functions 2013-05-03 02:43:04 -04:00
yenatch
0cbea9b553 bank 0 battle functions 2013-05-03 00:22:28 -04:00
yenatch
417a73d61a More bank 0 functions 2013-05-03 00:09:54 -04:00
yenatch
ec3f279d53 SimpleMultiply and SimpleDivide 2013-05-02 22:45:34 -04:00
yenatch
993eecdc4a MBC constants in the wild 2013-05-02 22:38:48 -04:00
yenatch
b921c130e8 Clean up and add a couple functions in bank 0
Mostly related to sound
2013-05-02 22:38:48 -04:00
yenatch
10604fe8b3 sfx constants in the wild 2013-05-02 22:38:42 -04:00
yenatch
45343b07c7 dump item attributes 2013-04-30 02:04:36 -04:00
yenatch
3f07cd95f7 GetItemAttr and related fns 2013-04-30 02:04:32 -04:00
yenatch
ef946c51ad more bank b fns
ClearBattleRAM and FillBox (predef $13)
2013-04-30 02:03:39 -04:00
yenatch
e8fb1bc632 finish PlayBattleMusic 2013-04-29 16:52:27 -04:00
yenatch
94cdb091c9 i have a clue what most of this does 2013-04-29 16:32:05 -04:00
yenatch
620d5c09c7 More labels in LoadEnemyMon 2013-04-29 15:49:58 -04:00
yenatch
f2185cd0e4 BaseStats is now BaseData 2013-04-29 15:11:48 -04:00
yenatch
652d26bb05 base stat labels + GetCurNick 2013-04-29 14:46:32 -04:00
yenatch
c80b2e376e getname functions 2013-04-29 13:45:41 -04:00
yenatch
6f6988e3d1 more effect constants 2013-04-27 17:35:14 -04:00
yenatch
ff96e5590a type printing functions 2013-04-27 17:30:47 -04:00
yenatch
ec1f8e1f94 dump and include beta maps 2013-04-25 15:44:40 -04:00
yenatch
c0918f94fd there is no Move0 2013-04-25 13:21:49 -04:00
yenatch
7503f9074c effect command cleanup
-weather and badge type boosts
2013-04-20 02:38:56 -04:00
yenatch
736275ae0a pokedex entries got caught in the map header move 2013-04-12 17:24:16 -04:00
yenatch
48f5e7dfb8 Shuckle special 2013-04-08 13:12:58 -04:00
yenatch
b998f4594c Move effect pointers 2013-03-31 21:39:12 -04:00
yenatch
6c3ec2d13d Multiply and Divide 2013-03-30 01:58:22 -04:00
yenatch
dc81d0cfcf dump move effects 2013-03-29 18:54:42 -04:00
yenatch
57b3127497 Fix parameter spacing in incbins 2013-03-28 01:40:01 -04:00
yenatch
50e9c799aa Minor formatting in main 2013-03-28 01:40:00 -04:00
yenatch
b6ab385d3c More battletexts 2013-03-27 17:30:20 -04:00
yenatch
d2f6b6febe Identify more move effect commands 2013-03-27 03:33:24 -04:00
yenatch
3e6c37fe52 Move effect commands dump 2013-03-26 20:39:56 -04:00
yenatch
b582066865 Give labels to some BattleTexts 2013-03-26 07:04:34 -04:00
yenatch
edfffec831 Various battle-related bank0 asm and wram/constants 2013-03-26 05:22:22 -04:00
yenatch
87c36ebbc0 Fishing encounter data and related asm 2013-03-22 04:17:14 -04:00
yenatch
f0346a9982 various minor additions
-battle variable constants
-step counters
-turn update fns
2013-03-22 04:15:35 -04:00
yenatch
d775767651 Flesh out HRAM labels 2013-03-20 22:55:09 -04:00
yenatch
bcf9eadadf Parse and dump tilesets
Metatiles (blocks), palette maps, collision, tile animations
2013-03-18 00:40:27 -04:00
Bryan Bishop
393b4971f4 include some http ascii from the ROM 2013-03-01 21:40:01 -06:00
Bryan Bishop
cb1d7f812b Merge pull request #118 from yenatch/master
gender check & square root
2013-03-01 12:22:09 -08:00
yenatch
767cc1376b GetSquareRoot 2013-02-28 17:28:35 -05:00
Bryan Bishop
ef4b04f12c comments for GetScriptByte 2013-02-28 15:45:34 -06:00
Bryan Bishop
e0ca5a243f $26d4 is GetScriptByte 2013-02-28 15:38:03 -06:00
yenatch
37355aef99 Gender check 2013-02-28 15:03:52 -05:00
IIMarckus
3633411a9b Add a little to the hall of fame functions. 2013-02-28 00:16:08 -07:00
Bryan Bishop
23003bd772 disassemble scripting engine commands
All commands are in scripting.asm, and there's also a small python
script that was written to assist with some of the automation.
2013-02-27 23:31:12 -06:00
yenatch
aa6cd5f7aa Split credits out 2013-02-26 00:51:05 -05:00
yenatch
823b7e3b9d Credits script and parser
This is the first time two wram addresses overlap.
2013-02-26 00:47:46 -05:00
yenatch
13d74188ca Add credit string pointers 2013-02-25 15:47:16 -05:00
yenatch
05def441e8 Include some more gfx 2013-02-25 14:16:59 -05:00