mirror of
https://github.com/zeldaret/tp
synced 2026-06-04 02:47:02 -04:00
b_gnd equivalent (#2340)
* b_gnd equivalent * fix dEvt_info_c inlines * fix some more inlines
This commit is contained in:
@@ -503,7 +503,7 @@ int daObjDrop_c::actionCompleteWait() {
|
||||
int daObjDrop_c::actionOrderCompleteDemo() {
|
||||
camera_class* pcamera = dComIfGp_getCamera(dComIfGp_getPlayerCameraID(0));
|
||||
|
||||
if (eventInfo.i_checkCommandDemoAccrpt()) {
|
||||
if (eventInfo.checkCommandDemoAccrpt()) {
|
||||
pcamera->mCamera.SetTrimTypeForce(1);
|
||||
setDemoMode(DEMOMODE_COMPLETE_DEMO_e);
|
||||
mFadeoutTimer = KREG_S(8) + 135;
|
||||
@@ -511,7 +511,7 @@ int daObjDrop_c::actionOrderCompleteDemo() {
|
||||
dropGet();
|
||||
} else {
|
||||
fopAcM_orderPotentialEvent(this, 2, 0, 0);
|
||||
eventInfo.i_onCondition(dEvtCnd_CANDEMO_e);
|
||||
eventInfo.onCondition(dEvtCnd_CANDEMO_e);
|
||||
}
|
||||
|
||||
return 1;
|
||||
@@ -522,7 +522,7 @@ int daObjDrop_c::actionCompleateDemo() {
|
||||
camera_class* pcamera = dComIfGp_getCamera(dComIfGp_getPlayerCameraID(0));
|
||||
pcamera->mCamera.SetTrimTypeForce(1);
|
||||
|
||||
if (eventInfo.i_checkCommandDemoAccrpt()) {
|
||||
if (eventInfo.checkCommandDemoAccrpt()) {
|
||||
int timer = cLib_calcTimer<u8>(&mFadeoutTimer);
|
||||
if (timer == 0) {
|
||||
u8 need_num = dComIfGp_getNeedLightDropNum();
|
||||
@@ -556,7 +556,7 @@ int daObjDrop_c::actionWaitCompleteGetDemo() {
|
||||
dComIfGs_onSaveSwitch(13);
|
||||
} else {
|
||||
fopAcM_orderItemEvent(this, 0, 0);
|
||||
eventInfo.i_onCondition(dEvtCnd_CANGETITEM_e);
|
||||
eventInfo.onCondition(dEvtCnd_CANGETITEM_e);
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user