From 2db98d61f7cafdd27f2f62520836384f320d572d Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Tue, 4 Feb 2020 22:24:54 +1000 Subject: [PATCH] Decompile currentPlayerHasAllGuns --- src/game/game_111600.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/game/game_111600.c b/src/game/game_111600.c index aae1febd2..c9755d92e 100644 --- a/src/game/game_111600.c +++ b/src/game/game_111600.c @@ -295,13 +295,10 @@ void currentPlayerSetAllGuns(bool enable) currentPlayerEquipWeaponInCutscene(weaponnum); } -GLOBAL_ASM( -glabel func0f1119c0 -/* f1119c0: 3c0e800a */ lui $t6,0x800a -/* f1119c4: 8dcea244 */ lw $t6,-0x5dbc($t6) -/* f1119c8: 03e00008 */ jr $ra -/* f1119cc: 8dc21870 */ lw $v0,0x1870($t6) -); +bool currentPlayerHasAllGuns(void) +{ + return g_Vars.currentplayer->equipallguns; +} GLOBAL_ASM( glabel func0f1119d0