From 7b15ee7e9f1d36f298876f876ad4d1d27ac33d92 Mon Sep 17 00:00:00 2001 From: jugeeya <jugeeya@live.com> Date: Fri, 22 Nov 2019 08:32:44 -0800 Subject: [PATCH] attempt to fix missed tech random rolls --- source/training_mods.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/training_mods.hpp b/source/training_mods.hpp index 83df3d9..0d11463 100644 --- a/source/training_mods.hpp +++ b/source/training_mods.hpp @@ -175,6 +175,11 @@ u64 change_motion_replace(u64 module_accessor, u64 motion_kind, float unk1, floa if (rand_int) motion_kind = hash40("passive_stand_f"); else motion_kind = hash40("passive_stand_b"); } + if (motion_kind == hash40("down_stand_f") || motion_kind == hash40("down_stand_b")) { + int rand_int = app::sv_math::rand(hash40("fighter"), 2); + if (rand_int) motion_kind = hash40("down_stand_f"); + else motion_kind = hash40("down_stand_b"); + } } u64 motion_module = load_module(module_accessor, 0x88);