mirror of
https://github.com/zeldaret/tp
synced 2026-08-19 22:02:38 -04:00
+14
-14
@@ -836,7 +836,7 @@ s32 fopAcM_orderTalkEvent(fopAc_ac_c* i_actorA, fopAc_ac_c* i_actorB, u16 i_prio
|
||||
i_priority = 0x1FF;
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_TALK, i_priority, i_flag, 0x14F, i_actorA, i_actorB, -1,
|
||||
return dComIfGp_event_order(dEvt_type_TALK_e, i_priority, i_flag, 0x14F, i_actorA, i_actorB, -1,
|
||||
-1);
|
||||
}
|
||||
|
||||
@@ -870,7 +870,7 @@ s32 fopAcM_orderSpeakEvent(fopAc_ac_c* i_actor, u16 i_priority, u16 i_flag) {
|
||||
i_priority = 0x1EA;
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_TALK, i_priority, i_flag, 0x14F, dComIfGp_getPlayer(0),
|
||||
return dComIfGp_event_order(dEvt_type_TALK_e, i_priority, i_flag, 0x14F, dComIfGp_getPlayer(0),
|
||||
i_actor, -1, -1);
|
||||
}
|
||||
|
||||
@@ -894,7 +894,7 @@ s32 fopAcM_orderDoorEvent(fopAc_ac_c* i_actorA, fopAc_ac_c* i_actorB, u16 i_prio
|
||||
eventID = dComIfGp_getEventManager().getEventIdx(i_actorA, NULL, toolID);
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_DOOR, i_priority, i_flag, -1, i_actorA, i_actorB, eventID,
|
||||
return dComIfGp_event_order(dEvt_type_DOOR_e, i_priority, i_flag, -1, i_actorA, i_actorB, eventID,
|
||||
toolID);
|
||||
}
|
||||
|
||||
@@ -911,7 +911,7 @@ s32 fopAcM_orderCatchEvent(fopAc_ac_c* i_actorA, fopAc_ac_c* i_actorB, u16 i_pri
|
||||
i_priority = 2;
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_CATCH, i_priority, i_flag, -1, i_actorA, i_actorB, -1, -1);
|
||||
return dComIfGp_event_order(dEvt_type_CATCH_e, i_priority, i_flag, -1, i_actorA, i_actorB, -1, -1);
|
||||
}
|
||||
|
||||
/* 8001B3CC-8001B4E0 015D0C 0114+00 0/0 2/2 6/6 .text
|
||||
@@ -938,7 +938,7 @@ s32 fopAcM_orderOtherEvent(fopAc_ac_c* i_actor, char const* i_eventName, u16 par
|
||||
eventPrio = i_priority;
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_OTHER, eventPrio, i_flag, param_2, i_actor,
|
||||
return dComIfGp_event_order(dEvt_type_OTHER_e, eventPrio, i_flag, param_2, i_actor,
|
||||
event_second_actor(i_flag), eventIdx, -1);
|
||||
}
|
||||
|
||||
@@ -966,7 +966,7 @@ s32 fopAcM_orderOtherEvent(fopAc_ac_c* i_actorA, fopAc_ac_c* i_actorB, char cons
|
||||
eventPrio = i_priority;
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_OTHER, eventPrio, i_flag, param_3, i_actorA, i_actorB,
|
||||
return dComIfGp_event_order(dEvt_type_OTHER_e, eventPrio, i_flag, param_3, i_actorA, i_actorB,
|
||||
eventIdx, -1);
|
||||
}
|
||||
|
||||
@@ -978,7 +978,7 @@ s32 fopAcM_orderChangeEventId(fopAc_ac_c* i_actor, s16 i_eventID, u16 i_flag, u1
|
||||
eventPrio = 0xFF;
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_OTHER, eventPrio, i_flag | 0x400, param_3, i_actor,
|
||||
return dComIfGp_event_order(dEvt_type_OTHER_e, eventPrio, i_flag | 0x400, param_3, i_actor,
|
||||
event_second_actor(i_flag), i_eventID, -1);
|
||||
}
|
||||
|
||||
@@ -1009,12 +1009,12 @@ s32 fopAcM_orderOtherEventId(fopAc_ac_c* i_actor, s16 i_eventID, u8 i_mapToolID,
|
||||
dStage_MapEvent_dt_c* dt = dEvt_control_c::searchMapEventData(i_mapToolID, roomNo);
|
||||
|
||||
if (dt != NULL) {
|
||||
newPriority = dt->mPriority;
|
||||
newPriority = dt->priority;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_OTHER, newPriority, i_flag, param_3, i_actor,
|
||||
return dComIfGp_event_order(dEvt_type_OTHER_e, newPriority, i_flag, param_3, i_actor,
|
||||
event_second_actor(i_flag), i_eventID, i_mapToolID);
|
||||
}
|
||||
|
||||
@@ -1036,7 +1036,7 @@ s32 fopAcM_orderMapToolEvent(fopAc_ac_c* i_actor, u8 param_1, s16 i_eventID, u16
|
||||
|
||||
dStage_MapEvent_dt_c* dt = dEvt_control_c::searchMapEventData(param_1, roomNo);
|
||||
if (dt != NULL) {
|
||||
newPriority = dt->mPriority;
|
||||
newPriority = dt->priority;
|
||||
|
||||
if (i_eventID == 0xFF) {
|
||||
i_eventID = dComIfGp_getEventManager().getEventIdx(i_actor, param_1);
|
||||
@@ -1051,7 +1051,7 @@ s32 fopAcM_orderMapToolEvent(fopAc_ac_c* i_actor, u8 param_1, s16 i_eventID, u16
|
||||
newPriority = param_5;
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_OTHER, newPriority, i_flag, param_3, i_actor,
|
||||
return dComIfGp_event_order(dEvt_type_OTHER_e, newPriority, i_flag, param_3, i_actor,
|
||||
event_second_actor(i_flag), i_eventID, param_1);
|
||||
}
|
||||
|
||||
@@ -1075,7 +1075,7 @@ s32 fopAcM_orderPotentialEvent(fopAc_ac_c* i_actor, u16 i_flag, u16 param_2, u16
|
||||
i_priority = 0xFF;
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_POTENTIAL, i_priority, i_flag, param_2, i_actor,
|
||||
return dComIfGp_event_order(dEvt_type_POTENTIAL_e, i_priority, i_flag, param_2, i_actor,
|
||||
event_second_actor(i_flag), -1, -1);
|
||||
}
|
||||
|
||||
@@ -1092,7 +1092,7 @@ s32 fopAcM_orderItemEvent(fopAc_ac_c* i_actor, u16 i_priority, u16 i_flag) {
|
||||
i_priority = 0xFF;
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_ITEM, i_priority, i_flag, -1, dComIfGp_getPlayer(0),
|
||||
return dComIfGp_event_order(dEvt_type_ITEM_e, i_priority, i_flag, -1, dComIfGp_getPlayer(0),
|
||||
i_actor, -1, -1);
|
||||
}
|
||||
|
||||
@@ -1110,7 +1110,7 @@ s32 fopAcM_orderTreasureEvent(fopAc_ac_c* i_actorA, fopAc_ac_c* i_actorB, u16 i_
|
||||
i_priority = 0xFF;
|
||||
}
|
||||
|
||||
return dComIfGp_event_order(EVT_TYPE_TREASURE, i_priority, i_flag, -1, i_actorA, i_actorB, -1,
|
||||
return dComIfGp_event_order(dEvt_type_TREASURE_e, i_priority, i_flag, -1, i_actorA, i_actorB, -1,
|
||||
-1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user