Files
tmc/src/object/cutsceneOrchestrator.c
T
2022-07-25 22:45:55 +02:00

24 lines
508 B
C

/**
* @file cutsceneOrchestrator.c
* @ingroup Objects
*
* @brief CutsceneO rchestrator object
*/
#include "entity.h"
#include "functions.h"
#include "hitbox.h"
void CutsceneOrchestrator(Entity* this) {
if ((this->flags & ENT_SCRIPTED) != 0) {
if (this->action == 0) {
this->action = 1;
this->hitbox = (Hitbox*)&gHitbox_2;
sub_0807DD50(this);
} else {
sub_0807DD94(this, NULL);
}
} else {
this->action = 1;
}
}