Commit Graph

67 Commits

Author SHA1 Message Date
AnonymousRandomPerson
520ae97054 Decomped ov28_0238A58C
Decomped by @taxicat1
2025-09-07 23:37:58 -04:00
AnonymousRandomPerson
c31bd7d9bc Added nonmatching for StatusCheckerCheckOnTarget 2025-09-01 23:56:49 -04:00
AnonymousRandomPerson
1f04b8558e Added name differences between decomp and pmdsky-debug in sync script 2025-08-31 14:10:28 -04:00
AnonymousRandomPerson
e6cfeaa6bc Synced from pmdsky-debug 2025-08-26 19:28:08 -04:00
Seth Barberee
c984945d41 fix: add -lm to gen_fx_consts Makefile 2025-08-17 10:57:29 -07:00
AnonymousRandomPerson
d37282fba3 Added ASM symbol hack to pmdsky-debug sync blacklist 2025-08-07 20:37:10 -04:00
AnonymousRandomPerson
1331886e47 Extract new nonmatching format in extract_function 2025-08-07 20:22:28 -04:00
AnonymousRandomPerson
cde588512b Fixed unbound local in sync_to_pmdsky_debug 2025-08-06 20:33:01 -04:00
AnonymousRandomPerson
36dbdd8862 Use argparse for extract_function 2025-07-16 01:20:40 -04:00
AnonymousRandomPerson
a824c5bc03 Decomped IsMoveRangeStringUser 2025-06-22 17:36:12 -05:00
AnonymousRandomPerson
710459dbb1 Fixed extract_function extracting offset constants 2025-06-17 19:20:17 -05:00
AnonymousRandomPerson
80ea87bb2e Support nonmatching in extract_function 2025-06-10 23:16:45 -04:00
AnonymousRandomPerson
52e04c047b Support ITCM in extract_function 2025-06-10 22:30:27 -04:00
AnonymousRandomPerson
e858032839 Synced BSS symbols from pmdsky-debug 2024-12-30 01:18:28 -06:00
AnonymousRandomPerson
0d4b5d3ff2 Decomped AiDecideUseItem 2024-12-30 00:22:22 -06:00
AnonymousRandomPerson
607f3741a5 Synced from pmdsky-debug 2024-12-28 00:42:34 -06:00
AnonymousRandomPerson
3f53ea0f72 Decomped IsChargingAnyTwoTurnMove 2024-12-27 23:59:57 -06:00
AnonymousRandomPerson
15cc2d2b9a Synced from pmdsky-debug 2024-12-05 01:52:27 -05:00
AnonymousRandomPerson
d131e83082 Allow specifying new file name in extract_function 2024-11-20 23:58:31 -05:00
AnonymousRandomPerson
83244da18a Fix extract_function including numbers in includes 2024-10-28 22:15:19 -04:00
AnonymousRandomPerson
764a69a219 Fixed pmdsky-debug sync adding to out-of-range subsymbol dirs 2024-10-24 22:53:10 -04:00
AnonymousRandomPerson
6564a51336 Fixed sync-to-pmdsky-debug inserting in wrong place 2024-10-19 00:03:35 -04:00
AnonymousRandomPerson
f2e7f20772 Fix nonmatching after merge 2024-10-18 21:21:26 -04:00
AnonymousRandomPerson
1999f0b9eb Merge branch 'overlay31' of https://github.com/igidrau/pmd-sky 2024-10-18 18:54:33 -04:00
AnonymousRandomPerson
de40a04a70 Decomped ov15_0238AD78
Decomped by Seti
2024-10-18 01:12:59 -04:00
user
40e311f222 Import struct monster from pmdsky-debug 2024-08-04 18:49:21 +02:00
user
76e8d94dc1 Decomp ov31_02382F68 2024-07-31 08:22:44 +02:00
AnonymousRandomPerson
cb2ebc82eb Added JP to pmdsky-debug syncing 2024-06-23 16:20:55 -05:00
AnonymousRandomPerson
4cdeec3ccf Added documented symbol counter 2024-06-09 01:48:22 -04:00
AnonymousRandomPerson
f4880f0b8f Split arm9 ASM JP 2024-04-17 23:52:39 -04:00
AnonymousRandomPerson
590d633a48 Set up initial JP build 2024-04-17 23:52:39 -04:00
AnonymousRandomPerson
09b1e43bd6 Detected subsymbol dirs in sync to pmdsky-debug 2024-02-08 18:23:43 -05:00
AnonymousRandomPerson
8304f6ecd3 Supported pmdsky-debug aliases for sync 2024-01-06 14:18:12 -06:00
AnonymousRandomPerson
0d66c0d994 Temporarily ignored prototype symbol name syncing 2023-12-30 18:09:34 -06:00
AnonymousRandomPerson
14f2b4cd9c Used original Pascal_SnakeCase for DSE functions 2023-12-30 18:06:04 -06:00
UsernameFodder
8e6873cb29 Sync some symbols from pokeheartgold
These were found by correlating identical code between Sky and Heart
Gold.

This is the first of a series of results from this correlation work.
Some of the changes included in this commit:
- init code
- math utilities (FX_, VEC_, MTX_)
- graphics utilities (GX_ and friends)

None of the code here is decompiled, so this change only includes
renames and tweaks to the asm.

Note: GX_HBlankIntr is not the same between EoS and Heart Gold, but the
label was added anyway because it is between GX_Init and GX_VBlankIntr
in both games. The latter two functions DO match between games.
2023-12-29 01:52:12 -06:00
UsernameFodder
3d87a95850 Support syncing BSS symbols to pmdsky-debug
These data symbols can be added to ram.yml. Since information is lost,
it's not possible to go in the other direction, so RAM syncing can only
be done TO pmdsky-debug.
2023-12-28 23:50:54 -06:00
UsernameFodder
c2f4f07c30 sync_to_pmdsky_debug.py: Pass pmdsky_debug_section as an arg
This variable was being referenced as a global by sync_xmap_symbol.
Pass it in as a local parameter instead.
2023-12-28 22:27:07 -06:00
AnonymousRandomPerson
03c0ba33be Fixed more pmdsky-debug sync issues
-Creating new header symbol now works when preceding symbol isn't in header.
2023-12-28 21:10:40 -06:00
AnonymousRandomPerson
cdefb150e3 Added more documentation to scripts 2023-12-28 19:09:25 -06:00
AnonymousRandomPerson
62ac44cbf4 Fixed pmdsky-debug sync issue
-Data symbol renames not syncing to headers.
-Function header not creating properly if previous symbol was renamed.
2023-12-28 19:07:12 -06:00
AnonymousRandomPerson
1dd0f32e83
Merge pull request #50 from UsernameFodder/sync
Sync math operator/utility functions from pokeheartgold
2023-12-27 14:27:31 -06:00
UsernameFodder
38625d657d Rename some functions for pmdsky-debug sync
pmdsky-debug now supports Pascal_SnakeCase for function names, so remove
some naming overrides and make others more consistent.
2023-12-27 02:13:27 -06:00
UsernameFodder
32998ca899 Sync math operator/utility functions from pokeheartgold
Compared/synced by hand from the pokeheartgold asm.

Some of the functions had labels corresponding to libgcc counterparts;
rename them all for consistency.

Note that some of the functions have multiple names in pokeheartgold
(of which at most one is actually used). Instead of polluting the xMAP
files with multiple symbols (some with zero length), which makes it
really hard for scripts to parse, just add these alternate names as
comments. This makes them searchable without having an effect on build
artifacts.
2023-12-27 02:12:38 -06:00
UsernameFodder
75934d8e45 Handle blx instructions in extract_function.py
Handle function calls via blx, e.g., `blx SVC_WaitByLoop`.

The enumerated exceptions are the only ones currently present in the
repository.
2023-12-27 00:06:16 -06:00
UsernameFodder
38b75afe93 Add pyyaml to sync_pmdsky_debug/requirements.txt 2023-12-26 23:21:51 -06:00
AnonymousRandomPerson
c8c61d2b90 Decomped LFO functions
Contributed by Rhokin.
2023-12-10 13:41:43 -05:00
AnonymousRandomPerson
ebd2d093b8 Decomped sound envelope functions
Contributed by Rhokin in the SkyTemple Discord. https://discord.com/channels/710190644152369162/804247227991326730/1182773685317271634
2023-12-08 23:16:22 -05:00
AnonymousRandomPerson
cc23f5352f Synced from pmdsky-debug 2023-11-29 22:41:14 -05:00
AnonymousRandomPerson
3a591b0d4a Fixed some incorrect symbol names 2023-11-22 14:53:02 -06:00