mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-05 04:49:45 -04:00
d_a_bk OK
This commit is contained in:
+1004
-25
File diff suppressed because it is too large
Load Diff
@@ -2239,9 +2239,9 @@ void energy_ball_move(fganon_class* i_this) {
|
||||
csXyz local_7c(0,0,0);
|
||||
local_7c.y = (short)cM_atan2s(i_this->m3F8.x, i_this->m3F8.z);
|
||||
dComIfGp_particle_set(dPa_name::ID_SCENE_81F0, &i_this->m3E0, &local_7c);
|
||||
#if VERSION == VERSION_USA
|
||||
mDoAud_seStart(JA_SE_LK_PG_BOMB_STRIKE, &i_this->m3E0, 0, dComIfGp_getReverb(fopAcM_GetRoomNo(a_this)));
|
||||
#endif
|
||||
#if VERSION == VERSION_USA
|
||||
mDoAud_seStart(JA_SE_LK_PG_BOMB_STRIKE, &i_this->m3E0, 0, dComIfGp_getReverb(fopAcM_GetRoomNo(a_this)));
|
||||
#endif
|
||||
PSVECAdd(&i_this->m3E0, &i_this->m3F8, &i_this->m3E0);
|
||||
i_this->m40A = 5;
|
||||
}
|
||||
|
||||
@@ -2744,7 +2744,7 @@ void daNpc_Md_c::eventOrder() {
|
||||
break;
|
||||
case 10:
|
||||
mCurEvent = 6;
|
||||
dComIfGp_event_order(dEvtType_OTHER_e, 0xFF, 1, 0xFFFF, dComIfGp_getPlayer(0), this, mEventIdxTable[mCurEvent]);
|
||||
dComIfGp_event_order(dEvtType_OTHER_e, 0xFF, dEvtFlag_NOPARTNER_e, 0xFFFF, dComIfGp_getPlayer(0), this, mEventIdxTable[mCurEvent]);
|
||||
return;
|
||||
case 11:
|
||||
mCurEvent = 7;
|
||||
|
||||
@@ -365,7 +365,7 @@ void daNpc_Nz_c::cutGoHomeProc() {
|
||||
/* 000044D4-00004520 .text cutChkGetItemStart__10daNpc_Nz_cFv */
|
||||
void daNpc_Nz_c::cutChkGetItemStart() {
|
||||
if(field_0x8F8 >= 3) {
|
||||
fopAcM_orderChangeEventId(dComIfGp_getPlayer(0), this, field_0x8FA, 1, 0xFFFF);
|
||||
fopAcM_orderChangeEventId(dComIfGp_getPlayer(0), this, field_0x8FA, dEvtFlag_NOPARTNER_e, 0xFFFF);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5610,7 +5610,7 @@ void daNpcPeople_c::eventOrder() {
|
||||
fopAcM_orderChangeEventId(dComIfGp_getPlayer(0), this, m766[0], 0, 0xFFFF);
|
||||
}
|
||||
else if(m78D == 0xB) {
|
||||
fopAcM_orderChangeEventId(dComIfGp_getPlayer(0), this, m766[0], 8, 0xFFFF);
|
||||
fopAcM_orderChangeEventId(dComIfGp_getPlayer(0), this, m766[0], dEvtFlag_UNK8_e, 0xFFFF);
|
||||
}
|
||||
else if(m78D == 0xC) {
|
||||
fopAcM_orderChangeEventId(dComIfGp_getPlayer(0), this, m766[1], 0, 0xFFFF);
|
||||
|
||||
@@ -210,7 +210,7 @@ void dCcMassS_Mng::Clear() {
|
||||
|
||||
/* 800AD234-800AD310 .text Set__12dCcMassS_MngFP8cCcD_ObjUc */
|
||||
void dCcMassS_Mng::Set(cCcD_Obj* i_obj, u8 i_priority) {
|
||||
if (mMassObjCount >= 5) {
|
||||
if (mMassObjCount >= (s32)ARRAY_SIZE(mMassObjs)) {
|
||||
for (int i = 0; i < (s32)ARRAY_SIZE(mMassObjs); i++) {
|
||||
int priority = mMassObjs[i].GetPriority();
|
||||
if (priority > i_priority || (priority == i_priority && cM_rndF(1.0f) < 0.5f)) {
|
||||
|
||||
@@ -43,7 +43,6 @@ struct CharaData {
|
||||
}; // Size: 0x12
|
||||
|
||||
static const CharaData l_CharaData[] = {
|
||||
|
||||
{ // 0x00
|
||||
/* offset */ {0, 10, 0},
|
||||
/* radius */ 25,
|
||||
|
||||
Reference in New Issue
Block a user