mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-25 08:02:04 -04:00
Miscellaneous data fixes (#2983)
* Replace bss lbl_ with init$0000 * Rename l_HIOInit to hio_set The name is excluded from TP's weird maps, but hio_set is the name they used in TWW's maps. * Fix a couple more init$ names * Fix nbomb missing some bss * Fix camera localstatics having wrong name * Rename l_initHIO to hio_set * A couple manual fixes * Rename hioInit to hio_set * Couple more manual fixes * Fix d_a_npc_cd2 data and function order * More data fixes * Fix inconsistent hex vs decimal
This commit is contained in:
@@ -289,7 +289,7 @@ static BOOL other_bg_check2(e_mf_class* i_this, cXyz* param_2) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
u8 l_initHIO;
|
||||
u8 hio_set;
|
||||
|
||||
daE_MF_HIO_c l_HIO;
|
||||
|
||||
@@ -3075,7 +3075,7 @@ static int daE_MF_Delete(e_mf_class* i_this) {
|
||||
dComIfG_resDelete(&i_this->mPhase, "E_mf");
|
||||
|
||||
if (i_this->field_0x10b9 != 0) {
|
||||
l_initHIO = 0;
|
||||
hio_set = 0;
|
||||
}
|
||||
|
||||
if (a_this->heap != NULL) {
|
||||
@@ -3174,9 +3174,9 @@ static cPhs__Step daE_MF_Create(fopAc_ac_c* a_this) {
|
||||
return cPhs_ERROR_e;
|
||||
}
|
||||
|
||||
if (l_initHIO == 0) {
|
||||
if (hio_set == 0) {
|
||||
i_this->field_0x10b9 = 1;
|
||||
l_initHIO = 1;
|
||||
hio_set = 1;
|
||||
l_HIO.field_0x4 = -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user