Commit Graph

394 Commits

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