summaryrefslogtreecommitdiff
path: root/src/code/m_npc.c
diff options
context:
space:
mode:
authorPrakxo <87568477+Prakxo@users.noreply.github.com>2024-08-12 19:36:07 +0200
committerGitHub <noreply@github.com>2024-08-12 10:36:07 -0700
commiteb99af89c88005c8e300b76e1b5d93467b98aafd (patch)
treed888a89809981f43e791ba63351e2ae2d5f239ab /src/code/m_npc.c
parentc3164cd99c3eb764a63171253af14126be77b1e7 (diff)
m_kankyo OK (#207)
* implement kankyo * m_kankyo OK
Diffstat (limited to 'src/code/m_npc.c')
-rw-r--r--src/code/m_npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/m_npc.c b/src/code/m_npc.c
index 6e0ab8a..7320eb9 100644
--- a/src/code/m_npc.c
+++ b/src/code/m_npc.c
@@ -2329,7 +2329,7 @@ void mNpc_AddNpc_inNpcRoom(FieldMakeMoveActor* moveActor, u8 bx, u8 bz) {
}
}
} else if (fieldId == 0x300A) {
- animalIdInField = func_8008033C_jp(0xE, 0xF);
+ animalIdInField = mEv_get_save_area(0xE, 0xF);
if (animalIdInField != NULL) {
npcId = *animalIdInField;
currentNpc = common_data.save.animals[npcId].id.npcId;