summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/poweruphax.S3
1 files changed, 2 insertions, 1 deletions
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