Commit Graph

41 Commits

Author SHA1 Message Date
Kermalis
1d1129d28c Clean some externs 2025-12-13 18:19:31 -05:00
Kermalis
10cbb42719 Split text.c and decompress.c 2025-03-21 23:48:05 -04:00
DizzyEggg
6cc3f98aaf Use Window and WindowTemplate 2025-03-02 15:24:33 +01:00
DizzyEggg
b4cdd4b10e start documenting windows 2025-02-23 15:45:00 +01:00
DizzyEggg
abf677b928 unify unktextstruct2[4] into unktextstruct3 2025-02-19 09:59:57 +01:00
DizzyEggg
0849ab32f4 data moved to code_809A560 2025-02-14 14:34:58 +01:00
DizzyEggg
0e1a2f021d more data code_809A560 2025-02-14 12:47:35 +01:00
DizzyEggg
2442708b15 document portrait struct 2024-10-20 10:47:13 +02:00
DizzyEggg
76ccab8113 UnkPrintFieldMsgStruct discovered 2024-10-19 17:09:39 +02:00
Kermalis
ccbc0ea647
Split+data wonder_mail_3 and wonder_mail_2_1 2023-10-21 23:53:22 -04:00
Kermalis
c6bc80e6d8 Split+data code_801602C 2023-09-20 22:52:40 -04:00
Kermalis
fdcef19d85 Split+data code_8023144/code_80227B8 2023-09-20 22:26:35 -04:00
Kermalis
a324d39b9d More typedef + clean ground_map files 2023-09-02 07:36:59 -04:00
Kermalis
72430d1072 Remove most "struct" which makes the repo smolr 2023-09-02 01:46:26 -04:00
Seth Barberee
9bf38c7e47 Match CreateRescueTitle and CreateRescueDescription thanks to @jiang 2023-08-27 22:21:19 -07:00
Kermalis
9b491a782e Document/correct some struct sizes & offsets 2023-07-17 22:16:42 -04:00
Seth Barberee
fae8e0cbfb more menu decomp and merging of files 2023-05-25 08:02:53 -07:00
Seth Barberee
dfedc6a896 feat: the great labeling of wonder mail 2023-03-27 20:25:08 -07:00
Seth Barberee
dcd8ea2e2f move MenuStruct to include/menu and use in more places 2023-02-13 17:37:15 -08:00
AnonymousRandomPerson
b22feb80af Merge remote-tracking branch 'upstream/master' 2023-01-13 22:36:16 -05:00
Seth Barberee
1de6d5eadd Miscellaneous things
- Decomp sub_8035D80
- Clean up other funcs with unkStruct_203B480 and unkStruct_8035D94
2023-01-13 17:22:41 -08:00
Seth Barberee
5aa19fac49 continue documenting more things 2023-01-13 17:22:41 -08:00
Seth Barberee
71e0c74add major code refactor for sub_8095228 2023-01-13 17:22:41 -08:00
Seth Barberee
0ca46d7254 unify wonder mail constants 2023-01-13 17:22:41 -08:00
Seth Barberee
71cbad4412 consolidate comms error codes and label some more funcs 2023-01-13 17:22:41 -08:00
AnonymousRandomPerson
be20f60ee0 Synced some symbol names with EoS hacking 2023-01-08 04:23:00 -05:00
Seth Barberee
908a11cdb0 remove extra global.h include 2022-12-12 11:22:04 -08:00
Seth Barberee
e9f8c788da more decomp 2022-11-02 22:05:20 -07:00
Seth Barberee
4fc272fea6
No wifi + 2 days on train = more decomp (#80)
* No wifi + 2 days on train = more decomp

* layin some more

* one func, one file
2021-12-01 14:33:06 -08:00
Seth Barberee
3e5dd1d047
Death by 74 files (#65)
* death by 74 files

* 20% reached

* doc move stuff in pokemon

* fix undef reference

* doc more and plumb a few more constanst for num party members and num moves

* that struct is def PokemonMove.. clean up all code with it
2021-10-22 10:01:07 -07:00
Seth Barberee
25794a39c3
Finish main menu decomp (#59)
* decomp rest of main_menu

* move some main menu data over

* decomp some more wonder mail

* decomp the dungeon dialogue scene switches

* more wonder mail

* consolidate struct_802F204

* another wonder mail func

* more wonder mail

* slight cleanup
2021-10-11 09:03:17 -07:00
Seth Barberee
0d3b11e81a
Data work and decomp some mail/pelipper board (#54)
* data work and decomp some mail/pelipper board

* resuce -> rescue

* label more data
2021-09-24 00:49:43 -05:00
Seth Barberee
4eff188244
Thank You Mail and minor DungeonEnitity Work (#52)
* Thank You Mail: split out code into own file w/ data

* use constant for facingDir
2021-09-08 21:32:59 -07:00
Seth Barberee
db05ce306f
More PMD grind (#50)
* more sese grind

* match sub_802ABF8

* some more work
2021-09-01 18:05:30 -07: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
Dennis
92a8e55fdd
Decompiled some item related functions (#42)
* decompile sub_8091290

* decompile sub_80912c8

* rename functions / struct field

* more names

* decompile 80913A0

* decompile GetItemMove

* decompile sub_80913E0

* rename function

* decompile CanSellItem function

* rename inventory struct

* add some item check functions

* fix renaming stuff

* this file shouldnt have been here

* forgot merge conflict

* decompile more item functions

* rename some stuff

* fix HM/TM naming

* Update src/code_801AFA4.c

Use enum value for USED_TM

* Fix incorrect value

Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
2021-07-10 11:23:20 -05:00
Seth Barberee
6aa475c631 Sese's vacation work 2021-07-07 11:39:34 -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
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
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