mirror of
https://github.com/zeldaret/tp
synced 2026-09-06 19:01:05 -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:
@@ -343,7 +343,7 @@ void daB_TN_c::calcWaistAngle() {
|
||||
}
|
||||
|
||||
/* 8062F01D 0003+00 data_8062F01D None */
|
||||
static u8 s_hioinit;
|
||||
static u8 hio_set;
|
||||
|
||||
static daB_TN_HIO_c l_HIO;
|
||||
|
||||
@@ -4913,7 +4913,7 @@ int daB_TN_c::_delete() {
|
||||
dComIfG_resDelete(&mPhaseReq1, "B_tn");
|
||||
dComIfG_resDelete(&mPhaseReq2, mArcName);
|
||||
if (mHioInit) {
|
||||
s_hioinit = 0;
|
||||
hio_set = 0;
|
||||
}
|
||||
|
||||
if (heap != NULL) {
|
||||
@@ -5073,8 +5073,8 @@ int daB_TN_c::create() {
|
||||
return cPhs_ERROR_e;
|
||||
}
|
||||
|
||||
if (s_hioinit == 0) {
|
||||
s_hioinit = 1;
|
||||
if (hio_set == 0) {
|
||||
hio_set = 1;
|
||||
mHioInit = 1;
|
||||
l_HIO.mUnk1 = -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user