Skip to content

Commit

Permalink
th06: set deathbomb timer
Browse files Browse the repository at this point in the history
Fixes #156
Fixes #153
  • Loading branch information
32th-System committed Jan 30, 2024
1 parent f74ae49 commit 67ba462
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions thprac/src/thprac/thprac_th06.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 67ba462

Please sign in to comment.