mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-20 05:16:24 -04:00
Resolve all gameInfo fakematches (#2995)
* Clean up various inlines/fakematches/comments * Copy OptRuby inline name from TWW debug * Resolve all dEvt_control_c related fakematches, return pointer instead of reference * Fix some more missing inline usages
This commit is contained in:
@@ -2778,7 +2778,7 @@ void daMidna_c::setDemoData() {
|
||||
mStaffID = dComIfGp_evmng_getMyStaffId("Midna", this, 0);
|
||||
}
|
||||
|
||||
if (dComIfGp_getEvent().isOrderOK()) {
|
||||
if (dComIfGp_getEvent()->isOrderOK()) {
|
||||
if (mDemoType != 0) {
|
||||
mDemoType = 0;
|
||||
mDemoMode = 0;
|
||||
@@ -3256,7 +3256,7 @@ int daMidna_c::execute() {
|
||||
}
|
||||
|
||||
if (event_id == 4 || event_id == 5) {
|
||||
dComIfGp_getEvent().reset(this);
|
||||
dComIfGp_getEvent()->reset(this);
|
||||
offStateFlg0(FLG0_UNK_8000);
|
||||
fopAcM_orderPotentialEvent(this, 0x400, 0xffff, 1);
|
||||
link->changeOriginalDemo();
|
||||
@@ -3283,13 +3283,13 @@ int daMidna_c::execute() {
|
||||
link->onMidnaTalkPolySpeed();
|
||||
}
|
||||
|
||||
dComIfGp_getEvent().reset(this);
|
||||
dComIfGp_getEvent()->reset(this);
|
||||
offStateFlg0(FLG0_UNK_8000);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (eventInfo.checkCommandDemoAccrpt() && !link->checkMetamorphose()) {
|
||||
dComIfGp_getEvent().reset(this);
|
||||
dComIfGp_getEvent()->reset(this);
|
||||
}
|
||||
|
||||
if (link->checkMidnaRide()) {
|
||||
|
||||
Reference in New Issue
Block a user