summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-04-13 09:11:57 +0200
committerTreeki <treeki@gmail.com>2013-04-13 09:13:49 +0200
commitff5c70083f464a0c052e7621d45c5221166b8702 (patch)
treea4d5f61ce3f179f3210bbf5cb224f2b94fd0fdc3
parent8e91fec48bf34527d20031a7f24e40e310aab7a2 (diff)
downloadkamek-ff5c70083f464a0c052e7621d45c5221166b8702.tar.gz
kamek-ff5c70083f464a0c052e7621d45c5221166b8702.zip
make the star coin count textbox on datefile wider
-rw-r--r--src/fileselect.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fileselect.S b/src/fileselect.S
index 86e7856..5847201 100644
--- a/src/fileselect.S
+++ b/src/fileselect.S
@@ -149,6 +149,11 @@ chosenWName:
ori r4, r4, StarCoinCount@l
bl findTextBoxByName__Q23m2d17EmbedLayoutBase_cCFPCc
+ lis r4, NewSCCWidth@h
+ ori r4, r4, NewSCCWidth@l
+ lfs f1, 0(r4)
+ stfs f1, 0x4C(r3)
+
stw r21, 0x20(r1)
mr r4, r3
addi r3, r1, 0x20
@@ -298,6 +303,9 @@ StarCoinCount: .string "StarCoinCount"
ExitCount: .string "ExitCount"
Picture_00: .string "Picture_00"
+.align 4
+NewSCCWidth: .float 100.0
+
.global Out_Stuff
Out_Stuff:
.long 0, 0