Commit Graph

38 Commits

Author SHA1 Message Date
Mateon1
1bdb63d68d
Hack out escaped characters 2024-10-15 00:26:15 +02:00
Mateon1
439a43e82c
Document more script var stuff 2024-09-20 00:57:27 +02:00
Mateusz Naściszewski
ae3c563713
Mega rename 2024-09-15 20:29:02 +02:00
Seth Barberee
5fe3e86372 finish moving data to src - math 2024-03-26 21:10:10 -07:00
Seth Barberee
6c0e119963 move some data to src in math.c 2024-03-25 22:21:48 -07:00
Roshan Padaki
c8a7778224
[data] identify sin fn lookup 2023-09-24 00:06:16 -04:00
Kermalis
21cf77f46f Annotate some more for the text1/text2 puzzle 2023-09-09 17:13:43 -04:00
Kermalis
012094c503 Split file_system into decompress 2023-09-07 03:26:32 -04:00
Kermalis
36b18f6348 Clean code_8009804 2023-09-07 01:52:30 -04:00
Kermalis
72430d1072 Remove most "struct" which makes the repo smolr 2023-09-02 01:46:26 -04:00
Kermalis
a10e7454fc NAKED sub_8007AA4 2023-08-07 11:11:58 -04:00
Kermalis
c419a607d0 Nonmatch sub_8007958 for now 2023-08-07 10:09:14 -04:00
Kermalis
175400074e NAKED match xxx_draw_char() 2023-08-07 08:16:51 -04:00
AnonymousRandomPerson
18d508ae9f Defined pointers for data.s 2023-06-14 22:30:40 -04:00
AnonymousRandomPerson
f9e05a2054 Renamed gender-specific text color 2023-06-04 22:35:24 -04:00
mid-kid
99a038284b Translate all .include to #include
This decision was made to reduce the complexity of using .include whilst
juggling with tools/scaninc and tools/preproc:
- tools/scaninc doesn't apply the proper search rules for .include (it
  assumes #include behavior). In particular, it doesn't consider paths
  starting from $PWD, and doesn't scan the included files as a result.
- .include had to be processed before #include by preproc in many cases,
  as code was being included that had to be preprocessed by CPP (think
  of #define). This contradicts standard GCC behavior.

To make include paths consistent across the asm/ data/ and src/
directories, the following files were moved:
- constants/ → include/asm/constants/
- asm/macros/ → include/asm/macros/
- asm/macros.inc → include/asm/macros.inc
- include/macros/m4a.inc → include/asm/macros/m4a.inc

As part of the necessary changes for this to work, the scaninc method in
the makefile was improved to generate .d files that don't choke when
files are missing.
2021-12-20 16:29:12 +01:00
AnonymousRandomPerson
7acad69795 Renamed inconsistent color macros 2021-12-19 17:19:13 -06:00
AnonymousRandomPerson
b458476078 Swapped out more text macros 2021-12-14 22:54:04 -05:00
mid-kid
2fcfbc2266 Finish de-incbinning data.s 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
Cheng Hann Gan
a432de845c
Expanded charmap usage (#76)
* Added item icons/Hiragana to charmap

* Use color formatting charmap macros

* Removed redundant text formatting macros
2021-11-18 09:21:00 -08:00
mid-kid
681ca68ac9
Disassemble some more tables and the first graphic (#71)
* Sync tools/ directory with pokeemerald

We really ought to have a central repository for this mess

* Make incremental builds faster

Scientists hate him!
He made NODEP disappear with this ONE SIMPLE TRICK!!!
Want to know more? -> __click here__ <-

* Disassemble some more tables and the first graphic
2021-11-04 14:07:26 -07:00
mid-kid
8f162f70ba Disassemble a script-related table 2021-11-04 02:10:38 +01: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
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
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
d010378f72 mass doc'ing of symbols and some tiny decomp work 2021-01-20 16:02:26 -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
fc0a7eae93 some data dumping 2020-10-09 16:57:49 -05:00
Seth Barberee
51de478e60 changed hex boundary to decimal and format corresponding data 2020-10-01 13:48:10 -05:00
Seth Barberee
0b4a7ac24e More data dumping 2020-09-24 15:48:41 -05:00
Seth Barberee
a14f61bc6a yes data dumping go brrr 2020-09-21 19:31:59 -05:00
Seth Barberee
d227929420 more datadumping and some decomp work 2020-09-19 23:28:48 -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
e4b9df868f dump none text 2020-09-04 21:29:54 -05:00
nullableVoidPtr
81f6704f3c Use preprocessor for data asms, clean up sound/ and dump some text 2018-11-22 20:59:37 +08:00
sceptillion
d08ba1f023 decompile some of file_system 2017-12-12 00:17:17 -08:00
sceptillion
d07afbc081 initial commit 2017-12-10 22:41:46 -08:00