Skip to content

Commit

Permalink
Merge pull request #586 from MokhaLeee/manimstaff
Browse files Browse the repository at this point in the history
decomp mapanim_staffeffect
  • Loading branch information
RevoSucks authored Mar 4, 2024
2 parents 8ac5cf4 + ba2a5bb commit 1dae4a3
Show file tree
Hide file tree
Showing 20 changed files with 1,373 additions and 3,150 deletions.
2,472 changes: 0 additions & 2,472 deletions asm/mapanim_807CDD0.s

This file was deleted.

10 changes: 5 additions & 5 deletions asm/mapanim_eventcall.s
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ sub_8080498: @ 0x08080498
mov r1, r9
movs r2, #0
movs r3, #0
bl sub_800159C
bl AddAttr2dBitMap
movs r0, #4
bl BG_EnableSyncByMask
movs r2, #4
Expand Down Expand Up @@ -401,7 +401,7 @@ sub_8080530: @ 0x08080530
adds r1, r4, #0
movs r2, #0
movs r3, #0
bl sub_800159C
bl AddAttr2dBitMap
movs r0, #4
bl BG_EnableSyncByMask
add sp, #4
Expand Down Expand Up @@ -1585,7 +1585,7 @@ _08080E3A:
str r0, [sp]
adds r0, r1, #0
adds r1, r6, #0
bl sub_800159C
bl AddAttr2dBitMap
movs r0, #4
bl BG_EnableSyncByMask
ldrh r0, [r5]
Expand Down Expand Up @@ -1782,7 +1782,7 @@ _08080FBE:
str r0, [sp]
adds r0, r1, #0
adds r1, r6, #0
bl sub_800159C
bl AddAttr2dBitMap
movs r0, #4
bl BG_EnableSyncByMask
ldrh r0, [r5]
Expand Down Expand Up @@ -1999,7 +1999,7 @@ _08081160:
str r0, [sp]
adds r0, r1, #0
adds r1, r6, #0
bl sub_800159C
bl AddAttr2dBitMap
movs r0, #4
bl BG_EnableSyncByMask
ldrh r0, [r5]
Expand Down
16 changes: 0 additions & 16 deletions data/const_data_205714.s
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
.section .rodata

.global gUnknown_08205824
gUnknown_08205824: @ 0x08205824
.incbin "baserom.gba", 0x205824, 0xF

.global gUnknown_08205833
gUnknown_08205833: @ 0x08205833
.incbin "baserom.gba", 0x205833, 0x13

.global gUnknown_08205846
gUnknown_08205846: @ 0x08205846
.incbin "baserom.gba", 0x205846, 0xF

.global gUnknown_08205855
gUnknown_08205855: @ 0x08205855
.incbin "baserom.gba", 0x205855, 0x2F

.global gUnknown_08205884
gUnknown_08205884: @ 0x08205884
.incbin "baserom.gba", 0x205884, 0x8
Expand Down
138 changes: 89 additions & 49 deletions data/data_9A31F8.s
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.section .data

.global gUnknown_089A52FC
gUnknown_089A52FC: @ 0x089A52FC
.global ProcScr_ManimShiftingSineWaveScanlineBuf
ProcScr_ManimShiftingSineWaveScanlineBuf: @ 0x089A52FC
@ PROC_CALL
.short 0x2, 0x0
.word sub_80825B0
Expand All @@ -21,8 +21,8 @@ SpriteAnim_ManimStatGain: @ 0x089A5314
gUnknown_089A5A6C: @ 0x089A5A6C
.incbin "baserom.gba", 0x9A5A6C, 0x78C

.global gUnknown_089A61F8
gUnknown_089A61F8: @ 0x089A61F8
.global ApConf_MapAnimTorchfx
ApConf_MapAnimTorchfx: @ 0x089A61F8
.incbin "baserom.gba", 0x9A61F8, 0x5C

.global ApConf_089A6254
Expand Down Expand Up @@ -225,84 +225,84 @@ Pal_089AFFB8: @ 0x089AFFB8
gUnknown_089AFFF8: @ 0x089AFFF8
.incbin "baserom.gba", 0x9AFFF8, 0x3DC

.global gUnknown_089B03D4
gUnknown_089B03D4: @ 0x089B03D4
.global Img_MapAnimTorchfx
Img_MapAnimTorchfx: @ 0x089B03D4
.incbin "baserom.gba", 0x9B03D4, 0x2B8

.global gUnknown_089B068C
gUnknown_089B068C: @ 0x089B068C
.global Pal_MapAnimTorchfx
Pal_MapAnimTorchfx: @ 0x089B068C
.incbin "baserom.gba", 0x9B068C, 0x20

.global Img_089B06AC
Img_089B06AC: @ 0x089B06AC
.global Img_MapAnimUnlockObjfx
Img_MapAnimUnlockObjfx: @ 0x089B06AC
.incbin "baserom.gba", 0x9B06AC, 0x54

.global Pal_089B0700
Pal_089B0700: @ 0x089B0700
.global Pal_MapAnimUnlockObjfx
Pal_MapAnimUnlockObjfx: @ 0x089B0700
.incbin "baserom.gba", 0x9B0700, 0x20

.global gUnknown_089B0720
gUnknown_089B0720: @ 0x089B0720
.global Img_MapAnimUnlockBgfx
Img_MapAnimUnlockBgfx: @ 0x089B0720
.incbin "baserom.gba", 0x9B0720, 0x100

.global gUnknown_089B0820
gUnknown_089B0820: @ 0x089B0820
.global Pal_MapAnimUnlockObjfx_Unk
Pal_MapAnimUnlockObjfx_Unk: @ 0x089B0820
.incbin "baserom.gba", 0x9B0820, 0x20

.global gUnknown_089B0840
gUnknown_089B0840: @ 0x089B0840
.global Tsa_MapAnimUnlockBgfx
Tsa_MapAnimUnlockBgfx: @ 0x089B0840
.incbin "baserom.gba", 0x9B0840, 0x24

.global gUnknown_089B0864
gUnknown_089B0864: @ 0x089B0864
.global Tsa_089B0864
Tsa_089B0864: @ 0x089B0864
.incbin "baserom.gba", 0x9B0864, 0x26C

.global gUnknown_089B0AD0
gUnknown_089B0AD0: @ 0x089B0AD0
.global Img_MapAnimRepairfx
Img_MapAnimRepairfx: @ 0x089B0AD0
.incbin "baserom.gba", 0x9B0AD0, 0xCD4

.global gUnknown_089B17A4
gUnknown_089B17A4: @ 0x089B17A4
.global Tsa_089B17A4
Tsa_089B17A4: @ 0x089B17A4
.incbin "baserom.gba", 0x9B17A4, 0x26C

.global gUnknown_089B1A10
gUnknown_089B1A10: @ 0x089B1A10
.global ApConf_MapAnimSleep
ApConf_MapAnimSleep: @ 0x089B1A10
.incbin "baserom.gba", 0x9B1A10, 0x400

.global gUnknown_089B1E10
gUnknown_089B1E10: @ 0x089B1E10
.global Img_MapAnimBerserkfx
Img_MapAnimBerserkfx: @ 0x089B1E10
.incbin "baserom.gba", 0x9B1E10, 0x2D8

.global gUnknown_089B20E8
gUnknown_089B20E8: @ 0x089B20E8
.global Pal_MapAnimBerserkfx
Pal_MapAnimBerserkfx: @ 0x089B20E8
.incbin "baserom.gba", 0x9B20E8, 0x20

.global gUnknown_089B2108
gUnknown_089B2108: @ 0x089B2108
.global ApConf_MapAnimBerserkfx
ApConf_MapAnimBerserkfx: @ 0x089B2108
.incbin "baserom.gba", 0x9B2108, 0xD0

.global gUnknown_089B21D8
gUnknown_089B21D8: @ 0x089B21D8
.global Img_ManimSilenceObjfx
Img_ManimSilenceObjfx: @ 0x089B21D8
.incbin "baserom.gba", 0x9B21D8, 0x440

.global gUnknown_089B2618
gUnknown_089B2618: @ 0x089B2618
.global Img_ManimSilenceBgfx
Img_ManimSilenceBgfx: @ 0x089B2618
.incbin "baserom.gba", 0x9B2618, 0x110

.global gUnknown_089B2728
gUnknown_089B2728: @ 0x089B2728
.global Pal_ManimSilencefx
Pal_ManimSilencefx: @ 0x089B2728
.incbin "baserom.gba", 0x9B2728, 0x20

.global gUnknown_089B2748
gUnknown_089B2748: @ 0x089B2748
.global ApConf_ManimSilencefx
ApConf_ManimSilencefx: @ 0x089B2748
.incbin "baserom.gba", 0x9B2748, 0x138

.global gUnknown_089B2880
gUnknown_089B2880: @ 0x089B2880
.global Img_ManimBarrierBgfx
Img_ManimBarrierBgfx: @ 0x089B2880
.incbin "baserom.gba", 0x9B2880, 0xBBC

.global gUnknown_089B343C
gUnknown_089B343C: @ 0x089B343C
.global Tsa_089B343C
Tsa_089B343C: @ 0x089B343C
.incbin "baserom.gba", 0x9B343C, 0x194

.global Img_NightMareMapAnimfx
Expand Down Expand Up @@ -445,13 +445,53 @@ Tsa_NightMareMapAnimfx32:
Tsa_NightMareMapAnimfx33:
.incbin "baserom.gba", 0x9B69BC, 0x9B6AA0 - 0x9B69BC

.global gUnknown_089B6AA0
gUnknown_089B6AA0: @ 0x089B6AA0
.global Img_MonsterStoneMapAnimfx
Img_MonsterStoneMapAnimfx: @ 0x089B6AA0
.incbin "baserom.gba", 0x9B6AA0, 0x934

.global gUnknown_089B73D4
gUnknown_089B73D4: @ 0x089B73D4
.incbin "baserom.gba", 0x9B73D4, 0x23C
.global Pal_MonsterStoneMapAnimfx
Pal_MonsterStoneMapAnimfx: @ 0x089B73D4
.incbin "baserom.gba", 0x9B73D4, 0x20

.global Tsa1_MonsterStoneMapAnimfx
Tsa1_MonsterStoneMapAnimfx:
.incbin "baserom.gba", 0x9B73F4, 0x9B7414 - 0x9B73F4

.global Tsa2_MonsterStoneMapAnimfx
Tsa2_MonsterStoneMapAnimfx:
.incbin "baserom.gba", 0x9B7414, 0x9B743C - 0x9B7414

.global Tsa3_MonsterStoneMapAnimfx
Tsa3_MonsterStoneMapAnimfx:
.incbin "baserom.gba", 0x9B743C, 0x9B7468 - 0x9B743C

.global Tsa4_MonsterStoneMapAnimfx
Tsa4_MonsterStoneMapAnimfx:
.incbin "baserom.gba", 0x9B7468, 0x9B749C - 0x9B7468

.global Tsa5_MonsterStoneMapAnimfx
Tsa5_MonsterStoneMapAnimfx:
.incbin "baserom.gba", 0x9B749C, 0x9B74D4 - 0x9B749C

.global Tsa6_MonsterStoneMapAnimfx
Tsa6_MonsterStoneMapAnimfx:
.incbin "baserom.gba", 0x9B74D4, 0x9B7514 - 0x9B74D4

.global Tsa7_MonsterStoneMapAnimfx
Tsa7_MonsterStoneMapAnimfx:
.incbin "baserom.gba", 0x9B7514, 0x9B7554 - 0x9B7514

.global Tsa8_MonsterStoneMapAnimfx
Tsa8_MonsterStoneMapAnimfx:
.incbin "baserom.gba", 0x9B7554, 0x9B759C - 0x9B7554

.global Tsa9_MonsterStoneMapAnimfx
Tsa9_MonsterStoneMapAnimfx:
.incbin "baserom.gba", 0x9B759C, 0x9B75D8 - 0x9B759C

.global Tsa10_MonsterStoneMapAnimfx
Tsa10_MonsterStoneMapAnimfx:
.incbin "baserom.gba", 0x9B75D8, 0x9B7610 - 0x9B75D8

.global Img_GorgonHatchCloud
Img_GorgonHatchCloud: @ 0x089B7610
Expand Down
86 changes: 43 additions & 43 deletions data/data_banim.s
Original file line number Diff line number Diff line change
Expand Up @@ -29298,8 +29298,8 @@ Img_0867A828: @ 0x0867A828
Img_0867AE48: @ 0x0867AE48
.incbin "baserom.gba", 0x67AE48, 0x75C @ 0x67B5A4 - 0x67AE48

.global gUnknown_0867B5A4
gUnknown_0867B5A4: @ 0x0867B5A4
.global Pal_MapAnimRestore
Pal_MapAnimRestore: @ 0x0867B5A4
.incbin "baserom.gba", 0x67B5A4, 0x20 @ 0x67B5C4 - 0x67B5A4

.global Tsa_0867B5C4
Expand Down Expand Up @@ -29357,47 +29357,47 @@ Tsa_0867C09C: @ 0x0867C09C
.global gUnknown_0867EE04
gUnknown_0867EE04: @ 0x0867EE04
@ Replacing .incbin "baserom.gba", 0x67EE04, 0xB0
.4byte gUnknown_0867B5A4 + 0xc3a
.4byte gUnknown_0867B5A4 + 0xc52
.4byte gUnknown_0867B5A4 + 0xc76
.4byte gUnknown_0867B5A4 + 0xcb2
.4byte gUnknown_0867B5A4 + 0xd06
.4byte gUnknown_0867B5A4 + 0xd72
.4byte gUnknown_0867B5A4 + 0xdf6
.4byte gUnknown_0867B5A4 + 0xe92
.4byte gUnknown_0867B5A4 + 0xf52
.4byte gUnknown_0867B5A4 + 0x1036
.4byte gUnknown_0867B5A4 + 0x113e
.4byte gUnknown_0867B5A4 + 0x126a
.4byte gUnknown_0867B5A4 + 0x13ba
.4byte gUnknown_0867B5A4 + 0x1522
.4byte gUnknown_0867B5A4 + 0x16a2
.4byte gUnknown_0867B5A4 + 0x1846
.4byte gUnknown_0867B5A4 + 0x1a02
.4byte gUnknown_0867B5A4 + 0x1bd6
.4byte gUnknown_0867B5A4 + 0x1db6
.4byte gUnknown_0867B5A4 + 0x1fa2
.4byte gUnknown_0867B5A4 + 0x218e
.4byte gUnknown_0867B5A4 + 0x236e
.4byte gUnknown_0867B5A4 + 0x2542
.4byte gUnknown_0867B5A4 + 0x270a
.4byte gUnknown_0867B5A4 + 0x28ae
.4byte gUnknown_0867B5A4 + 0x2a2e
.4byte gUnknown_0867B5A4 + 0x2b96
.4byte gUnknown_0867B5A4 + 0x2ce6
.4byte gUnknown_0867B5A4 + 0x2e12
.4byte gUnknown_0867B5A4 + 0x2f1a
.4byte gUnknown_0867B5A4 + 0x300a
.4byte gUnknown_0867B5A4 + 0x30e2
.4byte gUnknown_0867B5A4 + 0x31a2
.4byte gUnknown_0867B5A4 + 0x323e
.4byte gUnknown_0867B5A4 + 0x32ce
.4byte gUnknown_0867B5A4 + 0x3346
.4byte gUnknown_0867B5A4 + 0x33a6
.4byte gUnknown_0867B5A4 + 0x33ee
.4byte gUnknown_0867B5A4 + 0x342a
.4byte gUnknown_0867B5A4 + 0x345a
.4byte gUnknown_0867B5A4 + 0x347e
.4byte Pal_MapAnimRestore + 0xc3a
.4byte Pal_MapAnimRestore + 0xc52
.4byte Pal_MapAnimRestore + 0xc76
.4byte Pal_MapAnimRestore + 0xcb2
.4byte Pal_MapAnimRestore + 0xd06
.4byte Pal_MapAnimRestore + 0xd72
.4byte Pal_MapAnimRestore + 0xdf6
.4byte Pal_MapAnimRestore + 0xe92
.4byte Pal_MapAnimRestore + 0xf52
.4byte Pal_MapAnimRestore + 0x1036
.4byte Pal_MapAnimRestore + 0x113e
.4byte Pal_MapAnimRestore + 0x126a
.4byte Pal_MapAnimRestore + 0x13ba
.4byte Pal_MapAnimRestore + 0x1522
.4byte Pal_MapAnimRestore + 0x16a2
.4byte Pal_MapAnimRestore + 0x1846
.4byte Pal_MapAnimRestore + 0x1a02
.4byte Pal_MapAnimRestore + 0x1bd6
.4byte Pal_MapAnimRestore + 0x1db6
.4byte Pal_MapAnimRestore + 0x1fa2
.4byte Pal_MapAnimRestore + 0x218e
.4byte Pal_MapAnimRestore + 0x236e
.4byte Pal_MapAnimRestore + 0x2542
.4byte Pal_MapAnimRestore + 0x270a
.4byte Pal_MapAnimRestore + 0x28ae
.4byte Pal_MapAnimRestore + 0x2a2e
.4byte Pal_MapAnimRestore + 0x2b96
.4byte Pal_MapAnimRestore + 0x2ce6
.4byte Pal_MapAnimRestore + 0x2e12
.4byte Pal_MapAnimRestore + 0x2f1a
.4byte Pal_MapAnimRestore + 0x300a
.4byte Pal_MapAnimRestore + 0x30e2
.4byte Pal_MapAnimRestore + 0x31a2
.4byte Pal_MapAnimRestore + 0x323e
.4byte Pal_MapAnimRestore + 0x32ce
.4byte Pal_MapAnimRestore + 0x3346
.4byte Pal_MapAnimRestore + 0x33a6
.4byte Pal_MapAnimRestore + 0x33ee
.4byte Pal_MapAnimRestore + 0x342a
.4byte Pal_MapAnimRestore + 0x345a
.4byte Pal_MapAnimRestore + 0x347e
.4byte 0x7867ea3b
.4byte 0x84000013
.4byte 0x81000000
Expand Down
Loading

0 comments on commit 1dae4a3

Please sign in to comment.