mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
split battle buffer files
This commit is contained in:
parent
a91ffaaa41
commit
a47face8cf
@ -10,21 +10,21 @@ nullsub_112: @ 814AEAC
|
|||||||
bx lr
|
bx lr
|
||||||
thumb_func_end nullsub_112
|
thumb_func_end nullsub_112
|
||||||
|
|
||||||
thumb_func_start sub_814AEB0
|
thumb_func_start SetBankFuncToLinkPartnerBufferRunCommand
|
||||||
sub_814AEB0: @ 814AEB0
|
SetBankFuncToLinkPartnerBufferRunCommand: @ 814AEB0
|
||||||
ldr r1, =gBattleBankFunc
|
ldr r1, =gBattleBankFunc
|
||||||
ldr r0, =gActiveBank
|
ldr r0, =gActiveBank
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =bx_exec_buffer_A_ch0_tbl4
|
ldr r1, =LinkPartnerBufferRunCommand
|
||||||
str r1, [r0]
|
str r1, [r0]
|
||||||
bx lr
|
bx lr
|
||||||
.pool
|
.pool
|
||||||
thumb_func_end sub_814AEB0
|
thumb_func_end SetBankFuncToLinkPartnerBufferRunCommand
|
||||||
|
|
||||||
thumb_func_start bx_exec_buffer_A_ch0_tbl4
|
thumb_func_start LinkPartnerBufferRunCommand
|
||||||
bx_exec_buffer_A_ch0_tbl4: @ 814AECC
|
LinkPartnerBufferRunCommand: @ 814AECC
|
||||||
push {lr}
|
push {lr}
|
||||||
ldr r2, =gBattleExecBuffer
|
ldr r2, =gBattleExecBuffer
|
||||||
ldr r1, =gBitTable
|
ldr r1, =gBitTable
|
||||||
@ -43,7 +43,7 @@ bx_exec_buffer_A_ch0_tbl4: @ 814AECC
|
|||||||
ldrb r0, [r1]
|
ldrb r0, [r1]
|
||||||
cmp r0, 0x38
|
cmp r0, 0x38
|
||||||
bhi _0814AF14
|
bhi _0814AF14
|
||||||
ldr r0, =gUnknown_085C9A94
|
ldr r0, =gLinkPartnerBufferCommands
|
||||||
ldrb r1, [r1]
|
ldrb r1, [r1]
|
||||||
lsls r1, 2
|
lsls r1, 2
|
||||||
adds r1, r0
|
adds r1, r0
|
||||||
@ -52,11 +52,11 @@ bx_exec_buffer_A_ch0_tbl4: @ 814AECC
|
|||||||
b _0814AF18
|
b _0814AF18
|
||||||
.pool
|
.pool
|
||||||
_0814AF14:
|
_0814AF14:
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814AF18:
|
_0814AF18:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end bx_exec_buffer_A_ch0_tbl4
|
thumb_func_end LinkPartnerBufferRunCommand
|
||||||
|
|
||||||
thumb_func_start sub_814AF1C
|
thumb_func_start sub_814AF1C
|
||||||
sub_814AF1C: @ 814AF1C
|
sub_814AF1C: @ 814AF1C
|
||||||
@ -76,7 +76,7 @@ sub_814AF1C: @ 814AF1C
|
|||||||
ldr r0, =SpriteCallbackDummy
|
ldr r0, =SpriteCallbackDummy
|
||||||
cmp r1, r0
|
cmp r1, r0
|
||||||
bne _0814AF40
|
bne _0814AF40
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814AF40:
|
_0814AF40:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -120,7 +120,7 @@ sub_814AF54: @ 814AF54
|
|||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
adds r0, r6
|
adds r0, r6
|
||||||
bl DestroySprite
|
bl DestroySprite
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814AFA4:
|
_0814AFA4:
|
||||||
pop {r4-r6}
|
pop {r4-r6}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -156,7 +156,7 @@ sub_814AFBC: @ 814AFBC
|
|||||||
adds r0, r2
|
adds r0, r2
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
strb r1, [r0, 0x9]
|
strb r1, [r0, 0x9]
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814AFF4:
|
_0814AFF4:
|
||||||
pop {r4}
|
pop {r4}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -474,7 +474,7 @@ sub_814B290: @ 814B290
|
|||||||
ldrsh r0, [r1, r2]
|
ldrsh r0, [r1, r2]
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0814B2BE
|
bne _0814B2BE
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814B2BE:
|
_0814B2BE:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -523,7 +523,7 @@ _0814B318:
|
|||||||
ldr r2, =gPlayerParty
|
ldr r2, =gPlayerParty
|
||||||
adds r0, r2
|
adds r0, r2
|
||||||
bl sub_805E990
|
bl sub_805E990
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814B332:
|
_0814B332:
|
||||||
pop {r4-r6}
|
pop {r4-r6}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -588,7 +588,7 @@ sub_814B340: @ 814B340
|
|||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
bl sub_8072984
|
bl sub_8072984
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814B3BC:
|
_0814B3BC:
|
||||||
pop {r4-r6}
|
pop {r4-r6}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -635,7 +635,7 @@ sub_814B3DC: @ 814B3DC
|
|||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
bl sub_8072984
|
bl sub_8072984
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814B430:
|
_0814B430:
|
||||||
pop {r4-r6}
|
pop {r4-r6}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -651,7 +651,7 @@ bx_t4_button_a: @ 814B44C
|
|||||||
lsls r0, 16
|
lsls r0, 16
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0814B45E
|
bne _0814B45E
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814B45E:
|
_0814B45E:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -685,7 +685,7 @@ dp01t_0F_4_move_anim: @ 814B464
|
|||||||
strb r0, [r2]
|
strb r0, [r2]
|
||||||
ldr r0, =gDoingBattleAnim
|
ldr r0, =gDoingBattleAnim
|
||||||
strb r3, [r0]
|
strb r3, [r0]
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
b _0814B4DA
|
b _0814B4DA
|
||||||
.pool
|
.pool
|
||||||
_0814B4B0:
|
_0814B4B0:
|
||||||
@ -796,7 +796,7 @@ sub_814B554: @ 814B554
|
|||||||
ldr r0, =SpriteCallbackDummy
|
ldr r0, =SpriteCallbackDummy
|
||||||
cmp r1, r0
|
cmp r1, r0
|
||||||
bne _0814B590
|
bne _0814B590
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814B590:
|
_0814B590:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -968,8 +968,8 @@ _0814B714:
|
|||||||
.pool
|
.pool
|
||||||
thumb_func_end sub_814B69C
|
thumb_func_end sub_814B69C
|
||||||
|
|
||||||
thumb_func_start dp01_tbl4_exec_completed
|
thumb_func_start LinkPartnerBufferExecCompleted
|
||||||
dp01_tbl4_exec_completed: @ 814B740
|
LinkPartnerBufferExecCompleted: @ 814B740
|
||||||
push {r4,lr}
|
push {r4,lr}
|
||||||
sub sp, 0x4
|
sub sp, 0x4
|
||||||
ldr r1, =gBattleBankFunc
|
ldr r1, =gBattleBankFunc
|
||||||
@ -977,7 +977,7 @@ dp01_tbl4_exec_completed: @ 814B740
|
|||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =bx_exec_buffer_A_ch0_tbl4
|
ldr r1, =LinkPartnerBufferRunCommand
|
||||||
str r1, [r0]
|
str r1, [r0]
|
||||||
ldr r0, =gBattleTypeFlags
|
ldr r0, =gBattleTypeFlags
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
@ -1016,7 +1016,7 @@ _0814B7A6:
|
|||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
.pool
|
.pool
|
||||||
thumb_func_end dp01_tbl4_exec_completed
|
thumb_func_end LinkPartnerBufferExecCompleted
|
||||||
|
|
||||||
thumb_func_start sub_814B7B8
|
thumb_func_start sub_814B7B8
|
||||||
sub_814B7B8: @ 814B7B8
|
sub_814B7B8: @ 814B7B8
|
||||||
@ -1035,7 +1035,7 @@ sub_814B7B8: @ 814B7B8
|
|||||||
ands r0, r1
|
ands r0, r1
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0814B7DA
|
bne _0814B7DA
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814B7DA:
|
_0814B7DA:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -1059,7 +1059,7 @@ sub_814B7E8: @ 814B7E8
|
|||||||
ands r0, r1
|
ands r0, r1
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0814B80A
|
bne _0814B80A
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814B80A:
|
_0814B80A:
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -1114,7 +1114,7 @@ _0814B872:
|
|||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
mov r2, sp
|
mov r2, sp
|
||||||
bl dp01_build_cmdbuf_x1D_1D_numargs_varargs
|
bl dp01_build_cmdbuf_x1D_1D_numargs_varargs
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
add sp, 0x100
|
add sp, 0x100
|
||||||
pop {r4-r6}
|
pop {r4-r6}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -2002,7 +2002,7 @@ _0814C022:
|
|||||||
thumb_func_start sub_814C038
|
thumb_func_start sub_814C038
|
||||||
sub_814C038: @ 814C038
|
sub_814C038: @ 814C038
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814C038
|
thumb_func_end sub_814C038
|
||||||
@ -2044,7 +2044,7 @@ _0814C086:
|
|||||||
cmp r5, 0x5
|
cmp r5, 0x5
|
||||||
bls _0814C078
|
bls _0814C078
|
||||||
_0814C092:
|
_0814C092:
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r4,r5}
|
pop {r4,r5}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -3131,7 +3131,7 @@ _0814CACE:
|
|||||||
cmp r3, r0
|
cmp r3, r0
|
||||||
bcc _0814CACE
|
bcc _0814CACE
|
||||||
_0814CAF0:
|
_0814CAF0:
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r4-r7}
|
pop {r4-r7}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -3515,7 +3515,7 @@ _0814CE5C:
|
|||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldrb r0, [r0]
|
ldrb r0, [r0]
|
||||||
bl sub_8072984
|
bl sub_8072984
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814CE92:
|
_0814CE92:
|
||||||
pop {r4-r6}
|
pop {r4-r6}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -3789,7 +3789,7 @@ _0814D002:
|
|||||||
thumb_func_start sub_814D0E4
|
thumb_func_start sub_814D0E4
|
||||||
sub_814D0E4: @ 814D0E4
|
sub_814D0E4: @ 814D0E4
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D0E4
|
thumb_func_end sub_814D0E4
|
||||||
@ -3975,7 +3975,7 @@ _0814D266:
|
|||||||
thumb_func_start sub_814D288
|
thumb_func_start sub_814D288
|
||||||
sub_814D288: @ 814D288
|
sub_814D288: @ 814D288
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D288
|
thumb_func_end sub_814D288
|
||||||
@ -3983,7 +3983,7 @@ sub_814D288: @ 814D288
|
|||||||
thumb_func_start sub_814D294
|
thumb_func_start sub_814D294
|
||||||
sub_814D294: @ 814D294
|
sub_814D294: @ 814D294
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D294
|
thumb_func_end sub_814D294
|
||||||
@ -3991,7 +3991,7 @@ sub_814D294: @ 814D294
|
|||||||
thumb_func_start sub_814D2A0
|
thumb_func_start sub_814D2A0
|
||||||
sub_814D2A0: @ 814D2A0
|
sub_814D2A0: @ 814D2A0
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D2A0
|
thumb_func_end sub_814D2A0
|
||||||
@ -3999,7 +3999,7 @@ sub_814D2A0: @ 814D2A0
|
|||||||
thumb_func_start sub_814D2AC
|
thumb_func_start sub_814D2AC
|
||||||
sub_814D2AC: @ 814D2AC
|
sub_814D2AC: @ 814D2AC
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D2AC
|
thumb_func_end sub_814D2AC
|
||||||
@ -4121,7 +4121,7 @@ _0814D2CE:
|
|||||||
lsrs r3, r0, 24
|
lsrs r3, r0, 24
|
||||||
cmp r3, 0
|
cmp r3, 0
|
||||||
beq _0814D3CC
|
beq _0814D3CC
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
b _0814D3F4
|
b _0814D3F4
|
||||||
.pool
|
.pool
|
||||||
_0814D3CC:
|
_0814D3CC:
|
||||||
@ -4326,7 +4326,7 @@ _0814D544:
|
|||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
adds r0, r2
|
adds r0, r2
|
||||||
strb r4, [r0, 0x4]
|
strb r4, [r0, 0x4]
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814D580:
|
_0814D580:
|
||||||
pop {r3-r5}
|
pop {r3-r5}
|
||||||
mov r8, r3
|
mov r8, r3
|
||||||
@ -4372,7 +4372,7 @@ sub_814D590: @ 814D590
|
|||||||
thumb_func_start sub_814D5E8
|
thumb_func_start sub_814D5E8
|
||||||
sub_814D5E8: @ 814D5E8
|
sub_814D5E8: @ 814D5E8
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D5E8
|
thumb_func_end sub_814D5E8
|
||||||
@ -4380,7 +4380,7 @@ sub_814D5E8: @ 814D5E8
|
|||||||
thumb_func_start sub_814D5F4
|
thumb_func_start sub_814D5F4
|
||||||
sub_814D5F4: @ 814D5F4
|
sub_814D5F4: @ 814D5F4
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D5F4
|
thumb_func_end sub_814D5F4
|
||||||
@ -4388,7 +4388,7 @@ sub_814D5F4: @ 814D5F4
|
|||||||
thumb_func_start sub_814D600
|
thumb_func_start sub_814D600
|
||||||
sub_814D600: @ 814D600
|
sub_814D600: @ 814D600
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D600
|
thumb_func_end sub_814D600
|
||||||
@ -4396,7 +4396,7 @@ sub_814D600: @ 814D600
|
|||||||
thumb_func_start sub_814D60C
|
thumb_func_start sub_814D60C
|
||||||
sub_814D60C: @ 814D60C
|
sub_814D60C: @ 814D60C
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D60C
|
thumb_func_end sub_814D60C
|
||||||
@ -4404,7 +4404,7 @@ sub_814D60C: @ 814D60C
|
|||||||
thumb_func_start sub_814D618
|
thumb_func_start sub_814D618
|
||||||
sub_814D618: @ 814D618
|
sub_814D618: @ 814D618
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D618
|
thumb_func_end sub_814D618
|
||||||
@ -4412,7 +4412,7 @@ sub_814D618: @ 814D618
|
|||||||
thumb_func_start sub_814D624
|
thumb_func_start sub_814D624
|
||||||
sub_814D624: @ 814D624
|
sub_814D624: @ 814D624
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D624
|
thumb_func_end sub_814D624
|
||||||
@ -4420,7 +4420,7 @@ sub_814D624: @ 814D624
|
|||||||
thumb_func_start sub_814D630
|
thumb_func_start sub_814D630
|
||||||
sub_814D630: @ 814D630
|
sub_814D630: @ 814D630
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D630
|
thumb_func_end sub_814D630
|
||||||
@ -4524,7 +4524,7 @@ _0814D6F6:
|
|||||||
thumb_func_start sub_814D72C
|
thumb_func_start sub_814D72C
|
||||||
sub_814D72C: @ 814D72C
|
sub_814D72C: @ 814D72C
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D72C
|
thumb_func_end sub_814D72C
|
||||||
@ -4628,7 +4628,7 @@ _0814D800:
|
|||||||
thumb_func_start sub_814D818
|
thumb_func_start sub_814D818
|
||||||
sub_814D818: @ 814D818
|
sub_814D818: @ 814D818
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D818
|
thumb_func_end sub_814D818
|
||||||
@ -4636,7 +4636,7 @@ sub_814D818: @ 814D818
|
|||||||
thumb_func_start sub_814D824
|
thumb_func_start sub_814D824
|
||||||
sub_814D824: @ 814D824
|
sub_814D824: @ 814D824
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D824
|
thumb_func_end sub_814D824
|
||||||
@ -4644,7 +4644,7 @@ sub_814D824: @ 814D824
|
|||||||
thumb_func_start sub_814D830
|
thumb_func_start sub_814D830
|
||||||
sub_814D830: @ 814D830
|
sub_814D830: @ 814D830
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D830
|
thumb_func_end sub_814D830
|
||||||
@ -4652,7 +4652,7 @@ sub_814D830: @ 814D830
|
|||||||
thumb_func_start sub_814D83C
|
thumb_func_start sub_814D83C
|
||||||
sub_814D83C: @ 814D83C
|
sub_814D83C: @ 814D83C
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D83C
|
thumb_func_end sub_814D83C
|
||||||
@ -4660,7 +4660,7 @@ sub_814D83C: @ 814D83C
|
|||||||
thumb_func_start sub_814D848
|
thumb_func_start sub_814D848
|
||||||
sub_814D848: @ 814D848
|
sub_814D848: @ 814D848
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D848
|
thumb_func_end sub_814D848
|
||||||
@ -4668,7 +4668,7 @@ sub_814D848: @ 814D848
|
|||||||
thumb_func_start sub_814D854
|
thumb_func_start sub_814D854
|
||||||
sub_814D854: @ 814D854
|
sub_814D854: @ 814D854
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D854
|
thumb_func_end sub_814D854
|
||||||
@ -4676,7 +4676,7 @@ sub_814D854: @ 814D854
|
|||||||
thumb_func_start sub_814D860
|
thumb_func_start sub_814D860
|
||||||
sub_814D860: @ 814D860
|
sub_814D860: @ 814D860
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D860
|
thumb_func_end sub_814D860
|
||||||
@ -4684,7 +4684,7 @@ sub_814D860: @ 814D860
|
|||||||
thumb_func_start sub_814D86C
|
thumb_func_start sub_814D86C
|
||||||
sub_814D86C: @ 814D86C
|
sub_814D86C: @ 814D86C
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D86C
|
thumb_func_end sub_814D86C
|
||||||
@ -4692,7 +4692,7 @@ sub_814D86C: @ 814D86C
|
|||||||
thumb_func_start sub_814D878
|
thumb_func_start sub_814D878
|
||||||
sub_814D878: @ 814D878
|
sub_814D878: @ 814D878
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D878
|
thumb_func_end sub_814D878
|
||||||
@ -4706,7 +4706,7 @@ sub_814D884: @ 814D884
|
|||||||
negs r0, r0
|
negs r0, r0
|
||||||
ands r0, r1
|
ands r0, r1
|
||||||
strb r0, [r2]
|
strb r0, [r2]
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
.pool
|
.pool
|
||||||
@ -4731,7 +4731,7 @@ sub_814D8A0: @ 814D8A0
|
|||||||
ands r0, r2
|
ands r0, r2
|
||||||
orrs r0, r1
|
orrs r0, r1
|
||||||
strb r0, [r3]
|
strb r0, [r3]
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
.pool
|
.pool
|
||||||
@ -4745,7 +4745,7 @@ sub_814D8D8: @ 814D8D8
|
|||||||
movs r0, 0x7F
|
movs r0, 0x7F
|
||||||
ands r0, r1
|
ands r0, r1
|
||||||
strb r0, [r2]
|
strb r0, [r2]
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
.pool
|
.pool
|
||||||
@ -4766,7 +4766,7 @@ sub_814D8F0: @ 814D8F0
|
|||||||
ands r0, r2
|
ands r0, r2
|
||||||
orrs r0, r1
|
orrs r0, r1
|
||||||
strb r0, [r3]
|
strb r0, [r3]
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
.pool
|
.pool
|
||||||
@ -4790,7 +4790,7 @@ dp01t_29_4_blink: @ 814D918
|
|||||||
lsls r0, 29
|
lsls r0, 29
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bge _0814D94C
|
bge _0814D94C
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
b _0814D976
|
b _0814D976
|
||||||
.pool
|
.pool
|
||||||
_0814D94C:
|
_0814D94C:
|
||||||
@ -4824,7 +4824,7 @@ _0814D976:
|
|||||||
thumb_func_start sub_814D988
|
thumb_func_start sub_814D988
|
||||||
sub_814D988: @ 814D988
|
sub_814D988: @ 814D988
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814D988
|
thumb_func_end sub_814D988
|
||||||
@ -4855,7 +4855,7 @@ _0814D9A8:
|
|||||||
lsls r1, r3, 24
|
lsls r1, r3, 24
|
||||||
asrs r1, 24
|
asrs r1, 24
|
||||||
bl PlaySE12WithPanning
|
bl PlaySE12WithPanning
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r4}
|
pop {r4}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -4899,7 +4899,7 @@ _0814DA14:
|
|||||||
orrs r0, r1
|
orrs r0, r1
|
||||||
bl PlayFanfare
|
bl PlayFanfare
|
||||||
_0814DA28:
|
_0814DA28:
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r4,r5}
|
pop {r4,r5}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -4926,7 +4926,7 @@ sub_814DA34: @ 814DA34
|
|||||||
negs r1, r1
|
negs r1, r1
|
||||||
movs r2, 0x5
|
movs r2, 0x5
|
||||||
bl PlayCry3
|
bl PlayCry3
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
.pool
|
.pool
|
||||||
@ -4948,7 +4948,7 @@ dp01t_2E_4_battle_intro: @ 814DA74
|
|||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
orrs r0, r1
|
orrs r0, r1
|
||||||
strh r0, [r2]
|
strh r0, [r2]
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
.pool
|
.pool
|
||||||
@ -5322,7 +5322,7 @@ sub_814DDD8: @ 814DDD8
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
bne _0814DE08
|
bne _0814DE08
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
b _0814DE7C
|
b _0814DE7C
|
||||||
.pool
|
.pool
|
||||||
_0814DE08:
|
_0814DE08:
|
||||||
@ -5419,7 +5419,7 @@ sub_814DE9C: @ 814DE9C
|
|||||||
adds r0, r2
|
adds r0, r2
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
strb r1, [r0, 0x5]
|
strb r1, [r0, 0x5]
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
_0814DED4:
|
_0814DED4:
|
||||||
pop {r4}
|
pop {r4}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@ -5455,7 +5455,7 @@ sub_814DEE4: @ 814DEE4
|
|||||||
ldr r1, =sub_8073C30
|
ldr r1, =sub_8073C30
|
||||||
str r1, [r0]
|
str r1, [r0]
|
||||||
_0814DF16:
|
_0814DF16:
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
.pool
|
.pool
|
||||||
@ -5464,7 +5464,7 @@ _0814DF16:
|
|||||||
thumb_func_start sub_814DF34
|
thumb_func_start sub_814DF34
|
||||||
sub_814DF34: @ 814DF34
|
sub_814DF34: @ 814DF34
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814DF34
|
thumb_func_end sub_814DF34
|
||||||
@ -5505,7 +5505,7 @@ sub_814DF40: @ 814DF40
|
|||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
bl sub_805E408
|
bl sub_805E408
|
||||||
_0814DF86:
|
_0814DF86:
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r4}
|
pop {r4}
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
@ -5544,7 +5544,7 @@ sub_814DFA0: @ 814DFA0
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
cmp r0, 0
|
cmp r0, 0
|
||||||
beq _0814DFF0
|
beq _0814DFF0
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
b _0814DFFC
|
b _0814DFFC
|
||||||
.pool
|
.pool
|
||||||
_0814DFF0:
|
_0814DFF0:
|
||||||
@ -5574,7 +5574,7 @@ sub_814E014: @ 814E014
|
|||||||
ldr r1, =gUnknown_02023066
|
ldr r1, =gUnknown_02023066
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
bl sub_81851A8
|
bl sub_81851A8
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
.pool
|
.pool
|
||||||
@ -5583,7 +5583,7 @@ sub_814E014: @ 814E014
|
|||||||
thumb_func_start sub_814E034
|
thumb_func_start sub_814E034
|
||||||
sub_814E034: @ 814E034
|
sub_814E034: @ 814E034
|
||||||
push {lr}
|
push {lr}
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
pop {r0}
|
pop {r0}
|
||||||
bx r0
|
bx r0
|
||||||
thumb_func_end sub_814E034
|
thumb_func_end sub_814E034
|
||||||
@ -5626,7 +5626,7 @@ sub_814E040: @ 814E040
|
|||||||
bl FadeOutMapMusic
|
bl FadeOutMapMusic
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
bl BeginFastPaletteFade
|
bl BeginFastPaletteFade
|
||||||
bl dp01_tbl4_exec_completed
|
bl LinkPartnerBufferExecCompleted
|
||||||
ldr r1, =gBattleBankFunc
|
ldr r1, =gBattleBankFunc
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
lsls r0, 2
|
lsls r0, 2
|
6347
asm/battle_controller_player_partner.s
Normal file
6347
asm/battle_controller_player_partner.s
Normal file
File diff suppressed because it is too large
Load Diff
4787
asm/battle_controller_wally.s
Normal file
4787
asm/battle_controller_wally.s
Normal file
File diff suppressed because it is too large
Load Diff
10
asm/rom3.s
10
asm/rom3.s
@ -248,7 +248,7 @@ _0803287E:
|
|||||||
str r3, [r2, 0x4]
|
str r3, [r2, 0x4]
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
strb r0, [r1, 0x1]
|
strb r0, [r1, 0x1]
|
||||||
ldr r0, =sub_81BADF4
|
ldr r0, =SetBankFuncToPlayerPartnerBufferRunCommand
|
||||||
str r0, [r2, 0x8]
|
str r0, [r2, 0x8]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
strb r0, [r1, 0x2]
|
strb r0, [r1, 0x2]
|
||||||
@ -304,7 +304,7 @@ _08032918:
|
|||||||
cmp r3, 0
|
cmp r3, 0
|
||||||
beq _08032930
|
beq _08032930
|
||||||
ldr r1, =gBattleBankFunc
|
ldr r1, =gBattleBankFunc
|
||||||
ldr r0, =bx_goto_buffer_A_ch0_tbl3
|
ldr r0, =SetBankFuncToWallyBufferRunCommand
|
||||||
b _08032934
|
b _08032934
|
||||||
.pool
|
.pool
|
||||||
_08032930:
|
_08032930:
|
||||||
@ -851,12 +851,12 @@ _08032DD0:
|
|||||||
ldr r3, =sub_805F164
|
ldr r3, =sub_805F164
|
||||||
str r3, [r2, 0x4]
|
str r3, [r2, 0x4]
|
||||||
strb r5, [r1, 0x1]
|
strb r5, [r1, 0x1]
|
||||||
ldr r0, =sub_814AEB0
|
ldr r0, =SetBankFuncToLinkPartnerBufferRunCommand
|
||||||
b _08032E2E
|
b _08032E2E
|
||||||
.pool
|
.pool
|
||||||
_08032E1C:
|
_08032E1C:
|
||||||
ldr r2, =gBattleBankFunc
|
ldr r2, =gBattleBankFunc
|
||||||
ldr r0, =sub_814AEB0
|
ldr r0, =SetBankFuncToLinkPartnerBufferRunCommand
|
||||||
str r0, [r2]
|
str r0, [r2]
|
||||||
ldr r1, =gBanksBySide
|
ldr r1, =gBanksBySide
|
||||||
strb r3, [r1]
|
strb r3, [r1]
|
||||||
@ -1022,7 +1022,7 @@ _08032F8E:
|
|||||||
lsls r0, 2
|
lsls r0, 2
|
||||||
ldr r1, =gBattleBankFunc
|
ldr r1, =gBattleBankFunc
|
||||||
adds r0, r1
|
adds r0, r1
|
||||||
ldr r1, =sub_814AEB0
|
ldr r1, =SetBankFuncToLinkPartnerBufferRunCommand
|
||||||
str r1, [r0]
|
str r1, [r0]
|
||||||
ldrh r1, [r2, 0x18]
|
ldrh r1, [r2, 0x18]
|
||||||
cmp r1, 0x2
|
cmp r1, 0x2
|
||||||
|
4777
asm/rom_8158B30.s
4777
asm/rom_8158B30.s
File diff suppressed because it is too large
Load Diff
63085
asm/rom_81BAD84.s
63085
asm/rom_81BAD84.s
File diff suppressed because it is too large
Load Diff
56759
asm/rom_81BE66C.s
Normal file
56759
asm/rom_81BE66C.s
Normal file
File diff suppressed because it is too large
Load Diff
@ -5055,5 +5055,5 @@ gUnknown_085C9A30:: @ 85C9A30
|
|||||||
gUnknown_085C9A53:: @ 85C9A53
|
gUnknown_085C9A53:: @ 85C9A53
|
||||||
.incbin "baserom.gba", 0x5c9a53, 0x41
|
.incbin "baserom.gba", 0x5c9a53, 0x41
|
||||||
|
|
||||||
gUnknown_085C9A94:: @ 85C9A94
|
gLinkPartnerBufferCommands:: @ 85C9A94
|
||||||
.incbin "baserom.gba", 0x5c9a94, 0xe4
|
.incbin "baserom.gba", 0x5c9a94, 0xe4
|
||||||
|
@ -1049,7 +1049,7 @@ gFont6BrailleGlyphs:: @ 8616128
|
|||||||
gUnknown_08617128:: @ 8617128
|
gUnknown_08617128:: @ 8617128
|
||||||
.incbin "baserom.gba", 0x617128, 0x48
|
.incbin "baserom.gba", 0x617128, 0x48
|
||||||
|
|
||||||
gUnknown_08617170:: @ 8617170
|
gPlayerPartnerBufferCommands:: @ 8617170
|
||||||
.incbin "baserom.gba", 0x617170, 0x104
|
.incbin "baserom.gba", 0x617170, 0x104
|
||||||
|
|
||||||
gUnknown_08617274:: @ 8617274
|
gUnknown_08617274:: @ 8617274
|
||||||
|
@ -237,5 +237,5 @@ gUnknown_085DFDA0:: @ 85DFDA0
|
|||||||
gUnknown_085DFDB8:: @ 85DFDB8
|
gUnknown_085DFDB8:: @ 85DFDB8
|
||||||
.incbin "baserom.gba", 0x5dfdb8, 0x8
|
.incbin "baserom.gba", 0x5dfdb8, 0x8
|
||||||
|
|
||||||
gUnknown_085DFDC0:: @ 85DFDC0
|
gWallyBufferCommands:: @ 85DFDC0
|
||||||
.incbin "baserom.gba", 0x5dfdc0, 0xe4
|
.incbin "baserom.gba", 0x5dfdc0, 0xe4
|
||||||
|
@ -173,7 +173,7 @@ SECTIONS {
|
|||||||
asm/fldeff_strength.o(.text);
|
asm/fldeff_strength.o(.text);
|
||||||
asm/rom_8145E84.o(.text);
|
asm/rom_8145E84.o(.text);
|
||||||
asm/battle_transition.o(.text);
|
asm/battle_transition.o(.text);
|
||||||
asm/battle_814AEAC.o(.text);
|
asm/battle_controller_linkpartner.o(.text);
|
||||||
asm/battle_message.o(.text);
|
asm/battle_message.o(.text);
|
||||||
asm/cable_car.o(.text);
|
asm/cable_car.o(.text);
|
||||||
asm/rom_8151534.o(.text);
|
asm/rom_8151534.o(.text);
|
||||||
@ -184,6 +184,7 @@ SECTIONS {
|
|||||||
asm/field_effect_helpers.o(.text);
|
asm/field_effect_helpers.o(.text);
|
||||||
asm/contest_ai.o(.text);
|
asm/contest_ai.o(.text);
|
||||||
asm/rom_8158B30.o(.text);
|
asm/rom_8158B30.o(.text);
|
||||||
|
asm/battle_controller_wally.o(.text);
|
||||||
asm/player_pc.o(.text);
|
asm/player_pc.o(.text);
|
||||||
asm/intro.o(.text);
|
asm/intro.o(.text);
|
||||||
asm/rom_81700F8.o(.text);
|
asm/rom_81700F8.o(.text);
|
||||||
@ -208,6 +209,8 @@ SECTIONS {
|
|||||||
asm/rom_8184DA4.o(.text);
|
asm/rom_8184DA4.o(.text);
|
||||||
src/multiboot.o(.text);
|
src/multiboot.o(.text);
|
||||||
asm/rom_81BAD84.o(.text);
|
asm/rom_81BAD84.o(.text);
|
||||||
|
asm/battle_controller_player_partner.o(.text);
|
||||||
|
asm/rom_81BE66C.o(.text);
|
||||||
} =0
|
} =0
|
||||||
|
|
||||||
script_data :
|
script_data :
|
||||||
|
Loading…
Reference in New Issue
Block a user