diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2022-09-27 17:40:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-27 12:40:26 -0400 |
| commit | 4f65d08eb5826c9c3520fd398b2e76ab09168193 (patch) | |
| tree | d7ea67a3b14cf7387d23a604d99e3ee0e7f77467 /src/code/z_construct.c | |
| parent | 82e04ede5f3fef20fb95f6a16b88b8a684f49954 (diff) | |
Rumble doc (#1375)
* Rumble doc
* Fixes, suggested changes
* Improve padmgr retrace callback related code
* Name some rumble-adjacent things, further suggested changes
* Further suggested changes
* Suggested changes
Diffstat (limited to 'src/code/z_construct.c')
| -rw-r--r-- | src/code/z_construct.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/code/z_construct.c b/src/code/z_construct.c index c886bc73a..7375b1460 100644 --- a/src/code/z_construct.c +++ b/src/code/z_construct.c @@ -595,9 +595,11 @@ void func_80111070(void) { VREG(87) = 64; VREG(88) = 66; VREG(89) = 0; - VREG(90) = 126; - VREG(91) = 124; - VREG(92) = -63; + R_GAME_OVER_RUMBLE_STRENGTH = 126; + R_GAME_OVER_RUMBLE_DURATION = 124; + //! @bug This is eventually cast to a u8 after some scaling in `GameOver_Update`, negative numbers typically + //! become large (fast) decrease rates + R_GAME_OVER_RUMBLE_DECREASE_RATE = -63; } void func_80112098(PlayState* play) { |
