mirror of
https://github.com/zeldaret/tmc
synced 2026-07-26 06:37:00 -04:00
Decompile Object69
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* @file object69.c
|
||||
* @ingroup Objects
|
||||
*
|
||||
* @brief Object69 object
|
||||
*/
|
||||
#include "entity.h"
|
||||
#include "hitbox.h"
|
||||
#include "functions.h"
|
||||
|
||||
void Object69(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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user