summaryrefslogtreecommitdiff
path: root/arm9/modules/75
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-08-13 08:58:40 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-08-13 08:58:40 -0400
commitddd20f2c76a34b4fc46503c8bf88d53a755453a8 (patch)
tree829d21a866de69dc92e1b8e5bb1857a21104027c /arm9/modules/75
parenta13a7535cd78a113d23a8cccddced3d5f13ad479 (diff)
Rename routines in player_data.s
Diffstat (limited to 'arm9/modules/75')
-rw-r--r--arm9/modules/75/asm/module_75.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/arm9/modules/75/asm/module_75.s b/arm9/modules/75/asm/module_75.s
index cf8afa3d..59d25787 100644
--- a/arm9/modules/75/asm/module_75.s
+++ b/arm9/modules/75/asm/module_75.s
@@ -54,7 +54,7 @@ MOD75_021E6BA0: ; 0x021E6BA0
add r0, r4, #0
add r0, #0xcc
ldr r0, [r0]
- bl PlayerData_GetTrainerGender
+ bl PlayerProfile_GetTrainerGender
ldr r1, _021E6D64 ; =0x00000425
mov r3, #0
strb r0, [r4, r1]
@@ -481,7 +481,7 @@ MOD75_021E6FA4: ; 0x021E6FA4
add r0, #0xc4
ldr r0, [r0]
ldr r0, [r0]
- bl Sav2_GetPlayerDataPtr
+ bl Sav2_PlayerData_GetProfileAddr
add r1, r4, #0
add r1, #0xcc
str r0, [r1]
@@ -489,7 +489,7 @@ MOD75_021E6FA4: ; 0x021E6FA4
add r0, #0xc4
ldr r0, [r0]
ldr r0, [r0]
- bl LoadPlayerDataAddress
+ bl Sav2_PlayerData_GetOptionsAddr
add r4, #0xd0
str r0, [r4]
pop {r4, pc}
@@ -6485,7 +6485,7 @@ _021E9EF8:
ldr r1, [r4, r1]
ldr r0, [r0]
mul r1, r2
- bl PlayerData_AddMoney
+ bl PlayerProfile_AddMoney
ldr r0, _021E9F6C ; =0x00000488
ldrsh r0, [r4, r0]
cmp r0, #1
@@ -9697,7 +9697,7 @@ _021EB866:
add r0, r5, #0
add r0, #0xcc
ldr r0, [r0]
- bl PlayerData_GetMoney
+ bl PlayerProfile_GetMoney
add r2, r0, #0
mov r0, #1
str r0, [sp]