mirror of
https://github.com/n64decomp/mk64
synced 2026-07-11 13:48:45 -04:00
Add gPlayerIsAccelerating, gPlayerBalloonCount and update related code (#105)
* Add balloon count * Add gPlayerIsThrottleActive
This commit is contained in:
+2
-2
@@ -2128,7 +2128,7 @@ GLOBAL_ASM("asm/non_matchings/code_802B0210/func_802B3E7C.s")
|
||||
#ifdef MIPS_TO_C
|
||||
//generated by mips_to_c commit 3c3b0cede1a99430bfd3edf8d385802b94f91307
|
||||
f32 func_802B51E8(void *, s32); // extern
|
||||
extern ? D_8018D8C0;
|
||||
extern ? gPlayerBalloonCount;
|
||||
extern f32 D_802B9F68;
|
||||
extern u16 gPlayers;
|
||||
|
||||
@@ -2145,7 +2145,7 @@ s16 func_802B3FD0(s32 arg0, s32 arg1) {
|
||||
phi_f20 = D_802B9F68;
|
||||
phi_fp = -1;
|
||||
do {
|
||||
if (((*phi_s0 & 0x8000) != 0) && (phi_s0 != arg0) && (*(&D_8018D8C0 + (phi_s1 * 2)) >= 0)) {
|
||||
if (((*phi_s0 & 0x8000) != 0) && (phi_s0 != arg0) && (*(&gPlayerBalloonCount + (phi_s1 * 2)) >= 0)) {
|
||||
temp_f0 = func_802B51E8(phi_s0 + 0x14, arg1 + 0x18);
|
||||
if (temp_f0 < phi_f20) {
|
||||
phi_fp = (phi_s0 - D_800DC4DC) / 0xDD8;
|
||||
|
||||
Reference in New Issue
Block a user