Skip to content

SceneAgbGhost: match fn_800A84A8#11

Open
LucasPicoli wants to merge 1 commit into
conhlee:masterfrom
LucasPicoli:match/agbghost-fn_800A84A8
Open

SceneAgbGhost: match fn_800A84A8#11
LucasPicoli wants to merge 1 commit into
conhlee:masterfrom
LucasPicoli:match/agbghost-fn_800A84A8

Conversation

@LucasPicoli

Copy link
Copy Markdown

Anim-index select needs to be through ? 8 : 9 to emit srawi (arithmetic shift) like the target — the 10 : 9 value produced srwi.

The animation index select compiled to srwi (logical shift), but the
target uses srawi (arithmetic shift). Decoding `9 + srawi(neg(through),31)`
shows the true value is 8, not 10: `through ? 8 : 9` yields the -1 mask
that generates srawi and matches the original.
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.

1 participant