276 Commits

Author SHA1 Message Date
Seth Barberee
02f3b08f8c switch from build_tools to make tools 2021-01-14 13:49:59 -06:00
Seth Barberee
ec192a8fa8 5% wooo 2021-01-09 10:33:29 -06:00
Seth Barberee
469212f7ee
CPU and GPU Reg Funcs Decomp (#16)
* decomp/doc cpu funcs and gpu reg funcs

* use Cpu32 macro funcs

* address review comments

* decomp SetBGOBJEnableFlags
2021-01-04 13:40:33 -06:00
Seth Barberee
87cd9885a9
Friend Area Decomp Work (#15)
split out and work on friend area stuff
2020-12-31 18:30:16 -06:00
Mateusz Naściszewski
01ec8edb40 Document button press related constant 2020-12-28 20:13:22 -06:00
Mateusz Naściszewski
2acfd6ed0f Decompile xxx_update_stuff 2020-12-28 20:13:22 -06:00
Mateusz Naściszewski
1d43c0efeb Decompile GameLoop and lots of renames 2020-12-28 20:13:22 -06:00
Mateusz Naściszewski
fb2fc3a2ba Remove unused field from Input struct 2020-12-28 20:13:22 -06:00
Mateusz Naściszewski
372d737a12 Label funcs and globals 2020-12-28 20:13:22 -06:00
Mateusz Naściszewski
6362345b04 Decompile UpdateInput
and some other minor stuff.
2020-12-28 20:13:22 -06:00
Mateusz Naściszewski
b64320b043 Match DecompressAT function!
The global variant is still unmatched.
Most of the credit for the hard parts of matching this go to MCBoy, AKA Pidgey on Discord.
2020-12-20 13:50:35 -06:00
Mateusz Naściszewski
c68dba1535 Refactor DecompressATGlobal, still not matching 2020-12-20 13:50:35 -06:00
Seth Barberee
096de8d9b2
Merge pull request #12 from SethBarberee/master
Merge work from SethBarberee/pmd-red into pret.
2020-12-17 13:17:58 -06:00
Seth Barberee
f90f3affeb
Wonder mail Pt. 1 (#11)
Some work on decomping/labeling wonder mail. Renamed corresponding assembly/C files. Labeled a few strings in data too.
2020-12-15 16:28:03 -06:00
Seth Barberee
4a5c6cd7d3
Merge pull request #10 from mateon1/decompression
Translate Decompression, finish off file_system.c
2020-12-14 22:54:14 -06:00
Mateusz Naściszewski
7c52495879
Fix GetByte NONMATCHING 2020-12-15 04:43:47 +01:00
Mateusz Naściszewski
75b09a819a
Finish translating code_800AAA0 to C! 2020-12-15 02:37:00 +01:00
Mateusz Naściszewski
efdaf621cb
Translating Decompression
Hopefully part one of many, some NONMATCHINGs in the larger functions, sadly.
2020-12-15 00:51:45 +01:00
Seth Barberee
4b70092868
Merge pull request #9 from mateon1/nonmatchings
Fix a lot of nonmatchings
2020-12-13 16:48:05 -06:00
Mateusz Naściszewski
b02a392e94
Make sub_8011940 more comprehensible 2020-12-13 20:30:30 +01:00
Mateusz Naściszewski
2c64b5692f
Fix a lot of nonmatchings, some were plain wrong code 2020-12-13 19:50:37 +01:00
Seth Barberee
c1606fc87e
Merge pull request #8 from mateon1/text-dumping
Continue dumping and documenting strings
2020-12-12 19:45:21 -06:00
Mateusz Naściszewski
c0ae9ddc9e
Continue dumping and documenting strings 2020-12-13 00:30:31 +01:00
Mateusz Naściszewski
0f877a3561
Improve calcrom, add incbin counting, fix a few existing issues (#7) 2020-12-12 14:44:18 -06:00
Seth Barberee
b11c1642ac add calcrom and webhook (will be tied in later) 2020-12-12 14:22:49 -06:00
Seth Barberee
448de33aef dump/label more data from data_800D090 2020-12-12 14:12:37 -06:00
Mateusz Naściszewski
5e2842c698
Text data cleanup! (#6)
* Text data cleanup!

Reformatted and fixed up all of data/text/, and extended charmap.txt

The `#P` metacharacter (prompt) acts like a newline, so I reformatted it as such.
All `.string` macros followed by `.byte 0x00` have been replaced with `.asciz` where possible, and `.string "...\0"` elsewhere, note that `.asciz` does not respect the charmap, so characters such as 'é' in 'Pokémon' or the various buttons would be incorrectly encoded.
Also cleaned up occurences of `.byte 0x24`, which should just be a literal '$' inside the string.

* Nuke all instances of `.asciz`

As discussed on Discord, globally replaced all `.asciz` macros with `.string "...\0"`, as `.asciz` did not respect the charmap.

* Minor string consistency fixes
2020-12-12 12:30:04 -06:00
Mateusz Naściszewski
1b9aeaf518
Move personality test data out of data_80EBA18 (#5) 2020-12-11 14:54:07 -06:00
Mateusz Naściszewski
7e2c662672
data_80F4278.s dumping (#4)
* Dumping menu text, part 1

* Continuing to dump text

* Renamed actions array according to suggestion
2020-12-11 12:28:28 -06:00
Mateusz Naściszewski
5fd50012a4
Resolve a few text incbins (#3) 2020-12-11 11:44:12 -06:00
Seth Barberee
72aa91c7f8 code_80A26CC: fix nonmatching and decomp a few more 2020-12-08 13:17:08 -06:00
Seth Barberee
d6b218ebf5 split more main_data off 2020-12-05 14:14:09 -06:00
Seth Barberee
c3f879ce16 splitting more dungeon floor data 2020-12-04 17:00:36 -06:00
Seth Barberee
195eb49aa8 more decomping of funcs 2020-12-04 15:05:07 -06:00
Seth Barberee
0d5c196bff split out more floor data 2020-12-03 21:10:35 -06:00
Seth Barberee
90891b5da7 split a little and decomped a few more funcs 2020-12-03 14:19:07 -06:00
Seth Barberee
a4fdac9553 slight cleanup
Found a few things when I attempted to decompile GameLoop.
2020-12-02 15:13:09 -06:00
z80rotom
3829eabfd2
Added missing personality test results (#2) 2020-12-02 14:57:26 -06:00
Seth Barberee
4d8d319b1f fix up matching 2020-11-24 17:00:01 -06:00
Seth Barberee
02df19855d Revert "more data dumping"
This reverts commit 88cac2003455015f0fba13c38e3e617c472aa7bd.
2020-11-24 16:53:42 -06:00
Seth Barberee
88cac20034 more data dumping 2020-11-24 11:21:46 -06:00
Seth Barberee
2582d7a868 isemi-identified VRAM and split personality test funcs 2020-11-23 15:22:16 -06:00
Seth Barberee
fc7f14ab66 random assortment of decomp work and fix of nonmatchings 2020-11-22 17:37:48 -06:00
Seth Barberee
0c3daaaabd some more data dump work 2020-11-21 20:09:25 -06:00
Seth Barberee
ae9e96ec43 Fix sub_8098E18 - jiang/Kermalis 2020-11-21 18:05:56 -06:00
Kermalis
d2ac123186
Fix Windows build (#1) 2020-11-21 18:01:50 -06:00
Seth Barberee
db6ed3e526 some more work on decomping funcs 2020-11-20 18:57:36 -06:00
Seth Barberee
2832112389 dumping some more text 2020-11-20 11:18:59 -06:00
Seth Barberee
0709caccc4 few more decomp funcs 2020-11-20 10:34:11 -06:00
Seth Barberee
cbfab08a06 finish docing PlayTime and fix function - Kermalis 2020-11-20 10:33:21 -06:00