mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
Bandit_DropCoin.inc.c pointers
This commit is contained in:
parent
d46e65757d
commit
8084c67967
@ -18,15 +18,15 @@ ApiStatus N(Bandit_DropCoin)(ScriptInstance* script, s32 isInitialCall) {
|
||||
} else if (npcID >= -270000000) {
|
||||
npc = get_npc_unsafe(npcID);
|
||||
} else {
|
||||
npc = npcID;
|
||||
npc = (Npc*)npcID;
|
||||
}
|
||||
|
||||
script->functionTemp[0].s = npc;
|
||||
script->functionTemp[0].s = (s32)npc;
|
||||
script->functionTemp[1].s = itemEntityIndex;
|
||||
script->functionTemp[2].s = areaFlag;
|
||||
}
|
||||
|
||||
npc = script->functionTemp[0].s;
|
||||
npc = (Npc*)script->functionTemp[0].s;
|
||||
itemEntityIndex = script->functionTemp[1].s;
|
||||
areaFlag = script->functionTemp[2].s;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user