mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
80238000 Part 1 Update
This commit is contained in:
parent
5f91533980
commit
8f8eb69b3a
@ -123,7 +123,7 @@ typedef struct Npc {
|
||||
/* 0x078 */ s32 shadowIndex;
|
||||
/* 0x07C */ f32 shadowScale;
|
||||
/* 0x080 */ s32 unk_80;
|
||||
/* 0x084 */ s32 unk_84;
|
||||
/* 0x084 */ char unk_84[4];
|
||||
/* 0x088 */ s16 isFacingAway;
|
||||
/* 0x08A */ s16 yawCamOffset;
|
||||
/* 0x08C */ s16 unk_8C;
|
||||
|
@ -1,12 +1,14 @@
|
||||
#include "common.h"
|
||||
|
||||
ApiStatus func_80238000_714CF0(ScriptInstance *arg0) {
|
||||
ApiStatus func_80238000_714CF0(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = BATTLE_STATUS;
|
||||
if ((battleStatus->flags2 & 0x40) != 0) {
|
||||
arg0->varTable[0] = 1;
|
||||
|
||||
if (battleStatus->flags2 & 0x40) {
|
||||
script->varTable[0] = 1;
|
||||
} else {
|
||||
arg0->varTable[0] = 0;
|
||||
script->varTable[0] = 0;
|
||||
}
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/twink_714CF0", func_80238028_714D18);
|
||||
|
Loading…
Reference in New Issue
Block a user