diff options
Diffstat (limited to 'src/d/menu/d_menu_window.cpp')
| -rw-r--r-- | src/d/menu/d_menu_window.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/d/menu/d_menu_window.cpp b/src/d/menu/d_menu_window.cpp index 286e53a653..d18b471145 100644 --- a/src/d/menu/d_menu_window.cpp +++ b/src/d/menu/d_menu_window.cpp @@ -271,10 +271,6 @@ extern "C" u8 mAudioMgrPtr__10Z2AudioMgr[4 + 4 /* padding */]; // Declarations: // -inline BOOL dComIfGp_event_runCheck() { - return g_dComIfG_gameInfo.play.getEvent().runCheck(); -} - BOOL dMw_UP_TRIGGER() { return (bool)mDoCPd_c::getTrigUp(PAD_1); } @@ -2343,17 +2339,9 @@ BOOL dMw_c::dMw_isPush_S_Button() { return false; } -inline dEvt_control_c& dComIfGp_getEvent() { - return g_dComIfG_gameInfo.play.getEvent(); -} - -inline u16 dComIfGs_getLife() { - return g_dComIfG_gameInfo.info.getPlayer().getPlayerStatusA().getLife(); -} - /* 801FCDD8-801FCE08 1F7718 0030+00 1/1 0/0 0/0 .text isPauseReady__5dMw_cFv */ bool dMw_c::isPauseReady() { - if (dComIfGp_getEvent().checkCompulsory() || dComIfGs_getLife() == 0) { + if (i_dComIfGp_getEvent().checkCompulsory() || i_dComIfGs_getLife() == 0) { return false; } return true; @@ -2420,7 +2408,7 @@ bool dMw_c::isEventCheck() { field_0x148 = 0; } - if (dComIfGp_event_runCheck()) { + if (i_dComIfGp_event_runCheck()) { if (!dMsgObject_isTalkNowCheck() && (dMeter2Info_getMapStatus() == 4 || dMeter2Info_getMapStatus() == 5 || dMeter2Info_getMapStatus() == 7 || dMeter2Info_getMapStatus() == 8 || |
