mirror of
https://github.com/zeldaret/tmc
synced 2026-06-01 09:47:53 -04:00
24 lines
508 B
C
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;
|
|
}
|
|
}
|