Commit Graph

70 Commits

Author SHA1 Message Date
Seth Barberee d168537968 Finish out game options and FatalError
Some data cleanup as well. Thanks pika for the noreturn tip for
FatalError.
2021-06-23 17:35:37 -05:00
Seth Barberee f1fdcc2b0a more splitting and labeling with some decomp 2021-06-18 17:56:20 -05: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 f65dee5a14 Wonder mail and some boss dialogues (#36)
* more wonder mail and main menu work

* Lots of things.. doc'ing, decomping, and other things

* continue decomping boss scenes

* up to Suicune

* up to Mewtwo dialogue

* up to Raquaza

* fix spelling error on Rayquaza and decomp a few more

* up to groudon

* divide > shift
2021-04-19 23:55:40 -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 22fec43f18 More menu work (#33)
* split adventure log menu out and decompile

* add most adventure log matchings w/ 2 nonmatchings and move some relevant data

* more work on other menus

* fully decomp debug stuff around 203B3F0

* more debug menu work

* fix CreatePartnerSelectionMenu nonmatch

* move more data and clean some data up
2021-04-03 20:44:48 -05:00
Seth Barberee a2d206665c Move some data and Splitting (#32)
* move friend area settings to src

* split out playtime into different C file and decomp a few more funcs

* time -> play_time

* fix include

* split out more wonder mail stuff

* unify 203B2C0 and unkDungeon structs. snuck in a decomp func too

* split out more menu screens

* work some more on trade items

* doc a few more things

* add a close nonmatch and decomp nullsub and small func

* rollback struct attempt since it causes nonmatchings

* only one func left in asm

* death to trade_item asm and unify into one C file

* more docing and cleanup

* label main menu and trade items menu global menu struct

* doc itemMode
2021-03-30 13:11:51 -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 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 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 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
Seth Barberee 2582d7a868 isemi-identified VRAM and split personality test funcs 2020-11-23 15:22:16 -06:00
Seth Barberee cbfab08a06 finish docing PlayTime and fix function - Kermalis 2020-11-20 10:33:21 -06:00
Seth Barberee 5f8105180b combining and doc'ing of playtime things 2020-11-19 11:27:18 -06:00
Seth Barberee 578522b3d3 match another function and fix nonmatching 2020-11-18 00:44:35 -06:00
Seth Barberee 6e33dcb937 more work on music functions 2020-11-17 22:20:28 -06:00
Seth Barberee 713221ad1f forgot to fix the type on this struct 2020-11-07 17:50:29 -06:00
Seth Barberee 9d383609e2 some splitting and sync'ing declarations/vars 2020-11-01 23:23:32 -06:00
Seth Barberee acd79365e7 fix up constants for species according to datacrystal 2020-10-29 17:37:54 -05:00
Seth Barberee 24ff70e21e start some basic constants for dungeon data 2020-10-22 19:09:07 -05:00
Seth Barberee 184d3819ab more decomping of funcs 2020-10-20 18:05:23 -05:00
Seth Barberee 0271952426 Merge remote-tracking branch 'nullablevoid/master' into master
Port m4a from pokeemerald into pmd-red
2020-10-20 13:08:42 -05:00
Seth Barberee 1b0fc9f374 decomp an evolve func for pokemon 2020-10-18 18:16:28 -05:00
Seth Barberee 9b8e49226f start moving some data into c of personality test 2020-10-17 12:27:49 -05:00
Seth Barberee 6c9dd59b56 nonmatch bc I'm so close on those 2020-10-15 16:56:25 -05:00
Seth Barberee a391aaa3f6 unify save defines and decomp more save stuff 2020-10-09 15:16:49 -05:00
Seth Barberee d60e36b6b8 decomp a number of pokemon functions 2020-10-01 17:40:44 -05:00
Seth Barberee 96fdd3aae0 successful decomp of one pokemon data func and struct.. making headway 2020-10-01 13:32:53 -05:00
Seth Barberee cd050a5e7d found more MonsterParameter funcs that weren't in the split and decomped a few of them 2020-09-23 22:56:31 -05:00
Seth Barberee 1bacffd62f we already decomped this func so use it from text 2020-09-21 12:03:19 -05:00
Seth Barberee d5e31c8be0 decomp decomp decomp 2020-09-21 01:40:48 -05:00
Seth Barberee 977ef7d8aa fix guards 2020-09-20 19:33:21 -05:00
Seth Barberee ff099968a1 nonmatching input be GONE. Just one func left 2020-09-16 17:01:21 -05:00
Seth Barberee 190c3562b9 decomp a chunk of input 2020-09-16 14:00:48 -05:00
Seth Barberee 424db9c41b split out pokemon funcs and decomp another nullsub 2020-09-16 00:15:52 -05:00
Seth Barberee 312883043b doc'ing more bool stuff from pmde 2020-09-09 19:58:33 -05:00