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:
LagoLunatic
2025-12-24 19:57:36 -05:00
committed by GitHub
parent cefe919b8d
commit 229527daf7
194 changed files with 767 additions and 1029 deletions
+4 -4
View File
@@ -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()) {