7API_CALLABLE(N(ChangeNpcToPartner)) {
16 script->functionTemp[0] = 2;
18 script->functionTemp[0] = 0;
22 switch (script->functionTemp[0]) {
25 script->functionTemp[1] = 30;
26 script->functionTemp[0] = 1;
29 script->functionTemp[1]--;
30 if (script->functionTemp[1] == -1) {
31 script->functionTemp[0] = 2;
39 script->functionTemp[0] = 3;
43 npc->
flags &= ~NPC_FLAG_INACTIVE;
void func_800EB2A4(s32 arg0)
s32 evt_get_variable(Evt *script, Bytecode var)
void partner_clear_player_tracking(Npc *partner)
void switch_to_partner(s32 arg0)
void disable_npc_shadow(Npc *npc)
void set_npc_yaw(Npc *npc, f32 yaw)
Npc * get_npc_safe(s32 npcID)
#define NPC_DISPOSE_POS_Y