summaryrefslogtreecommitdiff
path: root/src/poweruphax.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/poweruphax.S')
-rw-r--r--src/poweruphax.S38
1 files changed, 37 insertions, 1 deletions
diff --git a/src/poweruphax.S b/src/poweruphax.S
index 16800e6..2a65f3e 100644
--- a/src/poweruphax.S
+++ b/src/poweruphax.S
@@ -961,12 +961,26 @@ g3d_I_kinoko_brres: .string "g3d/I_kinoko.brres"
.global I_propeller_model
I_propeller_model: .string "I_propeller_model"
+.global SI_kinoko
+SI_kinoko: .string "SI_kinoko"
+
+.global SI_hammer
+SI_hammer: .string "SI_hammer"
+
+g3d: .string "g3d/"
+
.text
.global AddHSToBattleItem_FixWait2Anim
AddHSToBattleItem_FixWait2Anim:
lis r4, wait2@h
ori r4, r4, wait2@l
blr
+
+.global InsertLostG3D
+InsertLostG3D:
+ lis r4, g3d@h
+ ori r4, r4, g3d@l
+ blr
.data
wait2: .string "wait2"
@@ -1240,7 +1254,7 @@ notGoodEnough:
lwz r0, 0x91C(r30)
li r3, 7
cmpwi r0, 0
- b _ChosenStartChoice
+ beq _ChosenStartChoice
stw r3, 0x8A0(r30)
_ChosenStartChoice:
b ChosenStartChoice
@@ -1417,3 +1431,25 @@ DontUpdateSIS:
.align 4
ptrToTwo: .long 2
+.text
+.global SkawoHatesMe, SkawoStillHatesMe
+
+SkawoHatesMe:
+ lwzx r4, r27, r0
+ cmpwi r0, 28
+ bnelr
+ lis r5, SkawoFucksDucks@h
+ ori r5, r5, SkawoFucksDucks@l
+ blr
+SkawoStillHatesMe:
+ lwzx r4, r4, r0
+ cmpwi r0, 28
+ bnelr
+ lis r4, DuckFuckersUnited@h
+ ori r4, r4, DuckFuckersUnited@l
+ blr
+.data
+SkawoFucksDucks: .string "g3d/I_fireflower.brres"
+DuckFuckersUnited: .string "I_fireflower"
+.align 4
+