Commit Graph

1398 Commits

Author SHA1 Message Date
AnonymousRandomPerson
bee717cd0f Merge pull request #284 from SethBarberee/more_nitro_july
Some checks are pending
build / build (push) Waiting to run
More nitro, itcm, and DSE work
2026-07-25 16:13:28 -04:00
AnonymousRandomPerson
8e05683d74 Merge branch 'main' into more_nitro_july 2026-07-25 16:03:18 -04:00
AnonymousRandomPerson
5d155e351a Merge pull request #283 from CecilArmitais/decomp-actor-globals
[CLAUDE] Decomp special-actor setters; identify SPECIAL_ACTORS (_020B0B08)
2026-07-25 15:44:16 -04:00
Seth Barberee
25a790db5e more dse decomp 2026-07-24 19:31:21 -07:00
CecilArmitais
435ad13a33 Added union comment to special_actors 2026-07-24 13:42:08 -07:00
CecilArmitais
6e975da39b Added comments to script_entity_id 2026-07-24 13:35:26 -07:00
Seth Barberee
14bdd0ab84 decomp few DSE funcs 2026-07-23 18:00:33 -07:00
Seth Barberee
f5f90cb7a1 Match LightningRodStormDrainCheck thanks to @taxicat1 and other funcs 2026-07-23 16:47:54 -07:00
cecilarmitais
c72c378044 Decomp special-actor setters; identify SPECIAL_ACTORS (_020B0B08)
Decompile eight ground-mode setters from asm into src/main_02065B3C.c:
SetActorTalkMainAndActorTalkSub, SetActorTalkMain, SetActorTalkSub,
SetActorEventMain, SetRandomRequestNpcs1And2, SetRandomRequestNpc03KindVar,
SetAllEventNpcs and SetNewFriendActor.

Identify the global they write, _020B0B08, as a 28-byte table of slots keyed by
the special members of enum script_entity_id (ENTITY_TALK_MAIN 46 through
ENTITY_NPC_DEMO_PARTNER 59). Every slot offset is corroborated by both a writer
above and the reader that resolves it at the matching entity id: sub_0206549C,
reached via GetScriptEntityMonsterId, and sub_02065050, reached via
GetActorMatchingStorageId. Name the type struct special_actors and relabel the
symbol _020B0B08 -> SPECIAL_ACTORS at its definition in
asm/main_rodata_020A2808.s and at every reference.

Extracting the block splits asm/main_0205EDA4.s: the trailing functions move
verbatim into asm/main_02065BD8.s, the affected .inc files are regenerated, and
main.lsf gains the two new objects.

Add enum script_entity_id to include/enums.h, taken from pmdsky-debug, since
struct special_actors refers to it.

No comments are added to any pmd-sky file; comments cannot be checked by the
matching build, so the code is left to stand on its own.

Authored by Claude (Opus 4.8) under human direction. Confirmed by a matching
build: build/pmdsky.us/pmdsky.us.nds: OK.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 00:39:51 -07:00
AnonymousRandomPerson
ca0fb7116a Merge pull request #282 from CecilArmitais/decomp-IsSkyExclusiveDungeon
Some checks failed
build / build (push) Has been cancelled
IsSkyExclusiveDungeon (Claude Matched, Human Confirmed)
2026-07-20 17:53:07 -04:00
cecilarmitais
3a80e75ed3 Decomp IsSkyExclusiveDungeon
Authored by Claude (Opus 4.8) under human direction. Confirmed by a matching
build: build/pmdsky.us/pmdsky.us.nds: OK.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-19 16:27:08 -07:00
Seth Barberee
1259190e36 little itcm work 2026-07-18 09:27:28 -07:00
Seth Barberee
41fed841e0 move most of std_string to src 2026-07-16 07:36:58 -07:00
Seth Barberee
63fc9305bb remove unneeded files 2026-07-16 07:36:58 -07:00
Seth Barberee
4540eced4e Labeled/decomped MI_SwapWord 2026-07-16 07:36:58 -07:00
Seth Barberee
2561788669 move more gx files to src 2026-07-16 07:36:58 -07:00
Seth Barberee
8fc38e7ae7 move more files to src 2026-07-16 07:36:58 -07:00
Seth Barberee
8c59b45736 continue moving nitro code to c 2026-07-16 07:36:58 -07:00
AnonymousRandomPerson
014967fda3 Merge pull request #281 from AnonymousRandomPerson/main
Some checks failed
build / build (push) Has been cancelled
Synced from pmdsky-debug
2026-07-16 00:18:02 -04:00
AnonymousRandomPerson
5431619314 Synced from pmdsky-debug 2026-07-15 22:50:47 -04:00
AnonymousRandomPerson
a7873e861b Synced from pmdsky-debug 2026-07-15 22:12:22 -04:00
AnonymousRandomPerson
b1f1a46577 Merge pull request #280 from Zur3l/main
Some checks failed
build / build (push) Has been cancelled
Decomp 37 functions
2026-07-11 23:52:39 -04:00
Zur3l
00953d57af Decomp IsCastform and IsCherrim
Both decomped by @Chesyon and @taxicat1, thanks
2026-07-11 17:55:51 -04:00
Zur3l
4c368ab4e1 Add some decomp.me links 2026-07-11 17:18:26 -04:00
Zur3l
999df284ff Decomp BaseFormsEqual 2026-07-11 17:18:26 -04:00
Zur3l
c49eb69081 Decomp GetMoveCategory 2026-07-11 17:18:26 -04:00
Zur3l
9a03d2ac98 Decomp IsSameMove 2026-07-11 17:18:26 -04:00
Zur3l
356f786127 Decomp IsRealMoveInTimeDarkness, IsMovesetValidInTimeDarkness, and GetFirstNotRealMoveInTimeDarkness 2026-07-11 17:18:26 -04:00
Zur3l
5b17f3f97f Decomp IsMovesetValid
Thanks @taxicat1
2026-07-11 17:18:26 -04:00
Zur3l
fcca1fecac Decomp IsRealMove 2026-07-11 17:18:26 -04:00
Zur3l
5d30f28cd6 Decomp IsNot2TurnsMoveOrSketch 2026-07-11 17:18:26 -04:00
Zur3l
a5c869f004 Decomp IsOneHitKoMove 2026-07-11 17:18:26 -04:00
Zur3l
7bfd15116c Decomp IsTrappingMove 2026-07-11 17:18:26 -04:00
Zur3l
e8ce1c84e1 Decomp IsCopyingMove 2026-07-11 17:18:26 -04:00
Zur3l
7245b85a8c Decomp IsHealingWishOrLunarDance 2026-07-11 17:18:26 -04:00
Zur3l
7bd5b913cd Decomp IsPunchMove
Decomped by @SethBarberee and @taxicat1, thanks
2026-07-11 17:18:26 -04:00
Zur3l
8ad94ec216 Decomp ReturnEggExclusiveItem 2026-07-11 17:18:26 -04:00
Zur3l
38704de35e Decomp GetMoneyQuantity 2026-07-11 17:18:26 -04:00
Zur3l
5a60a98ad9 Decomp sub_0200D894 2026-07-11 17:18:26 -04:00
Zur3l
a929271ae0 Decomp AreItemsEquivalent 2026-07-11 17:18:26 -04:00
Zur3l
539dd92880 Decomp ItemZInit 2026-07-11 17:18:26 -04:00
Zur3l
e02ba958fb Decomp GetActualSellPrice 2026-07-11 17:18:25 -04:00
Zur3l
2ea04fcaf7 Decomp GetActualBuyPrice 2026-07-11 17:18:25 -04:00
Zur3l
59b2967ed6 Decomp GetDisplayedSellPrice 2026-07-11 17:18:25 -04:00
Zur3l
f68ebbebed Decomp GetDisplayedBuyPrice 2026-07-11 17:18:25 -04:00
Zur3l
05563134ab Decomp ItemToBulkItem
Thanks @SethBarberee
2026-07-11 17:18:25 -04:00
Zur3l
d03db2f6c7 Move GET_BIT to util.h and rename to GET_FLAG 2026-07-11 17:18:25 -04:00
Zur3l
530d75f1e6 Decomp BulkItemToItem
Thanks @SethBarberee
2026-07-11 17:18:25 -04:00
Zur3l
7e5c2720b8 Decomp GetRngSeed 2026-07-11 17:18:25 -04:00
Zur3l
5534d0f55d Decomp SetRngSeed 2026-07-11 17:18:25 -04:00