Skip to content

Commit

Permalink
dump pal tm
Browse files Browse the repository at this point in the history
  • Loading branch information
MokhaLeee committed Feb 2, 2024
1 parent 986c6a4 commit 0f51252
Show file tree
Hide file tree
Showing 18 changed files with 750 additions and 726 deletions.
120 changes: 60 additions & 60 deletions asm/banim-efxbattle.s

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions asm/banim-ekrbattle.s
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ sub_0804C20C: @ 0x0804C20C
lsls r2, r2, #2
bl RegisterDataMove
ldr r0, _0804C328 @ =gUnk_081DFBC4
ldr r1, _0804C32C @ =0x020238AC
ldr r1, _0804C32C @ =gBg1Tm + 0x44c
movs r2, #1
str r2, [sp]
adds r2, #0xff
Expand All @@ -1187,7 +1187,7 @@ sub_0804C20C: @ 0x0804C20C
movs r3, #3
bl EfxTmCpyBG
ldr r0, _0804C330 @ =gUnk_081DFC30
ldr r1, _0804C334 @ =0x02022880
ldr r1, _0804C334 @ =gPal + 0x20
movs r2, #8
bl CpuFastSet
movs r0, #2
Expand Down Expand Up @@ -1232,9 +1232,9 @@ _0804C31C: .4byte 0x030027C4
_0804C320: .4byte gUnk_081DF464
_0804C324: .4byte 0x06002000
_0804C328: .4byte gUnk_081DFBC4
_0804C32C: .4byte 0x020238AC
_0804C32C: .4byte gBg1Tm + 0x44c
_0804C330: .4byte gUnk_081DFC30
_0804C334: .4byte 0x02022880
_0804C334: .4byte gPal + 0x20
_0804C338: .4byte gEkrPairExpGain
_0804C33C: .4byte gEkrPairExpPrevious
_0804C340:
Expand Down
28 changes: 14 additions & 14 deletions asm/banim-ekrgauge.s
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ NewEkrGauge: @ 0x0804C9AC
cmp r0, #0x50
ble _0804CA10
ldr r0, _0804CA08 @ =gUnk_081DF3A4
ldr r1, _0804CA0C @ =0x02022BC0
ldr r1, _0804CA0C @ =gPal + 0x360
movs r2, #0x10
bl CpuSet
b _0804CA24
Expand All @@ -189,15 +189,15 @@ _0804C9FC: .4byte gUnk_08C09D48
_0804CA00: .4byte 0x02000038
_0804CA04: .4byte gEkrPairHpInitial
_0804CA08: .4byte gUnk_081DF3A4
_0804CA0C: .4byte 0x02022BC0
_0804CA0C: .4byte gPal + 0x360
_0804CA10:
ldr r0, _0804CA3C @ =0x0203DFF8
movs r2, #0
ldrsh r0, [r0, r2]
lsls r0, r0, #5
ldr r1, _0804CA40 @ =gUnk_081DF224
adds r0, r0, r1
ldr r1, _0804CA44 @ =0x02022BC0
ldr r1, _0804CA44 @ =gPal + 0x360
movs r2, #0x10
bl CpuSet
_0804CA24:
Expand All @@ -207,25 +207,25 @@ _0804CA24:
cmp r0, #0x50
ble _0804CA54
ldr r0, _0804CA4C @ =gUnk_081DF3A4
ldr r1, _0804CA50 @ =0x02022BE0
ldr r1, _0804CA50 @ =gPal + 0x380
movs r2, #0x10
bl CpuSet
b _0804CA68
.align 2, 0
_0804CA3C: .4byte 0x0203DFF8
_0804CA40: .4byte gUnk_081DF224
_0804CA44: .4byte 0x02022BC0
_0804CA44: .4byte gPal + 0x360
_0804CA48: .4byte gEkrPairHpInitial
_0804CA4C: .4byte gUnk_081DF3A4
_0804CA50: .4byte 0x02022BE0
_0804CA50: .4byte gPal + 0x380
_0804CA54:
ldr r0, _0804CBB8 @ =0x0203DFF8
movs r2, #2
ldrsh r0, [r0, r2]
lsls r0, r0, #5
ldr r1, _0804CBBC @ =gUnk_081DF224
adds r0, r0, r1
ldr r1, _0804CBC0 @ =0x02022BE0
ldr r1, _0804CBC0 @ =gPal + 0x380
movs r2, #0x10
bl CpuSet
_0804CA68:
Expand All @@ -250,7 +250,7 @@ _0804CA68:
lsls r0, r0, #5
ldr r5, _0804CBDC @ =gUnk_081DEFA4
adds r0, r0, r5
ldr r4, _0804CBE0 @ =0x02022B00
ldr r4, _0804CBE0 @ =gPal + 0x2a0
adds r1, r4, #0
movs r2, #8
bl CpuFastSet
Expand Down Expand Up @@ -379,15 +379,15 @@ _0804CB1E:
.align 2, 0
_0804CBB8: .4byte 0x0203DFF8
_0804CBBC: .4byte gUnk_081DF224
_0804CBC0: .4byte 0x02022BE0
_0804CBC0: .4byte gPal + 0x380
_0804CBC4: .4byte 0x0203E098
_0804CBC8: .4byte 0x0000FFFF
_0804CBCC: .4byte gUnk_081DEC94
_0804CBD0: .4byte 0x06013800
_0804CBD4: .4byte gUnk_081DED34
_0804CBD8: .4byte 0x06013C00
_0804CBDC: .4byte gUnk_081DEFA4
_0804CBE0: .4byte 0x02022B00
_0804CBE0: .4byte gPal + 0x2a0
_0804CBE4: .4byte 0x0203E09C
_0804CBE8: .4byte 0x02017700
_0804CBEC: .4byte 0x0203E0A0
Expand Down Expand Up @@ -650,7 +650,7 @@ _0804CDA8:
str r1, [sp, #0xdc]
movs r4, #8
_0804CDAE:
ldr r2, _0804CE94 @ =0x02022FA0
ldr r2, _0804CE94 @ =gBg0Tm + 0x340
mov r8, r2
movs r0, #0x9f
str r0, [sp]
Expand Down Expand Up @@ -765,7 +765,7 @@ _0804CE66:
mov sl, r3
b _0804CEDE
.align 2, 0
_0804CE94: .4byte 0x02022FA0
_0804CE94: .4byte gBg0Tm + 0x340
_0804CE98: .4byte gUnk_081DEA10
_0804CE9C: .4byte 0xFFFFFCC0
_0804CEA0: .4byte gUnk_081DEAE4
Expand Down Expand Up @@ -2380,7 +2380,7 @@ _0804DB3A:
lsls r0, r0, #5
ldr r5, _0804DC0C @ =gUnk_081DEC14
adds r0, r0, r5
ldr r4, _0804DC10 @ =0x020228A0
ldr r4, _0804DC10 @ =gPal + 0x40
adds r1, r4, #0
movs r2, #8
bl CpuFastSet
Expand Down Expand Up @@ -2413,7 +2413,7 @@ _0804DC00: .4byte gBg0Tm
_0804DC04: .4byte gUnk_081DEBC4
_0804DC08: .4byte 0x0203DFF8
_0804DC0C: .4byte gUnk_081DEC14
_0804DC10: .4byte 0x020228A0
_0804DC10: .4byte gPal + 0x40
_0804DC14: .4byte 0x02000038

thumb_func_start sub_0804DC18
Expand Down
42 changes: 21 additions & 21 deletions asm/bmfx.s
Original file line number Diff line number Diff line change
Expand Up @@ -2185,7 +2185,7 @@ _0801E920: .4byte sub_0801E858
thumb_func_start sub_0801E924
sub_0801E924: @ 0x0801E924
push {lr}
ldr r2, _0801E944 @ =0x02022EA0
ldr r2, _0801E944 @ =gBg0Tm + 0x240
movs r1, #0
ldr r0, _0801E948 @ =0x00005140
adds r3, r0, #0
Expand All @@ -2201,7 +2201,7 @@ _0801E92E:
pop {r0}
bx r0
.align 2, 0
_0801E944: .4byte 0x02022EA0
_0801E944: .4byte gBg0Tm + 0x240
_0801E948: .4byte 0x00005140

thumb_func_start sub_0801E94C
Expand Down Expand Up @@ -3674,7 +3674,7 @@ _0801F4B2:
movs r0, #4
bl ApplyIconPalettes
lsls r0, r4, #1
ldr r1, _0801F50C @ =0x02022EA2
ldr r1, _0801F50C @ =gBg0Tm + 0x242
adds r0, r0, r1
movs r2, #0x80
lsls r2, r2, #7
Expand All @@ -3684,7 +3684,7 @@ _0801F4B2:
_0801F4E2:
bl ResetTextFont
lsls r1, r4, #1
ldr r0, _0801F50C @ =0x02022EA2
ldr r0, _0801F50C @ =gBg0Tm + 0x242
adds r1, r1, r0
movs r0, #0x14
str r0, [sp]
Expand All @@ -3701,7 +3701,7 @@ _0801F4E2:
pop {r0}
bx r0
.align 2, 0
_0801F50C: .4byte 0x02022EA2
_0801F50C: .4byte gBg0Tm + 0x242
_0801F510: .4byte gUnk_08C02BA8

thumb_func_start sub_0801F514
Expand Down Expand Up @@ -3792,7 +3792,7 @@ _0801F5D0:
movs r3, #6
bl sub_0804A4CC
lsls r6, r6, #1
ldr r5, _0801F648 @ =0x02022E62
ldr r5, _0801F648 @ =gBg0Tm + 0x202
adds r4, r6, r5
mov r0, r8
bl sub_08017808
Expand Down Expand Up @@ -3835,7 +3835,7 @@ _0801F5D0:
.align 2, 0
_0801F640: .4byte 0x00000726
_0801F644: .4byte 0x00000727
_0801F648: .4byte 0x02022E62
_0801F648: .4byte gBg0Tm + 0x202
_0801F64C: .4byte gUnk_08C02BA8

thumb_func_start sub_0801F650
Expand Down Expand Up @@ -3894,7 +3894,7 @@ _0801F6BC:
movs r3, #4
bl sub_0804A4CC
lsls r5, r5, #1
ldr r4, _0801F704 @ =0x02022EA2
ldr r4, _0801F704 @ =gBg0Tm + 0x242
adds r6, r5, r4
adds r0, r7, #0
bl sub_08017808
Expand All @@ -3918,7 +3918,7 @@ _0801F6BC:
pop {r0}
bx r0
.align 2, 0
_0801F704: .4byte 0x02022EA2
_0801F704: .4byte gBg0Tm + 0x242
_0801F708: .4byte gUnk_08C02BA8

thumb_func_start sub_0801F70C
Expand Down Expand Up @@ -4957,7 +4957,7 @@ sub_0801FF18: @ 0x0801FF18
movs r1, #0xd
strh r1, [r0]
bl ColorFadeInit
ldr r0, _0801FF38 @ =0x020228E0
ldr r0, _0801FF38 @ =gPal + 0x80
movs r3, #1
rsbs r3, r3, #0
movs r1, #4
Expand All @@ -4966,7 +4966,7 @@ sub_0801FF18: @ 0x0801FF18
pop {r0}
bx r0
.align 2, 0
_0801FF38: .4byte 0x020228E0
_0801FF38: .4byte gPal + 0x80

thumb_func_start sub_0801FF3C
sub_0801FF3C: @ 0x0801FF3C
Expand Down Expand Up @@ -5154,7 +5154,7 @@ sub_080200CC: @ 0x080200CC
push {r4, r5, lr}
adds r4, r0, #0
bl ColorFadeInit
ldr r5, _0802013C @ =0x02022920
ldr r5, _0802013C @ =gPal + 0xc0
adds r0, r5, #0
movs r1, #6
movs r2, #0xa
Expand Down Expand Up @@ -5200,7 +5200,7 @@ _08020136:
pop {r0}
bx r0
.align 2, 0
_0802013C: .4byte 0x02022920
_0802013C: .4byte gPal + 0xc0
_08020140: .4byte gPlaySt

thumb_func_start sub_08020144
Expand Down Expand Up @@ -5539,7 +5539,7 @@ sub_080203D0: @ 0x080203D0
adds r4, r0, #0
bl ClearBg0Bg1
bl ColorFadeInit
ldr r5, _0802046C @ =0x02022920
ldr r5, _0802046C @ =gPal + 0xc0
adds r0, r5, #0
movs r1, #6
movs r2, #0xa
Expand Down Expand Up @@ -5606,7 +5606,7 @@ _08020466:
pop {r0}
bx r0
.align 2, 0
_0802046C: .4byte 0x02022920
_0802046C: .4byte gPal + 0xc0
_08020470: .4byte gPlaySt
_08020474: .4byte 0x0000FFFF

Expand Down Expand Up @@ -5931,7 +5931,7 @@ sub_08020674: @ 0x08020674
movs r2, #0
bl SetBgOffset
bl ClearBg0Bg1
ldr r0, _080207A4 @ =0x02022EAE
ldr r0, _080207A4 @ =gBg0Tm + 0x24e
ldr r1, _080207A8 @ =gUnk_08409060
movs r2, #0x80
bl TmApplyTsa_thm
Expand Down Expand Up @@ -6005,7 +6005,7 @@ _08020794: .4byte gUnk_08409040
_08020798: .4byte gUnk_08406218
_0802079C: .4byte 0x06002000
_080207A0: .4byte gUnk_08409020
_080207A4: .4byte 0x02022EAE
_080207A4: .4byte gBg0Tm + 0x24e
_080207A8: .4byte gUnk_08409060
_080207AC: .4byte sub_08020630
_080207B0: .4byte 0x0000FFE0
Expand Down Expand Up @@ -7912,7 +7912,7 @@ sub_080216A0: @ 0x080216A0
ldr r4, _08021738 @ =gBuf
adds r1, r4, #0
bl Decompress
ldr r0, _0802173C @ =0x02022C64
ldr r0, _0802173C @ =gBg0Tm + 0x4
movs r2, #0x8a
lsls r2, r2, #6
adds r1, r4, #0
Expand Down Expand Up @@ -7967,7 +7967,7 @@ _0802172C: .4byte 0x06005000
_08021730: .4byte gUnk_081BF2E0
_08021734: .4byte gUnk_081BF4E0
_08021738: .4byte gBuf
_0802173C: .4byte 0x02022C64
_0802173C: .4byte gBg0Tm + 0x4
_08021740: .4byte gDispIo
_08021744: .4byte 0x0000FFE0
_08021748: .4byte 0x0000E0FF
Expand Down Expand Up @@ -8249,7 +8249,7 @@ sub_0802196C: @ 0x0802196C
ldr r0, _080219A8 @ =gUnk_081C2358
ldr r1, _080219AC @ =0x06002000
bl Decompress
ldr r0, _080219B0 @ =0x02022C20
ldr r0, _080219B0 @ =gPal + 0x3c0
movs r1, #0xa0
movs r2, #0x20
bl ApplyPaletteExt
Expand All @@ -8271,5 +8271,5 @@ sub_0802196C: @ 0x0802196C
.align 2, 0
_080219A8: .4byte gUnk_081C2358
_080219AC: .4byte 0x06002000
_080219B0: .4byte 0x02022C20
_080219B0: .4byte gPal + 0x3c0
_080219B4: .4byte gUnk_08C03018
8 changes: 4 additions & 4 deletions asm/bmio.s
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ _0802D7AE:
ldr r0, [r3]
ldrb r2, [r3, #6]
lsls r1, r2, #1
ldr r2, _0802D7E0 @ =0x02022920
ldr r2, _0802D7E0 @ =gPal + 0xc0
adds r1, r1, r2
ldrb r2, [r3, #5]
bl CpuSet
Expand All @@ -81,7 +81,7 @@ _0802D7D8:
pop {r0}
bx r0
.align 2, 0
_0802D7E0: .4byte 0x02022920
_0802D7E0: .4byte gPal + 0xc0

thumb_func_start BmVSync_AnimInit
BmVSync_AnimInit: @ 0x0802D7E4
Expand Down Expand Up @@ -1084,7 +1084,7 @@ sub_0802DFB8: @ 0x0802DFB8
thumb_func_start sub_0802DFC8
sub_0802DFC8: @ 0x0802DFC8
push {r4, r5, r6, r7, lr}
ldr r4, _0802E028 @ =0x02022940
ldr r4, _0802E028 @ =gPal + 0xe0
ldr r1, _0802E02C @ =0x050000E0
adds r0, r4, #0
movs r2, #0x20
Expand Down Expand Up @@ -1134,7 +1134,7 @@ _0802E010:
pop {r0}
bx r0
.align 2, 0
_0802E028: .4byte 0x02022940
_0802E028: .4byte gPal + 0xe0
_0802E02C: .4byte 0x050000E0
_0802E030: .4byte 0x02002ADC

Expand Down
Loading

0 comments on commit 0f51252

Please sign in to comment.