35 lines
712 B
C
35 lines
712 B
C
#include <ultra64.h>
|
|
#include "functions.h"
|
|
#include "variables.h"
|
|
|
|
void func_803885F8(Actor *this);
|
|
|
|
/* .data */
|
|
extern ActorInfo D_8038ECA0 = {
|
|
0x1C2, 0x30B, 0x4E3,
|
|
0x0, NULL,
|
|
func_803885F8, NULL, func_80325888,
|
|
0, 0, 1.0f, 0
|
|
};
|
|
|
|
/* .code */
|
|
void func_80388590(Actor *this, s32 next_state){
|
|
if(next_state == 1){
|
|
func_80335924(this->unk148, 0x219, 0.0f, 1.0f);
|
|
func_80335A8C(this->unk148, 4);
|
|
}
|
|
this->state = next_state;
|
|
}
|
|
|
|
void func_803885F8(Actor *this){
|
|
if(!this->unk16C_4){
|
|
this->unk16C_4 = TRUE;
|
|
if(func_8031FF1C(0xe5)){
|
|
func_80388590(this, 1);
|
|
}
|
|
else{
|
|
marker_despawn(this->marker);
|
|
}
|
|
}
|
|
}
|