Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
GetPlayerCoins.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "npc.h"
3
4API_CALLABLE(N(GetPlayerCoins)) {
5 script->varTable[0] = gPlayerData.coins;
6 return ApiStatus_DONE2;
7}
#define ApiStatus_DONE2
Definition evt.h:118
PlayerData gPlayerData
Definition 77480.c:40