CV64: Use AP Procedure Patch (#3159)

This commit is contained in:
LiquidCat64
2024-04-18 10:37:51 -06:00
committed by GitHub
parent 7fd7d5e492
commit 437843bf53
7 changed files with 1102 additions and 1046 deletions

View File

@@ -197,12 +197,15 @@ deathlink_nitro_edition = [
0xA168FFFD, # SB T0, 0xFFFD (T3)
]
nitro_fall_killer = [
# Custom code to force the instant fall death if at a high enough falling speed after getting killed by the Nitro
# explosion, since the game doesn't run the checks for the fall death after getting hit by said explosion and could
# result in a softlock when getting blown into an abyss.
launch_fall_killer = [
# Custom code to force the instant fall death if at a high enough falling speed after getting killed by something
# that launches you (whether it be the Nitro explosion or a Big Toss hit). The game doesn't normally run the check
# that would trigger the fall death after you get killed by some other means, which could result in a softlock
# when a killing blow launches you into an abyss.
0x3C0C8035, # LUI T4, 0x8035
0x918807E2, # LBU T0, 0x07E2 (T4)
0x24090008, # ADDIU T1, R0, 0x0008
0x11090002, # BEQ T0, T1, [forward 0x02]
0x2409000C, # ADDIU T1, R0, 0x000C
0x15090006, # BNE T0, T1, [forward 0x06]
0x3C098035, # LUI T1, 0x8035
@@ -2863,3 +2866,13 @@ big_tosser = [
0xAD000814, # SW R0, 0x0814 (T0)
0x03200008 # JR T9
]
dog_bite_ice_trap_fix = [
# Sets the freeze timer to 0 when a maze garden dog bites the player to ensure the ice chunk model will break if the
# player gets bitten while frozen via Ice Trap.
0x3C088039, # LUI T0, 0x8039
0xA5009E76, # SH R0, 0x9E76 (T0)
0x3C090F00, # LUI T1, 0x0F00
0x25291CB8, # ADDIU T1, T1, 0x1CB8
0x01200008 # JR T1
]