mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-28 09:13:10 -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:
@@ -87,7 +87,7 @@ static BOOL pl_check(e_mm_class* i_this, f32 i_range, s16) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static u8 l_HIOInit;
|
||||
static u8 hio_set;
|
||||
|
||||
static daE_MM_HIO_c l_HIO;
|
||||
|
||||
@@ -999,7 +999,7 @@ static int daE_MM_Delete(e_mm_class* i_this) {
|
||||
dComIfG_resDelete(&i_this->phase, "E_MM");
|
||||
|
||||
if (i_this->field_0xc00) {
|
||||
l_HIOInit = 0;
|
||||
hio_set = 0;
|
||||
}
|
||||
|
||||
if (actor->heap != NULL) {
|
||||
@@ -1054,9 +1054,9 @@ static int daE_MM_Create(fopAc_ac_c* actor) {
|
||||
|
||||
OS_REPORT("//////////////E_MM SET 2 !!\n");
|
||||
|
||||
if (!l_HIOInit) {
|
||||
if (!hio_set) {
|
||||
i_this->field_0xc00 = TRUE;
|
||||
l_HIOInit = TRUE;
|
||||
hio_set = TRUE;
|
||||
l_HIO.id = mDoHIO_CREATE_CHILD("マグネメット", &l_HIO);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user