From 8e7ca2d497d41c00871de43b00bdf6e2380c70b1 Mon Sep 17 00:00:00 2001 From: Lucas Shaw <49287729+shawlucas@users.noreply.github.com> Date: Sun, 10 May 2020 16:44:04 -0700 Subject: 35/37 Functions Decompiled in ovl_En_Heishi2 (#117) * started * did more work * did some more * Update * Merged master * EnHeishi2_Update OK * func_80A549E8 OK * func_80A54954 OK * EnHeishi2_Draw OK * Removed unused asm * func_80A543A0 OK * func_80A53638 OK. Fixed type of func_8008F08C * done for rn, will work on it later * func_80A53850 OK * func_80A53F30 OK * func_80A53D0C OK * Made cylinderInit in En_Ma3 static * Made suggested changes. Removed return from functions by adding else * Made suggested changes. Removed a.out file that accidentally got added * Made suggested changes * moved #include from header to c file * fixed formatting * added line break * Made suggested changes * ran format * Fixed unk_2F2 --- src/code/z_player_lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/code') diff --git a/src/code/z_player_lib.c b/src/code/z_player_lib.c index 7e8f60fd9..9030b5dc3 100644 --- a/src/code/z_player_lib.c +++ b/src/code/z_player_lib.c @@ -70,9 +70,10 @@ u8 func_8008F080(GlobalContext* globalCtx) { return player->currentMask; } -void func_8008F08C(GlobalContext* globalCtx) { +Player* func_8008F08C(GlobalContext* globalCtx) { Player* player = PLAYER; player->currentMask = 0; + return player; } s32 func_8008F098(GlobalContext* globalCtx) { -- cgit v1.2.3