Skip to content

ID more actor fields and give enums, document more of Marina's behavior, more labels - #63

Open
blackgamma7 wants to merge 42 commits into
Drahsid:masterfrom
blackgamma7:ActorHit
Open

ID more actor fields and give enums, document more of Marina's behavior, more labels#63
blackgamma7 wants to merge 42 commits into
Drahsid:masterfrom
blackgamma7:ActorHit

Conversation

@blackgamma7

@blackgamma7 blackgamma7 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
  • rename some actor fields dealing with collision
    • create enums for the types and flags
    • confirm and ID "FLAG3" bits, add enum for common mask.
  • add more graphic indexes.
  • Document and label more of Marina's behavior
    • rename some state functions
    • rename struct responsible for automatic animations, and give enums
    • rename scripts responsible for Marina's behaviors
  • various labels and documenting
    • add and apply macro for target stage times.
    • AAAAAAAA

@queueRAM queueRAM left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What another lovely PR. Approving, just had a few nitpicks reading through it.

Comment thread include/actor.h Outdated
Comment thread include/actorTypes.h Outdated
Comment thread src/28EF0.c Outdated
Comment thread src/marina_hit.c
@blackgamma7
blackgamma7 marked this pull request as draft August 9, 2026 02:46
@blackgamma7
blackgamma7 marked this pull request as ready for review August 15, 2026 22:17
@Drahsid

Drahsid commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Can you list out the files you renamed and a summary of the reason for the chosen name?

@blackgamma7

Copy link
Copy Markdown
Contributor Author

Can you list out the files you renamed and a summary of the reason for the chosen name?

48A30 -> marina_anim: code for automated animations, like dashing in, Teleporting in, victory dance, etc.
4FEB0 -> marina_grab: Code deals with behavior grabbing/throwing/shake-shaking actors.
57F20 -> marina_hit: code deals with Marina reacting to attacks.
59EA0 -> marina_effect: graphical effects for Marina, like flames when burnt, i-frame sparkles, electrocution, etc.

@Drahsid Drahsid left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix build nonmatching. The rest is small nits and observational questions.

Comment thread src/A540.c Outdated
Comment thread src/A540.c Outdated
Comment thread src/overlay_4/overlay_7CE060/7CE090.c Outdated
Comment thread include/marina.h Outdated
Comment thread include/actor.h Outdated
Comment thread decomp.yaml
Comment thread versions/us1/symbol_addrs_functions.txt
Comment thread include/actor.h Outdated
Comment thread include/48A30.h Outdated
Comment thread src/marina.c Outdated

@Drahsid Drahsid left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly just notes on behavior. Also, update the progress report as it seems to be stale.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File is stale, rerun progress script.

Comment thread include/marina_anim.h Outdated
Comment thread include/common_structs.h Outdated
Comment thread include/marina_effect.h
Comment thread src/61B80.c Outdated
Comment thread src/stage.c Outdated
Comment thread src/music.c Outdated
Comment thread include/data_symbols.h Outdated
Comment thread include/data_symbols.h
extern u8 gEnvColorsBlue[4];
extern u8 gEnvColorsAlpha[4];
extern u8 gBlackPrimColor[4]; // set prim color to black if true, white if false
extern u8 D_801376BC[4]; // use env/prim color vars if false, skip if true

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also selects a different dlist, edge offsets, and texture step, so there's some context we haven't analyzed yet.

@blackgamma7

Copy link
Copy Markdown
Contributor Author

Most the suggest changes applied, should be ready when you are.

spacing on Tarus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants