Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Probably boot:
- dMeter_fmapHIO_c::dMeter_fmapHIO_c
- g_fmapHIO.mOpenFrame (dMeter_fmapHIO_c)
- dMw_c
- unsigned __int8 mButtonStatus;
- unsigned __int8 mWindowStatus;
- unsigned __int8 mShowFlag;
- dMeter2Info_c
- unsigned __int16 mGameStatus;
- unsigned __int8 mWindowStatus;
- unsigned __int8 mMapStatus; //This is the important one. Is 2 if d-pad map was just scheduled, 3 for Midna map, otherwise mostly 1 if minimap is expanded, 0 when collapsed
- unsigned __int8 mWarpStatus;
- Always:
- dMw_c::execute
- dMw_c::key_wait_proc
- When scheduled:
- dMeter2Info_c->mWindowStatus set to 2 or 3
- Required to advance:
- isEventCheck returns false
- dMw_c->mWindowStatus set to 7 (this does not happen if UMD is done) and dMw_c::dMw_fmap_create triggered (0x801fae68)
- Relevant:
- dMeter2Info_getMapStatus = dMeter2Info_c::getMapStatus(&g_meter2_info) = return dMeter2Info_c->mMapStatus;
- UMD:
- !mDoCPd_c::getTrigA(0) && !mDoCPd_c::getTrigB(0)
- Next Loop:
- dMw_c::execute
- dMw_c::fmap_open_init
- dMw_c::fmap_open_proc
- dMenu_Fmap_c::isOpen
- dMenu_Fmap_c::create(dMenu_Fmap_c *this);
- Approach:
- -dMeter2Info_c->mWindowStatus != 2 or 3 (reset tool)
- -dMeter2Info_c->mWindowStatus == 2 or 3 (start frame timer, if A or B gets pressed now before isEventCheck == false, count as early press)
- -if isEventCheck == false, ensure A or B is pressed to get UMD
- -Next frame check if the opposite button is pressed to get UMD for real
- -If missed, start timer for late presses
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement