d_a_mg_rod mostly done (#2598)

* d_a_mg_rod mostly done

* pr
This commit is contained in:
TakaRikka
2025-08-22 22:58:29 -07:00
committed by GitHub
parent aec2c0987d
commit 0a8679f92e
17 changed files with 6718 additions and 3070 deletions
+3 -3
View File
@@ -241,9 +241,9 @@ void daE_BG_c::setSparkEffect() {
/* 80685F04-80685F88 0007E4 0084+00 2/2 0/0 0/0 .text search_esa__8daE_BG_cFv */
fopAc_ac_c* daE_BG_c::search_esa() {
dmg_rod_class* rod = (dmg_rod_class*)fopAcM_SearchByName(PROC_MG_ROD);
if (rod != NULL && rod->field_0xf7c == 1 && rod->field_0xf7e != 5 && rod->field_0x100d != 0 &&
rod->current.pos.y < rod->field_0x590 - 20.0f) {
return rod;
if (rod != NULL && rod->kind == 1 && rod->action != 5 && rod->field_0x100d != 0 &&
rod->actor.current.pos.y < rod->field_0x590 - 20.0f) {
return &rod->actor;
} else {
return NULL;
}