Commit Graph

68 Commits

Author SHA1 Message Date
AnonymousRandomPerson
b458476078 Swapped out more text macros 2021-12-14 22:54:04 -05:00
mid-kid
087405b9d9 Dump and document status sprites 2021-12-13 10:44:48 -06:00
mid-kid
ca10fd795e Dump unidentified tables 2021-12-13 10:44:48 -06:00
Cheng Hann Gan
938a88551f
Labeled more symbols (#77)
* Labeled more symbols

* Fixed comment typo

* Renamed some functions
2021-11-20 08:47:46 -08:00
Seth Barberee
d988394595
More data dumping and some code cleaning (#46)
* more data dumping and some code cleaning

* split out cutscene scripts

* initial start at script conversion

* more script work

* use correct type

* clearer up struct field names

* split known scripts into seperate files

* no need to preproc pure ascii strings in debug

* more cutscene work

* split out personality test scripts

* solidify text macros and doc some dungeon fields

* more scripting work
2021-08-12 17:26:01 -07:00
Seth Barberee
377bd14ea6
Dungeon pokemon/Floor ID JSON Part 1 (#39)
* move Thunderwave and Tiny Woods pokemon to json

* rule tweaking to actually build tool before parsing JSON

* delete .inc pokemon for tiny Woods and Thunderwave

* silence git complaining about br_ips and ips_patch

* use defines for species and pass the header file for species

* convert sinister woods

* convert MtThunderPeak

* convert silent chasm

* add trial floor_id w/ tiny woods

* change make rule name to fix compile

* MtSteel converted and bugfix

* convert few floor headers and great canyon pokemon

* code cleanup

* unify unkData into UnkTextStruct2

* more code cleanup and some text decomp

* doc more funcs and decomp/split some stuff

* document more save stuff

* more save work and move some data

* pika sniped UpdateNatureTotal

* decomp a litle and convert a few more dungeons

* better scanning for json files

* mt freeze and peak
2021-06-09 22:54:21 -05:00
Seth Barberee
eaa141c612
Keep on keepin on (#38)
* end of may dump of work

* move save text to src

* decomp a little more
2021-05-23 16:19:35 -05:00
Seth Barberee
f402e46cd3
Sese's April/May Dump (#37)
* splitting lots of pokemon square and labeling lots of other things

* actually commit this stuff

* more moving data and things

* more screen work

* split out some pokemon dungeon data

* lots of data work

* push more data work

* split kecleon, decomp another kanghaskhan func, and try to doc UpdateBGControl more

* lots of item work

* label more item things

* subtype -> category and doc types/category
2021-05-15 18:59:55 -05:00
Seth Barberee
d316d1e359
Preproc all the data (#35)
* actually put C files in preproc and use it for formatted type names. Cleaned up makefile like pokeemerald

* finish adding all colors and text macros to charmap

* preproc all the data and use text macros

* move all of wonder_mail_1 to src

* unify wonder_mail and wonder_mail_mid

* small code cleanup

* name two more exclusive pokemon funcs

* decomp a few more wonder mail funcs

* clean up MemoryFill call

* doc more of wonder mail in main menu
2021-04-05 22:05:09 -05:00
Seth Barberee
2fd4f339b4
Miscellaneous Work (Again) (#31)
* move some personality data from asm to C

* combine personality_test files and add my close attempt at RedrawPartnerSelectionMenu

* decomp some more wonder mail funcs and label some more data

* lots of data splitting and move some to src

* split out more dungeon data

* continue splitting out more dungeon data

* doc rescue team rank/pts funcs/data and exclusive pokemon ewram

* doc more sound things and decomp a func

* decomp LoadTeamRankBadge and label some data members

* split out rescue team and text util stuff

* forgot a constant

* match a few funcs and clean up a few

* cleaned up sub_80A28B4
2021-03-23 12:11:10 -05:00
Seth Barberee
7b142311a7
Miscellaneous Work (Again) (#30)
* work on debug menu and document that and main menu

* split, decomp, label more funcs

* split exclusive pokemon data out into C

* macro-ize exlusive pokemon data

* decomp 2 more funcs

* decomp a few more

* finally match PromptNewQuestion

* woot 7% aka more debug menu stuff
2021-03-12 15:39:07 -06:00
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
cb77386b65 more headway on Pokemon funcs and labeled in asm 2021-01-22 10:39:42 -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
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
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
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
Seth Barberee
1c2975874b remove tiny text data file 2020-11-03 14:12:29 -06:00
Seth Barberee
83cc1bbd4d conntinue datadumping 2020-11-03 11:27:42 -06:00
Seth Barberee
c7158dcc65 some more data dumping 2020-11-02 11:48:58 -06:00
Seth Barberee
30f301d727 doc some strings 2020-10-29 23:02:43 -05:00
Seth Barberee
1d308ccaa4 more labeling of stuff with rom map (thx MegaMinerd) 2020-10-23 19:26:51 -05:00
Seth Barberee
9b8e49226f start moving some data into c of personality test 2020-10-17 12:27:49 -05:00
Seth Barberee
3c986032f8 docing and one decomp of a function 2020-10-13 17:30:44 -05:00
Seth Barberee
fc0a7eae93 some data dumping 2020-10-09 16:57:49 -05:00
Seth Barberee
18308a1190 some doc'ing and decomp work 2020-10-05 22:32:47 -05:00
Seth Barberee
182a678071 starting to make sense of some of the data stuff 2020-10-03 20:34:07 -05:00
Seth Barberee
dd42ca2108 more data dumping 2020-10-03 19:43:19 -05:00
Seth Barberee
89bfb94399 lotsa data dumping and split one asm file 2020-10-03 18:16:34 -05:00
Seth Barberee
ef82d0f951 some more dumping and one decomp 2020-09-30 14:48:13 -05:00
Seth Barberee
0b4a7ac24e More data dumping 2020-09-24 15:48:41 -05:00
Seth Barberee
a808cea8ea more data dumping 2020-09-22 14:58:19 -05:00
Seth Barberee
d227929420 more datadumping and some decomp work 2020-09-19 23:28:48 -05:00
Seth Barberee
1ee2ec16ae further splitting and decompile one func 2020-09-18 00:00:39 -05:00
Seth Barberee
ab156ce3d7 more datadumping 2020-09-17 15:34:15 -05:00
Seth Barberee
95b06d5d6b split to decomp type name string functions 2020-09-17 12:18:11 -05:00
Seth Barberee
cbe3f0265b dumped friend area names 2020-09-16 21:42:44 -05:00
Seth Barberee
8e58bc7515 adding more align stuff 2020-09-13 18:57:39 -05:00
Seth Barberee
4a094ea355 convert to using asciz for handling all the 0x00 bytes 2020-09-13 18:53:09 -05:00
Seth Barberee
7fa7e54165 more datadumping and starting to doc ewram components 2020-09-11 21:26:19 -05:00
Seth Barberee
5f1e84aa39 split friend area stuff to seperate file and work on more friend area warp scripts 2020-09-10 19:53:41 -05:00
Seth Barberee
f3317cbc11 dumped some friend area warp scripts 2020-09-10 19:26:38 -05:00
Seth Barberee
8d788ca347 split personality test data to different file and doc personality nature text table 2020-09-10 18:47:55 -05:00
Seth Barberee
acbe5a62e1 dumped starters a and partners 2020-09-10 18:04:23 -05:00
Seth Barberee
dad1e6c847 doc'ing more data from datacrytal 2020-09-09 20:31:02 -05:00