296 Commits

Author SHA1 Message Date
Seth Barberee
d72e17b5f5
Miscellaneous decomp/labeling/splitting (#29)
* lots of wonder mail work, credits and label some stuff

* nonmatch one intr func, match another, and label unused intr func

* seperate credits out

* split out debug menu and other stuff that isn't main menu

* label another func

* label some more funcs
2021-02-27 12:16:45 -06:00
Seth Barberee
7fa4f1a92b
Fully decomp save.s (#28)
* some work on decomping more save stuff

* code cleanup and decomp another save func

* fully decomp save and combine split save c files

* fix two nonmatchings
2021-02-21 13:13:55 -06:00
Seth Barberee
c754c2a046
Decomp more of personality_test (#27)
* decomp most of personality_test

* just gonna move the funcs to src in assembly for now so I can combine stuff

* label another func and some cleanup

* one func of personality test left in asm

* small cleanups and labeling of funcs
2021-02-19 18:01:53 -06:00
Seth Barberee
8dfd044ef3
Some Personality and data (#26)
* decomp few personality funcs and clean up some pointers in the dungeon data

* de-pointer-ify friend area dialogue

* clean pointers on a personality test question

* decomp a few more main menu funcs and dump some more data

* label some funcs
2021-02-07 21:10:12 -06:00
Seth Barberee
74daf03fd7
Main Menu and Scripts (#25)
* label more funcs, dump scripts/text, and decomp main menu

* decomp vram func and dump more data

* add forgotten file

* get rid of goto in UpdateMenu
2021-01-31 19:07:31 -06:00
Seth Barberee
076ff9ce59 small dungeon work.. to trigger webhook 2021-01-28 18:57:21 -06:00
Seth Barberee
a4bcc77649
Update webhook.sh 2021-01-28 18:44:50 -06:00
Seth Barberee
7c7c25ee64
Update build.yml 2021-01-28 13:30:32 -06:00
Seth Barberee
1439c44e52
xdelta -> xdelta3
Incorrect package, derp
2021-01-28 13:07:29 -06:00
Seth Barberee
de9a88ae34
Update build.yml 2021-01-28 13:00:24 -06:00
Seth Barberee
5f0b3f2faa
Merge pull request #23 from SethBarberee/github_ci
[WIP] Github Actions
2021-01-28 12:58:40 -06:00
Seth Barberee
96297af9cc forgot to add calcrom 2021-01-28 12:57:22 -06:00
Seth Barberee
041851f669 fix incorrect map file 2021-01-28 10:27:41 -06:00
Seth Barberee
5303d952dc fixup webhook for github 2021-01-28 10:04:07 -06:00
Seth Barberee
9bd9b71d1e inital try at GithubCI 2021-01-28 10:01:56 -06:00
Seth Barberee
1d9dbf3497 add debug.h 2021-01-28 09:24:55 -06:00
Seth Barberee
4886c9f7dc decomp, label, doc, repeat 2021-01-28 09:24:55 -06:00
Seth Barberee
cb77386b65 more headway on Pokemon funcs and labeled in asm 2021-01-22 10:39:42 -06:00
Seth Barberee
10cda4ba81 split out all dungeon floor id data 2021-01-22 10:26:43 -06:00
Seth Barberee
d010378f72 mass doc'ing of symbols and some tiny decomp work 2021-01-20 16:02:26 -06:00
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