more game.c

This commit is contained in:
theo3
2022-01-03 20:16:58 -08:00
parent 0698806e00
commit f26b2e286a
12 changed files with 530 additions and 1067 deletions
+12
View File
@@ -80,6 +80,18 @@ void sub_08061AFC(Entity*);
extern u16* gUnk_0810B660[8];
void CreateZeldaFollower(void) {
Entity* npc;
if (CheckGlobalFlag(0x1c) != 0) {
npc = CreateNPC(0x2e, 0, 0);
if (npc != NULL) {
CopyPosition(&gPlayerEntity, npc);
npc->flags |= 0x20;
npc->animationState = GetAnimationState(npc);
}
}
}
// UNUSED zelda follower, probably because it was too resource heavy
void NPC5(Entity* this) {
gUnk_0810AC1C[this->type](this);
-12
View File
@@ -205,15 +205,3 @@ void Postman_Fusion(Entity* this) {
UpdateAnimationSingleFrame(this);
}
}
void CreateZeldaFollower(void) {
Entity* npc;
if (CheckGlobalFlag(0x1c) != 0) {
npc = CreateNPC(0x2e, 0, 0);
if (npc != NULL) {
CopyPosition(&gPlayerEntity, npc);
npc->flags |= 0x20;
npc->animationState = GetAnimationState(npc);
}
}
}