From 67ba462e24ba9aca9c84b674d4184bd7001fa391 Mon Sep 17 00:00:00 2001 From: 32th-System Date: Tue, 30 Jan 2024 14:01:48 +0100 Subject: [PATCH] th06: set deathbomb timer Fixes #156 Fixes #153 --- thprac/src/thprac/thprac_th06.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/thprac/src/thprac/thprac_th06.cpp b/thprac/src/thprac/thprac_th06.cpp index 6171fdb..790361b 100644 --- a/thprac/src/thprac/thprac_th06.cpp +++ b/thprac/src/thprac/thprac_th06.cpp @@ -2033,6 +2033,13 @@ namespace TH06 { pCtx->Eip = 0x429ecb; } } + EHOOK_DY(th06_set_deathbomb_timer, 0x42a09c) + { + if (thPracParam.mode) { + *(uint32_t*)(pCtx->Eax + 0x9d8) = 6; + pCtx->Eip = 0x42a0a6; + } + } EHOOK_DY(th06_hamon_rage, 0x40e1c7) { if (thPracParam.mode && thPracParam.stage == 6 && thPracParam.section == TH06_ST7_END_S10 && thPracParam.phase == 1) {