hami4 matching for demo

This commit is contained in:
LagoLunatic
2025-06-28 23:30:09 -04:00
parent 1dc94ecf8d
commit bed4713c84
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1677,7 +1677,7 @@ config.libs = [
ActorRel(NonMatching, "d_a_obj_gtaki"),
ActorRel(NonMatching, "d_a_obj_hami2"),
ActorRel(NonMatching, "d_a_obj_hami3"),
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_obj_hami4"),
ActorRel(Matching, "d_a_obj_hami4"),
ActorRel(Equivalent, "d_a_obj_hat"), # weak func order
ActorRel(Matching, "d_a_obj_hbrf1"),
ActorRel(NonMatching, "d_a_obj_hcbh"),
+2 -1
View File
@@ -100,12 +100,13 @@ void daObjHami4_c::daObjHami4_open_demo_wait() {
/* 00000714-000007AC .text daObjHami4_open_demo__12daObjHami4_cFv */
void daObjHami4_c::daObjHami4_open_demo() {
field_0x37C += 10;
if (field_0x37C >= 1500.0f) {
field_0x37C = 1500.0f;
field_0x378 = 3;
#if VERSION > VERSION_DEMO
dComIfGp_getVibration().StartShock(4,-0x21,cXyz(0.0f, 1.0f, 0.0f));
#endif
dComIfGp_event_reset();
}
}