document gGlobalTimer and related functions

This commit is contained in:
mariob92
2024-09-02 12:35:38 +02:00
parent 98e97f4e95
commit ec98c1620c
53 changed files with 102 additions and 102 deletions

View File

@@ -176,7 +176,7 @@ void chAncientOne_update(Actor *this){
}
}
else{//L80386C64
sp38 = func_8023DB5C() & 0xF;
sp38 = globalTimer_getTime() & 0xF;
sp34 = LOCAL_CH_ANCIENT_ONE(this)->unk1C + 40.0f;
this->position_y += 18.0;
this->position_x += (sp38 & 1) ? 0x17 : -0x17;

View File

@@ -293,7 +293,7 @@ void GV_func_8038BEA0(Actor *this){
else{
func_8030E2C4(this->unk44_31);
this->position_y -= 7.0;
if(func_8023DB5C() & 1){
if(globalTimer_getTime() & 1){
sp38[0] = this->position_x;
sp38[1] = this->position_y;
sp38[2] = this->position_z;