mirror of
https://github.com/zeldaret/tmc
synced 2026-07-27 14:52:13 -04:00
Rename managers
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
extern u32 CheckRectOnScreen(s16, s16, u32, u32);
|
||||
|
||||
/*
|
||||
This object is created by Manager13.
|
||||
This object is created by HouseSignManager.
|
||||
It checks whether the 0x10 x 0x10 rect at field_0x80, field_0x82 is still on the screen.
|
||||
If not, then it deletes itselfs and unsets the this->type2 bit in the managers field_0x20 bitfield.
|
||||
*/
|
||||
|
||||
@@ -7,7 +7,7 @@ void sub_08099E10(Entity*);
|
||||
void sub_08099E58(Entity*);
|
||||
void sub_08099E8C(Entity*);
|
||||
void nullsub_534(Entity*);
|
||||
extern void sub_0805B390(u32);
|
||||
extern void CreateHoleManager(u32);
|
||||
|
||||
void Object86(Entity* this) {
|
||||
static void (*const actionFuncs[])(Entity*) = {
|
||||
@@ -63,7 +63,7 @@ void sub_08099E8C(Entity* this) {
|
||||
RequestPriorityDuration(this, 0x1e);
|
||||
}
|
||||
if (CheckLocalFlag(0x75)) {
|
||||
sub_0805B390(0x7);
|
||||
CreateHoleManager(0x7);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "player.h"
|
||||
#include "physics.h"
|
||||
|
||||
extern void sub_0805B390(u32);
|
||||
extern void CreateHoleManager(u32);
|
||||
|
||||
void ObjectAB_Init(Entity*);
|
||||
void ObjectAB_Action1(Entity*);
|
||||
@@ -45,7 +45,7 @@ void ObjectAB_Action2(Entity* this) {
|
||||
sub_080A0190(this);
|
||||
RequestPriorityDuration(this, 0x1e);
|
||||
if (EntityInRectRadius(this, &gPlayerEntity, 0x10, 0x10)) {
|
||||
sub_0805B390(0x37);
|
||||
CreateHoleManager(0x37);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user