mirror of
https://github.com/zeldaret/tp
synced 2026-06-26 18:32:08 -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:
@@ -40,7 +40,7 @@ public:
|
||||
/* 0x0C */ f32 model_scale_male; // モデルスケール(オス) - Model Scale (Male)
|
||||
};
|
||||
|
||||
static u8 l_initHIO;
|
||||
static u8 hio_set;
|
||||
|
||||
static daObj_KagHIO_c l_HIO;
|
||||
|
||||
@@ -582,7 +582,7 @@ int daObjKAG_c::_delete() {
|
||||
dComIfG_resDelete(&mPhase, "I_Kag");
|
||||
|
||||
if (field_0x85f != 0) {
|
||||
l_initHIO = 0;
|
||||
hio_set = 0;
|
||||
mDoHIO_DELETE_CHILD(l_HIO.id);
|
||||
}
|
||||
|
||||
@@ -695,8 +695,8 @@ cPhs__Step daObjKAG_c::create() {
|
||||
|
||||
OS_REPORT("/////////// I_kag SET OK ///////\n");
|
||||
|
||||
if (l_initHIO == 0) {
|
||||
l_initHIO = 1;
|
||||
if (hio_set == 0) {
|
||||
hio_set = 1;
|
||||
field_0x85f = 1;
|
||||
l_HIO.id = mDoHIO_CREATE_CHILD("黄金蟲(カゲロウ)", &l_HIO);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user