summaryrefslogtreecommitdiff
path: root/asm/coins.s
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-10-14 11:36:28 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-10-14 11:36:28 +0200
commit455202eca00fd1b51e9ba8b75434d97ae5c750a8 (patch)
tree153b1b85ae6864fec7bf880d9dd90fe6ef9a55c6 /asm/coins.s
parent14e41d6c508e5c425dff8f2c4933ae4c8b7ab762 (diff)
parent0d38d443b561f9baaae12324712503dfccaf01ea (diff)
Merge branch 'master' into decompile_rom3
Diffstat (limited to 'asm/coins.s')
-rw-r--r--asm/coins.s16
1 files changed, 8 insertions, 8 deletions
diff --git a/asm/coins.s b/asm/coins.s
index ea55dd85c..d2b6cbb47 100644
--- a/asm/coins.s
+++ b/asm/coins.s
@@ -5,9 +5,9 @@
.text
- thumb_func_start AddCoins
-@ bool8 AddCoins(u16 toAdd)
-AddCoins: @ 8145C80
+ thumb_func_start GiveCoins
+@ bool8 GiveCoins(u16 toAdd)
+GiveCoins: @ 8145C80
push {r4,lr}
lsls r0, 16
lsrs r4, r0, 16
@@ -44,11 +44,11 @@ _08145CC0:
pop {r1}
bx r1
.pool
- thumb_func_end AddCoins
+ thumb_func_end GiveCoins
- thumb_func_start SubtractCoins
-@ bool8 SubtractCoins(u16 toSub)
-SubtractCoins: @ 8145CCC
+ thumb_func_start TakeCoins
+@ bool8 TakeCoins(u16 toSub)
+TakeCoins: @ 8145CCC
push {r4,lr}
lsls r0, 16
lsrs r4, r0, 16
@@ -69,6 +69,6 @@ _08145CEE:
pop {r4}
pop {r1}
bx r1
- thumb_func_end SubtractCoins
+ thumb_func_end TakeCoins
.align 2, 0 @ Don't pad with nop.