mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-31 08:51:31 -04:00
Rename flag
This commit is contained in:
+1
-1
@@ -364,7 +364,7 @@ typedef struct ghost_spirit_block_data_s {
|
||||
} mEv_gst_hitodama_block_c;
|
||||
|
||||
#define mEv_GHOST_FLAG_ACTIVE 0x4000 // TODO: do these live in the ghost actor itself?
|
||||
#define mEv_GHOST_FLAG_HITODAMA_EXIST 0x8000
|
||||
#define mEv_GHOST_FLAG_RETURNED_SPIRITS 0x8000
|
||||
typedef struct ghost_common_s {
|
||||
mEv_gst_hitodama_block_c hitodama_block_data;
|
||||
u16 flags;
|
||||
|
||||
+1
-1
@@ -148,7 +148,7 @@ static void aEGH_actor_ct(ACTOR* actorx, GAME* game) {
|
||||
mTM_set_renew_time(&ghost_save->renew_time, rtc_time);
|
||||
}
|
||||
|
||||
if ((ghost_save->flags & mEv_GHOST_FLAG_HITODAMA_EXIST) != 0) {
|
||||
if ((ghost_save->flags & mEv_GHOST_FLAG_RETURNED_SPIRITS) != 0) {
|
||||
Actor_delete(actorx);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -375,7 +375,7 @@ static void aEGH_select_wait(EV_GHOST_ACTOR* ghost, GAME_PLAY* play) {
|
||||
|
||||
if (order == 1 && mMsg_Check_MainNormalContinue(mMsg_Get_base_window_p())) {
|
||||
ghost->after_talk_think_act = 1;
|
||||
ghost_data->flags |= 0x8000;
|
||||
ghost_data->flags |= mEv_GHOST_FLAG_RETURNED_SPIRITS;
|
||||
mDemo_Set_OrderValue(mDemo_ORDER_NPC0, 9, 0);
|
||||
|
||||
switch (mChoice_Get_ChoseNum(mChoice_Get_base_window_p())) {
|
||||
|
||||
Reference in New Issue
Block a user