mirror of
https://github.com/zeldaret/tmc
synced 2026-06-10 04:54:18 -04:00
Put const data in heartContainer
This commit is contained in:
@@ -17,7 +17,7 @@ static void (*const gHeartContainerActions[])(Entity*) = {
|
||||
sub_0808E764,
|
||||
};
|
||||
|
||||
extern Hitbox gUnk_08121C58;
|
||||
const Hitbox3D gUnk_08121C58 = { 0, -3, { 5, 3, 3, 5 }, 6, 6, 12, {} };
|
||||
|
||||
void HeartContainer(Entity* this) {
|
||||
gHeartContainerActions[this->action](this);
|
||||
@@ -30,7 +30,7 @@ static void sub_0808E6A0(Entity* this) {
|
||||
this->action = 1;
|
||||
this->type = 0x62;
|
||||
this->spriteSettings.draw = 0;
|
||||
this->hitbox = &gUnk_08121C58;
|
||||
this->hitbox = (Hitbox*)&gUnk_08121C58;
|
||||
this->collisionLayer = 3;
|
||||
this->updatePriority = PRIO_NO_BLOCK;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ typedef struct {
|
||||
} Object30Entity;
|
||||
|
||||
extern u32 sub_0806F798(Entity*);
|
||||
extern const Hitbox gUnk_08121C58;
|
||||
extern const Hitbox3D gUnk_08121C58;
|
||||
|
||||
void Object30_Init(Object30Entity*);
|
||||
void Object30_Action1(Object30Entity*);
|
||||
|
||||
Reference in New Issue
Block a user