2020-10-19 02:04:18 +02:00
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
void func_802BD100_324F10(Npc* npc) {
|
|
|
|
npc->collisionHeight = 24;
|
|
|
|
npc->collisionRadius = 20;
|
|
|
|
}
|
|
|
|
|
|
|
|
ApiStatus func_802BD114_324F10(ScriptInstance* script, s32 isInitialCall) {
|
2020-10-21 01:02:05 +02:00
|
|
|
Npc* owner = script->owner2.npc;
|
2020-10-19 02:04:18 +02:00
|
|
|
|
|
|
|
if (isInitialCall) {
|
2020-10-21 01:02:05 +02:00
|
|
|
func_800EECC4(owner);
|
2020-10-19 02:04:18 +02:00
|
|
|
}
|
2020-10-21 01:02:05 +02:00
|
|
|
return func_800EECE8(owner) != 0;
|
2020-10-19 02:04:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ApiStatus func_802BD14C_324F10(ScriptInstance* script, s32 isInitialCall) {
|
|
|
|
PlayerData* playerData = &gPlayerData;
|
2020-10-21 01:02:05 +02:00
|
|
|
Npc* owner = script->owner2.npc;
|
2020-10-19 02:04:18 +02:00
|
|
|
|
|
|
|
if (isInitialCall) {
|
2020-10-21 01:02:05 +02:00
|
|
|
enable_partner_walking(owner, TRUE);
|
2020-10-19 02:04:18 +02:00
|
|
|
}
|
2020-10-19 04:55:52 +02:00
|
|
|
|
2020-10-21 01:02:05 +02:00
|
|
|
func_800EBA3C(owner);
|
|
|
|
func_800EBB40(owner);
|
2020-10-19 02:04:18 +02:00
|
|
|
playerData->unk_2F4[PartnerId_GOOMBARIA]++;
|
|
|
|
|
|
|
|
return ApiStatus_BLOCK;
|
|
|
|
}
|
|
|
|
|
|
|
|
ApiStatus func_802BD1AC_324F10(ScriptInstance* script, s32 isInitialCall) {
|
|
|
|
return ApiStatus_DONE2;
|
|
|
|
}
|
|
|
|
|
|
|
|
ApiStatus func_802BD1B4(ScriptInstance* script, s32 isInitialCall) {
|
2020-10-21 01:02:05 +02:00
|
|
|
Npc* owner = script->owner2.npc;
|
2020-10-19 02:04:18 +02:00
|
|
|
|
|
|
|
if (isInitialCall) {
|
2020-10-21 01:02:05 +02:00
|
|
|
func_800EE994(owner);
|
2020-10-19 02:04:18 +02:00
|
|
|
}
|
2020-10-21 01:02:05 +02:00
|
|
|
return func_800EE9B8(owner) != 0;
|
2020-10-19 02:04:18 +02:00
|
|
|
}
|