mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-20 22:51:16 -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:
@@ -578,7 +578,7 @@ void daE_HM_c::UpDeathAction() {
|
||||
}
|
||||
}
|
||||
|
||||
static bool l_HIOInit;
|
||||
static bool hio_set;
|
||||
|
||||
static daE_HM_HIO_c l_HIO;
|
||||
|
||||
@@ -1361,7 +1361,7 @@ int daE_HM_c::Delete() {
|
||||
dComIfG_resDelete(&mPhase,"E_HM");
|
||||
|
||||
if (field_0xa84 != 0) {
|
||||
l_HIOInit = false;
|
||||
hio_set = false;
|
||||
mDoHIO_DELETE_CHILD(l_HIO.field_0x04);
|
||||
}
|
||||
|
||||
@@ -1531,8 +1531,8 @@ int daE_HM_c::Create() {
|
||||
return cPhs_ERROR_e;
|
||||
}
|
||||
|
||||
if (l_HIOInit == 0) {
|
||||
l_HIOInit = true;
|
||||
if (hio_set == 0) {
|
||||
hio_set = true;
|
||||
field_0xa84 = 1;
|
||||
l_HIO.field_0x04 = mDoHIO_CREATE_CHILD("E_HM", &l_HIO);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user