From 25bb4867ecfde3ec489b891b182cc0fdd2711ad3 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 2 Dec 2012 01:52:08 +0100 Subject: finally fixed the chest shits --- poweruphax.yaml | 5 +++++ src/poweruphax.S | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/poweruphax.yaml b/poweruphax.yaml index 12060d1..eed8785 100644 --- a/poweruphax.yaml +++ b/poweruphax.yaml @@ -740,3 +740,8 @@ hooks: type: nop_insn area_pal: [0x807B9F74,0x807B9F88] + - name: NoBattleFanfare + type: patch + addr_pal: 0x8019C290 + data: '4E800020' + diff --git a/src/poweruphax.S b/src/poweruphax.S index 16576c1..49babc5 100644 --- a/src/poweruphax.S +++ b/src/poweruphax.S @@ -1028,7 +1028,8 @@ StrongboxGiveBattleItem: stfs f1, 0x18(r1) li r3, 0x25 - or r4, r4, r7 + slwi r4, r31, 4 + or r4, r4, r29 addi r5, r1, 0x10 li r6, 0 li r7, 0 -- cgit v1.2.3