Skip to content

d_a_obj_sekidoor matching#2344

Merged
TakaRikka merged 10 commits intozeldaret:mainfrom
Stbn-antier:d_a_obj_sekidoor
Mar 24, 2025
Merged

d_a_obj_sekidoor matching#2344
TakaRikka merged 10 commits intozeldaret:mainfrom
Stbn-antier:d_a_obj_sekidoor

Conversation

@Stbn-antier
Copy link
Copy Markdown
Contributor

resolves #1030

return;
}
if (mDestroyed != false) {
for (int index = 2; index <= 3; index++){
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.

Is the <= 3 necessary? for loops are usually written with <. Same in the next loop.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

With <4 I get

cmpwi r24, 0x4
blt -0x64

when the target is

cmpwi r24, 0x3
ble -0x64

I'm not sure it will work with <4 or <2 even though it's ugly

@TakaRikka TakaRikka merged commit c33ddb3 into zeldaret:main Mar 24, 2025
1 check passed
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.

d_a_obj_sekidoor.cpp

3 participants