From 3d13f07e929cf47f49457d26692b263e1e5a9bb0 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Tue, 2 Feb 2021 08:12:28 +1000 Subject: [PATCH] Decompile nbombResetAge --- src/game/game_006bd0.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/game/game_006bd0.c b/src/game/game_006bd0.c index 5f567673f..87c13d03d 100644 --- a/src/game/game_006bd0.c +++ b/src/game/game_006bd0.c @@ -2737,11 +2737,10 @@ glabel var7f1a7f18 /* f0094b0: 00000000 */ nop ); -GLOBAL_ASM( -glabel nbombResetAge -/* f0094b4: 03e00008 */ jr $ra -/* f0094b8: ac80000c */ sw $zero,0xc($a0) -); +void nbombResetAge(struct nbomb *nbomb) +{ + nbomb->age240 = 0; +} /** * If nbomb->age240 is 0 to 310, return 127