From 17401978c44e6efbe27d9676d045bec266bbd6a9 Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 22 Feb 2013 00:18:50 +0100 Subject: fix using a mushroom from stock item when you have a hammer suit --- src/poweruphax.S | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/poweruphax.S b/src/poweruphax.S index e2517e7..2779906 100644 --- a/src/poweruphax.S +++ b/src/poweruphax.S @@ -1335,6 +1335,12 @@ UpdateCalcPowerupResult: cprIsDone: b ContinueFromCalcPowerupResult +.global FixCalcPowerupResultForMushroom +.extern ContinueFromFixCalcPowerupResultForMushroom +FixCalcPowerupResultForMushroom: + stb r0, 0xF(r1) + li r6, 1 + b ContinueFromFixCalcPowerupResultForMushroom -- cgit v1.2.3