Conversation
Report for GZ2E01 (e8e3644 - bfdb4d8)📈 Matched code: 62.09% (+0.11%, +13120 bytes) ✅ 69 new matches:
...and 39 more new matches 📈 24 improvements in unmatched functions:
|
include/d/actor/d_a_npc_ks.h
Outdated
| /* 0x5C4 */ f32 field_0x5c4; | ||
| /* 0x5C8 */ s16 field_0x5c8; | ||
| /* 0x5CA */ u8 field_0x5ca[0x5ea - 0x5ca]; | ||
| /* 0x5CA */ u8 field_0x5ca[0x5cc - 0x5ca]; |
There was a problem hiding this comment.
field_0x5ca can be removed
include/d/actor/d_a_npc_ks.h
Outdated
| /* 0x604 */ s16 field_0x604; | ||
| /* 0x606 */ s16 field_0x606; | ||
| /* 0x608 */ s16 field_0x608; | ||
| /* 0x60A */ u8 field_0x60a[0x60c - 0x60a]; |
There was a problem hiding this comment.
field_0x60a can be removed
include/d/actor/d_a_npc_ks.h
Outdated
| /* 0x60A */ u8 field_0x60a[0x60c - 0x60a]; | ||
| /* 0x60C */ f32 field_0x60c; | ||
| /* 0x610 */ s16 field_0x610; | ||
| /* 0x612 */ u8 field_0x612[0x614 - 0x612]; |
There was a problem hiding this comment.
I think field_0x612 can be removed
include/d/actor/d_a_npc_ks.h
Outdated
| /* 0x860 */ Z2Creature mSound; | ||
| /* 0x8F0 */ cXyz field_0x8f0; | ||
| /* 0x8FC */ csXyz field_0x8fc; | ||
| /* 0x902 */ u8 field_0x902[0x904 - 0x902]; |
There was a problem hiding this comment.
field_0x902 can be removed
include/d/actor/d_a_npc_ks.h
Outdated
| /* 0x904 */ int field_0x904; | ||
| /* 0x908 */ f32 field_0x908; | ||
| /* 0x90C */ s8 field_0x90c; | ||
| /* 0x90D */ u8 field_0x90d[0x910 - 0x90d]; |
There was a problem hiding this comment.
field_0x90d can be removed
src/d/actor/d_a_npc_ks.cpp
Outdated
|
|
||
| sVar1 = start_pya - sw_p->current.angle.y; | ||
| if (sVar1 < 0x4000 && sVar1 > -0x4000) { | ||
| a_this->home.angle.y = sVar1 + (u16)-0x8000; |
There was a problem hiding this comment.
is (u16)-0x8000 not just +0x8000?
src/d/actor/d_a_npc_ks.cpp
Outdated
| } | ||
| } | ||
|
|
||
| cLib_addCalcAngleS2(&a_this->current.angle.y, cage_p->shape_angle.y + (u16)-0x8000, 2, 0x1000); |
There was a problem hiding this comment.
is (u16)-0x8000 not just +0x8000?
src/d/actor/d_a_npc_ks.cpp
Outdated
| #pragma force_active on | ||
| static u8 data_80A5FFA0[4]; | ||
| #pragma pop | ||
| // /* 80A5DEB8-80A5DEE8 015018 0030+00 1/1 0/0 0/0 .text dComIfGs_onEventBit__FUs */ |
| i_this->mMode++; | ||
| i_this->mSound.startCreatureSound(Z2SE_FN_ROPE_CREAK, 0, -1); | ||
| sw_p->field_0x8fc = 20.0f; | ||
| // sw_p->field_0xd10[i_this->field_0x630] = 10; |
There was a problem hiding this comment.
Just debug? if so put in #ifdef
There was a problem hiding this comment.
No, it's commented out because I know that field_0xd10 is supposed to be an array, I just don't know the size. Likely going to work on obj_sw next so maybe that will shed light on it.
| i_this->mSound.startCreatureVoice(Z2SE_KOSARU_V_CATCH, -1); | ||
| i_this->mSound.startCreatureSound(Z2SE_FN_ROPE_CREAK, 0, -1); | ||
| sw_p->field_0x8fc = 20.0f; | ||
| // sw_p->field_0xd10[i_this->field_0x630] = 10; |
|
So do you want to properly write the struct for paths or just merge as is? |
|
Go ahead and merge as is. I’m going to continue to work on the TU regardless! |
No description provided.