document gGlobalTimer and related functions
This commit is contained in:
@@ -444,7 +444,7 @@ Actor *chWarpCauldron_draw(ActorMarker *marker, Gfx **gfx, Mtx **mtx, Vtx **vtx)
|
||||
sp3C[0] = randi2(150, sp3C[1]);
|
||||
sp3C[2] = 0;
|
||||
sp3C[3] = randi2(40, 80);
|
||||
if (func_8023DB5C() & 1) {
|
||||
if (globalTimer_getTime() & 1) {
|
||||
func_802EE354(this, 0x3E9, 5, randi2(-10, 90), randf2(0.3f, 0.7f), 0.28f, 0.45f, sp3C, 5, 0);
|
||||
}
|
||||
}
|
||||
|
@@ -405,7 +405,7 @@ void func_803867A8(Actor *this) {
|
||||
this->position[0] = this->unk1C[0] + sp5C[0];
|
||||
this->position[2] = this->unk1C[2] + sp5C[2];
|
||||
if (this->marker->unk14_21) {
|
||||
sp44 = this->unk158[func_8023DB5C() & 1];
|
||||
sp44 = this->unk158[globalTimer_getTime() & 1];
|
||||
if (sp44 != NULL) {
|
||||
particleEmitter_setAlpha(sp44, this->alpha_124_19);
|
||||
phi_f0 = this->unk60 - 10.0f;
|
||||
|
Reference in New Issue
Block a user