File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ void func_800D30F0(s_SubCharacter* chara);
5959
6060void func_800D4FC0 (s32 arg0 , s32 arg1 );
6161
62+ bool func_800D4FE4 (s_SubCharacter * chara , s32 moveSpeed );
63+
6264void func_800D5400 (void );
6365
6466void func_800D5B98 (void );
@@ -78,6 +80,4 @@ void func_800D6578(void);
7880
7981void func_800D6C88 (void );
8082
81- s32 func_800D4FE4 (s_SubCharacter * chara , s32 moveSpeed );
82-
8383#endif
Original file line number Diff line number Diff line change @@ -276,7 +276,16 @@ void func_800D4FC0(s32 arg0, s32 arg1) // 0x800D4FC0
276276 sharedData_800D8616_1_s05 += arg1 ;
277277}
278278
279- INCLUDE_ASM ("asm/maps/map1_s06/nonmatchings/map1_s06" , func_800D4FE4 );
279+ bool func_800D4FE4 (s_SubCharacter * chara , s32 moveSpeed ) // 0x800D4FE4
280+ {
281+ // TODO: Using wrong `properties_E4` union member?
282+ s32 runTimer ;
283+
284+ runTimer = chara -> properties_E4 .player .runTimer_F8 ;
285+
286+ return ((runTimer < 0 || runTimer > Q12 (198.0f )) && (chara -> model_0 .anim_4 .time_4 < Q12 (175.0f ))) ||
287+ ((runTimer >= 0 && runTimer < Q12 (175.0f )) && (chara -> model_0 .anim_4 .time_4 > Q12 (198.0f )));
288+ }
280289
281290INCLUDE_ASM ("asm/maps/map1_s06/nonmatchings/map1_s06" , func_800D5048 );
282291
You can’t perform that action at this time.
0 commit comments