mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-10-01 07:40:42 -04:00
feat(phase-21): grinder gate — +1 fns x1 propagated (fleet 61.04%)
This commit is contained in:
@@ -21381,4 +21381,22 @@
|
||||
((void (*)(void *))func_80171A1C)(a0); \
|
||||
}
|
||||
|
||||
#define DEFINE_func_8014BD60() \
|
||||
extern s16 D_80078EB8; \
|
||||
void func_8014BD60(s32 param_1, s32 param_2) \
|
||||
{ \
|
||||
int new_var; \
|
||||
int v1; \
|
||||
v1 = (int) ((unsigned short) D_80078EB8); \
|
||||
if (v1 < param_2) \
|
||||
{ \
|
||||
D_80078EB8 = 0; \
|
||||
} \
|
||||
else \
|
||||
{ \
|
||||
D_80078EB8 = (unsigned short) ((new_var = v1) - param_2); \
|
||||
} \
|
||||
return; \
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user