mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-05 02:37:55 -04:00
Ghost work
This commit is contained in:
@@ -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"
|
||||
@@ -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
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user