summaryrefslogtreecommitdiff
path: root/arm9/modules/52
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/52
parenta13a7535cd78a113d23a8cccddced3d5f13ad479 (diff)
Rename routines in player_data.s
Diffstat (limited to 'arm9/modules/52')
-rw-r--r--arm9/modules/52/asm/module_52.s14
1 files changed, 7 insertions, 7 deletions
diff --git a/arm9/modules/52/asm/module_52.s b/arm9/modules/52/asm/module_52.s
index 7b123bba..6858197f 100644
--- a/arm9/modules/52/asm/module_52.s
+++ b/arm9/modules/52/asm/module_52.s
@@ -68,7 +68,7 @@ MOD52_021D7540: ; 0x021D7540
mov r2, #1
bl MOD52_021D7604
add r0, r4, #0
- bl FUN_02023918
+ bl Sav2_PlayerData_GetIGTAddr
bl FUN_02015E3C
mov r0, #1
pop {r4, pc}
@@ -133,7 +133,7 @@ _021D75C8:
bl FUN_020237A0
_021D75D8:
add r0, r4, #0
- bl FUN_02023918
+ bl Sav2_PlayerData_GetIGTAddr
bl FUN_02015E3C
mov r0, #1
pop {r3, r4, r5, pc}
@@ -178,7 +178,7 @@ MOD52_021D7604: ; 0x021D7604
add r0, r5, #0
bl FUN_0206007C
add r0, r5, #0
- bl Sav2_GetPlayerDataPtr
+ bl Sav2_PlayerData_GetProfileAddr
add r4, r0, #0
bl MTRandom
add r7, r0, #0
@@ -186,10 +186,10 @@ MOD52_021D7604: ; 0x021D7604
beq _021D7656
add r0, r4, #0
add r1, r7, #0
- bl FUN_020239B8
+ bl PlayerProfile_SetTrainerID
_021D7656:
add r0, r4, #0
- bl PlayerData_GetTrainerGender
+ bl PlayerProfile_GetTrainerGender
add r1, r0, #0
add r0, r7, #0
mov r2, #0
@@ -232,9 +232,9 @@ MOD52_021D769C: ; 0x021D769C
add r0, r4, #0
bl FUN_020377E0
add r0, r4, #0
- bl Sav2_GetPlayerDataPtr
+ bl Sav2_PlayerData_GetProfileAddr
ldr r1, _021D76C4 ; =0x00000BB8
- bl PlayerData_SetMoney
+ bl PlayerProfile_SetMoney
add r0, r4, #0
bl SavArray_Flags_get
bl FUN_0205ECD4