cleanup event stuff (#2688)

* cleanup event stuff

* fix debug
This commit is contained in:
TakaRikka
2025-09-23 04:20:38 -07:00
committed by GitHub
parent 47abdf82fa
commit 125f2325a5
20 changed files with 2843 additions and 1715 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ bool STControl::checkDownTrigger() {
u8 dLib_getEventSwitchNo(int param_0) {
dStage_MapEvent_dt_c* mapEvent = dEvt_control_c::searchMapEventData(param_0);
if (mapEvent != NULL) {
return mapEvent->mSwitch;
return mapEvent->switch_no;
}
return 0xff;
}