papermario/src/world_goompa.c

33 lines
741 B
C
Raw Normal View History

2020-10-19 02:24:43 +02:00
#include "common.h"
void func_802BD100_324A10(Npc* npc) {
npc->collisionHeight = 24;
npc->collisionRadius = 20;
}
ApiStatus func_802BD114(ScriptInstance* script, s32 isInitialCall) {
2020-10-21 01:02:05 +02:00
Npc* owner = script->owner2.npc;
2020-10-19 02:24:43 +02:00
if (isInitialCall) {
2020-10-21 01:02:05 +02:00
func_800EECC4(owner);
2020-10-19 02:24:43 +02:00
}
2020-10-21 01:02:05 +02:00
return func_800EECE8(owner) != 0;
2020-10-19 02:24:43 +02:00
}
INCLUDE_ASM(s32, "world_goompa", func_802BD14C);
INCLUDE_ASM(s32, "world_goompa", func_802BD4E0);
ApiStatus func_802BD524(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
ApiStatus func_802BD52C(ScriptInstance* script, s32 isInitialCall) {
2020-10-21 01:02:05 +02:00
Npc* owner = script->owner2.npc;
2020-10-19 02:24:43 +02:00
if (isInitialCall) {
2020-10-21 01:02:05 +02:00
func_800EE994(owner);
2020-10-19 02:24:43 +02:00
}
2020-10-21 01:02:05 +02:00
return func_800EE9B8(owner) != 0;
2020-10-19 02:24:43 +02:00
}