diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-08-26 17:26:38 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-08-26 17:26:38 -0400 |
commit | ca8ea19637e8e1c81358dc2f150d9f89cb6393fb (patch) | |
tree | 89b0725fa9065f23ef44fba18a22b9d56e242691 /arm9/modules | |
parent | a192a6ec0bc03443a2fed9f3dba262a034c39828 (diff) |
Decompile player_data
Diffstat (limited to 'arm9/modules')
-rw-r--r-- | arm9/modules/05/asm/module_05.s | 2 | ||||
-rw-r--r-- | arm9/modules/06/asm/module_06.s | 6 | ||||
-rw-r--r-- | arm9/modules/11/asm/module_11_thumb1.s | 2 | ||||
-rw-r--r-- | arm9/modules/51/asm/module_51.s | 2 | ||||
-rw-r--r-- | arm9/modules/55/asm/module_55.s | 12 | ||||
-rw-r--r-- | arm9/modules/56/asm/module_56.s | 4 | ||||
-rw-r--r-- | arm9/modules/71/asm/module_71.s | 2 | ||||
-rw-r--r-- | arm9/modules/80/asm/module_80.s | 4 |
8 files changed, 17 insertions, 17 deletions
diff --git a/arm9/modules/05/asm/module_05.s b/arm9/modules/05/asm/module_05.s index dabce6d4..8ed0618c 100644 --- a/arm9/modules/05/asm/module_05.s +++ b/arm9/modules/05/asm/module_05.s @@ -22038,7 +22038,7 @@ _021F000E: bl FUN_020286EC add r7, r0, #0 mov r0, #4 - bl PlayerProfile_init + bl PlayerProfile_new add r6, r0, #0 add r0, r7, #0 add r1, r4, #0 diff --git a/arm9/modules/06/asm/module_06.s b/arm9/modules/06/asm/module_06.s index fd961cc0..01f04425 100644 --- a/arm9/modules/06/asm/module_06.s +++ b/arm9/modules/06/asm/module_06.s @@ -11448,7 +11448,7 @@ _0223EF28: ldr r1, [r1] str r0, [r1, #0x78] mov r0, #4 - bl PlayerProfile_init + bl PlayerProfile_new ldr r1, _0223EFF4 ; =0x02252420 ldr r2, [r1] str r0, [r2, #0x7c] @@ -31000,9 +31000,9 @@ _0224886C: bl AllocMonZeroed str r0, [r4, #4] add r0, r5, #0 - bl PlayerProfile_init + bl PlayerProfile_new str r0, [r4, #8] - bl PlayerProfile_Clear + bl PlayerProfile_init add r0, r5, #0 add r1, r6, #4 bl GetInGameTradeMonOrPartnerName diff --git a/arm9/modules/11/asm/module_11_thumb1.s b/arm9/modules/11/asm/module_11_thumb1.s index b5cc45b0..87056e2f 100644 --- a/arm9/modules/11/asm/module_11_thumb1.s +++ b/arm9/modules/11/asm/module_11_thumb1.s @@ -1741,7 +1741,7 @@ MOD11_0222E520: ; 0x0222E520 add r5, r1, #0 _0222E532: mov r0, #5 - bl PlayerProfile_init + bl PlayerProfile_new add r1, r0, #0 add r0, r5, #0 str r1, [r6, #0x48] diff --git a/arm9/modules/51/asm/module_51.s b/arm9/modules/51/asm/module_51.s index c28270a3..72a21ef0 100644 --- a/arm9/modules/51/asm/module_51.s +++ b/arm9/modules/51/asm/module_51.s @@ -1834,7 +1834,7 @@ MOD51_02255690: ; 0x02255690 cmp r0, #0 bne _02255714 mov r0, #4 - bl PlayerProfile_init + bl PlayerProfile_new str r0, [sp, #4] mov r6, #0 _022556AA: diff --git a/arm9/modules/55/asm/module_55.s b/arm9/modules/55/asm/module_55.s index 78542890..eb124639 100644 --- a/arm9/modules/55/asm/module_55.s +++ b/arm9/modules/55/asm/module_55.s @@ -1974,7 +1974,7 @@ MOD55_021D84C8: ; 0x021D84C8 cmp r0, #0 beq _021D8534 mov r0, #0x34 - bl PlayerProfile_init + bl PlayerProfile_new add r4, r0, #0 add r0, r5, #0 add r0, #0xd4 @@ -3314,7 +3314,7 @@ _021D8F1A: add r0, r5, r1 bl FUN_02019220 mov r0, #0x34 - bl PlayerProfile_init + bl PlayerProfile_new mov r1, #0xf2 lsl r1, r1, #2 ldrb r1, [r5, r1] @@ -3504,7 +3504,7 @@ MOD55_021D90D8: ; 0x021D90D8 orr r0, r1 beq _021D9170 mov r0, #0x34 - bl PlayerProfile_init + bl PlayerProfile_new mov r1, #0xf2 lsl r1, r1, #2 ldrb r1, [r5, r1] @@ -4166,7 +4166,7 @@ _021D969A: mov r1, #0 bl FUN_02019620 mov r0, #0x34 - bl PlayerProfile_init + bl PlayerProfile_new str r0, [sp, #0x20] ldr r0, [sp, #0x1c] ldr r1, [sp, #0x18] @@ -4406,7 +4406,7 @@ _021D987C: add r3, r1, #0 bl AddTextPrinterParameterized2 mov r0, #0x34 - bl PlayerProfile_init + bl PlayerProfile_new add r5, r0, #0 ldr r0, [sp, #0x1c] ldr r1, [sp, #0x18] @@ -5204,7 +5204,7 @@ MOD55_021D9F8C: ; 0x021D9F8C add r5, r0, #0 mov r0, #0x34 add r6, r1, #0 - bl PlayerProfile_init + bl PlayerProfile_new add r4, r0, #0 ldr r0, [r5, #8] bl FUN_020286EC diff --git a/arm9/modules/56/asm/module_56.s b/arm9/modules/56/asm/module_56.s index 48a760dd..755f3092 100644 --- a/arm9/modules/56/asm/module_56.s +++ b/arm9/modules/56/asm/module_56.s @@ -7098,7 +7098,7 @@ _02215532: add r3, r1, #0 bl AddTextPrinterParameterized2 mov r0, #0x36 - bl PlayerProfile_init + bl PlayerProfile_new add r6, r0, #0 ldr r0, [r5] add r1, r4, #0 @@ -8431,7 +8431,7 @@ MOD56_022160E4: ; 0x022160E4 cmp r6, r0 beq _0221611C mov r0, #0x36 - bl PlayerProfile_init + bl PlayerProfile_new add r4, r0, #0 ldr r0, [r5] add r1, r6, #0 diff --git a/arm9/modules/71/asm/module_71.s b/arm9/modules/71/asm/module_71.s index b61bff20..53041f4d 100644 --- a/arm9/modules/71/asm/module_71.s +++ b/arm9/modules/71/asm/module_71.s @@ -4348,7 +4348,7 @@ _0222F9A0: ldr r0, _0222FA24 ; =0x00003670 str r4, [r5, r0] mov r0, #0x1a - bl PlayerProfile_init + bl PlayerProfile_new add r6, r0, #0 ldr r0, _0222FA28 ; =0x00003694 add r1, r4, #0 diff --git a/arm9/modules/80/asm/module_80.s b/arm9/modules/80/asm/module_80.s index d45b6251..03973e76 100644 --- a/arm9/modules/80/asm/module_80.s +++ b/arm9/modules/80/asm/module_80.s @@ -17647,9 +17647,9 @@ MOD80_022361AC: ; 0x022361AC push {r3, r4, r5, lr} add r5, r0, #0 mov r0, #0x3e - bl PlayerProfile_init + bl PlayerProfile_new add r4, r0, #0 - bl PlayerProfile_Clear + bl PlayerProfile_init mov r1, #0x43 lsl r1, r1, #2 add r0, r4, #0 |