Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
IsBerserkerEquipped.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "npc.h"
3#include "battle/action_cmd.h"
4
5API_CALLABLE(N(IsBerserkerEquipped)) {
6 script->varTable[0] = gBattleStatus.actionCommandMode;
7 script->varTable[1] = 15;
8
10 script->varTable[0] = ACTION_COMMAND_MODE_NOT_LEARNED;
11 script->varTable[1] = 40;
12 }
13
14 return ApiStatus_DONE2;
15}
16
@ ACTION_COMMAND_MODE_NOT_LEARNED
Definition action_cmd.h:38
@ ABILITY_BERSERKER
Definition enums.h:457
#define ApiStatus_DONE2
Definition evt.h:118
s32 is_ability_active(s32 arg0)
Definition inventory.c:1725
BattleStatus gBattleStatus
Definition battle.c:11