mirror of
https://github.com/zeldaret/tmc
synced 2026-08-16 05:09:24 -04:00
more game.c
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user