summaryrefslogtreecommitdiff
path: root/include/d/com
diff options
context:
space:
mode:
authorTakaRikka <takarikka@outlook.com>2022-06-01 03:49:32 -0700
committerTakaRikka <takarikka@outlook.com>2022-06-01 03:49:32 -0700
commit3f22fa448376893fffd83815ecd4cdccb197f1a4 (patch)
treeee4fc3c63d8d1d36d5705c7d75a6ba3c47c6549c /include/d/com
parent36e62e0b80225b6ef6cbe6a7322397899d3a0ffd (diff)
m_Do / d_a_npc work
Diffstat (limited to 'include/d/com')
-rw-r--r--include/d/com/d_com_inf_game.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/d/com/d_com_inf_game.h b/include/d/com/d_com_inf_game.h
index a71bec6eba..f4ea443233 100644
--- a/include/d/com/d_com_inf_game.h
+++ b/include/d/com/d_com_inf_game.h
@@ -1357,6 +1357,10 @@ inline void dComIfGs_setNoFile(u8 file) {
g_dComIfG_gameInfo.info.setNoFile(file);
}
+inline void* dComIfGs_getPEventBit() {
+ return g_dComIfG_gameInfo.info.getEvent().getPEventBit();
+}
+
void dComIfGp_setItemLifeCount(f32 amount, u8 type);
void dComIfGp_setItemRupeeCount(long amount);
void dComIfGp_setSelectItem(int index);