Ghost work

This commit is contained in:
Cuyler36
2024-01-16 04:17:43 -05:00
parent cdeb0c85cd
commit a2e27360fe
6 changed files with 31 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
#include "ac_ev_ghost.h"
#include "m_event.h"
#include "m_common_data.h"
#include "../src/ac_ev_ghost_talk.c_inc"
#include "../src/ac_ev_ghost_schedule.c_inc"
View File
View File
+1 -1
View File
@@ -1337,7 +1337,7 @@ static int aSOI_ins_renew_check_range_table(SET_MANAGER* set_manager, aSOI_insec
spawn_type = aSOI_SPAWN_TYPE_ISLAND;
}
else {
mEv_gst_common_c* ghost_common = (mEv_gst_common_c*)mEv_get_common_area(0x72, 0x37); // TODO: definitions for event type, event id
mEv_gst_common_c* ghost_common = (mEv_gst_common_c*)mEv_get_common_area(mEv_EVENT_GHOST, 0x37); // TODO: definitions for event type, event id
if (ghost_common != NULL && (ghost_common->flags & mEv_GHOST_FLAG_ACTIVE) != 0 &&
aSOI_check_hitodama_set_block(set_manager, &ghost_common->hitodama_block_data) == TRUE
) {