summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_bs1.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-01-06 00:23:55 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-01-06 00:23:55 -0500
commit37dbfd75de367d41e5a2edffa00b1b6027b1bd8e (patch)
tree6525c7b1e2086d4cbffd97c0c15df1391bec5b1a /src/d/actor/d_a_npc_bs1.cpp
parent4a0a89501d765c5682e76ed5e05cd45648977614 (diff)
Add item button enum and talk button enum
Diffstat (limited to 'src/d/actor/d_a_npc_bs1.cpp')
-rw-r--r--src/d/actor/d_a_npc_bs1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_npc_bs1.cpp b/src/d/actor/d_a_npc_bs1.cpp
index 5dc64550..9b5f00d3 100644
--- a/src/d/actor/d_a_npc_bs1.cpp
+++ b/src/d/actor/d_a_npc_bs1.cpp
@@ -115,9 +115,9 @@ static s16 daNpc_Bs1_XyEventCB(void* i_this, int value) {
return ((daNpc_Bs1_c*)i_this)->XyEventCB(value);
}
/* 000002E4-00000490 .text XyEventCB__11daNpc_Bs1_cFi */
-s16 daNpc_Bs1_c::XyEventCB(int selectItemIdx) {
+s16 daNpc_Bs1_c::XyEventCB(int i_itemBtn) {
s16 eventIdx = -1;
- u8 selectedItem = (s32)dComIfGp_getSelectItem(selectItemIdx);
+ u8 selectedItem = (s32)dComIfGp_getSelectItem(i_itemBtn);
if (mType == 0) {
if (selectedItem == KAISEN_PRESENT1) {
eventIdx = mEventIdxs[0];