mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Finish decompiling intro
This commit is contained in:
parent
34716558b1
commit
0a206ee52c
285
asm/intro.s
285
asm/intro.s
@ -1,285 +0,0 @@
|
|||||||
.include "asm/macros.inc"
|
|
||||||
.include "constants/constants.inc"
|
|
||||||
|
|
||||||
.syntax unified
|
|
||||||
|
|
||||||
thumb_func_start sub_816FEDC
|
|
||||||
sub_816FEDC: @ 816FEDC
|
|
||||||
push {r4-r6,lr}
|
|
||||||
sub sp, 0x4
|
|
||||||
adds r4, r0, 0
|
|
||||||
ldrh r0, [r4, 0x3C]
|
|
||||||
adds r0, 0x1
|
|
||||||
strh r0, [r4, 0x3C]
|
|
||||||
movs r1, 0x2E
|
|
||||||
ldrsh r0, [r4, r1]
|
|
||||||
cmp r0, 0
|
|
||||||
beq _0816FF48
|
|
||||||
ldr r2, =gSineTable
|
|
||||||
ldrh r1, [r4, 0x32]
|
|
||||||
lsls r0, r1, 24
|
|
||||||
lsrs r0, 23
|
|
||||||
adds r0, r2
|
|
||||||
ldrh r3, [r0]
|
|
||||||
adds r1, 0x40
|
|
||||||
lsls r1, 24
|
|
||||||
lsrs r1, 23
|
|
||||||
adds r1, r2
|
|
||||||
movs r2, 0
|
|
||||||
ldrsh r0, [r1, r2]
|
|
||||||
movs r1, 0x30
|
|
||||||
ldrsh r2, [r4, r1]
|
|
||||||
adds r1, r0, 0
|
|
||||||
muls r1, r2
|
|
||||||
adds r0, r1, 0
|
|
||||||
cmp r1, 0
|
|
||||||
bge _0816FF18
|
|
||||||
adds r0, 0xFF
|
|
||||||
_0816FF18:
|
|
||||||
lsls r0, 8
|
|
||||||
lsrs r6, r0, 16
|
|
||||||
lsls r0, r3, 16
|
|
||||||
asrs r3, r0, 16
|
|
||||||
negs r0, r3
|
|
||||||
muls r0, r2
|
|
||||||
cmp r0, 0
|
|
||||||
bge _0816FF2A
|
|
||||||
adds r0, 0xFF
|
|
||||||
_0816FF2A:
|
|
||||||
lsls r0, 8
|
|
||||||
lsrs r5, r0, 16
|
|
||||||
adds r0, r3, 0
|
|
||||||
muls r0, r2
|
|
||||||
cmp r0, 0
|
|
||||||
bge _0816FF38
|
|
||||||
adds r0, 0xFF
|
|
||||||
_0816FF38:
|
|
||||||
lsls r0, 8
|
|
||||||
lsrs r2, r0, 16
|
|
||||||
adds r1, r6, 0
|
|
||||||
adds r3, r5, 0
|
|
||||||
str r1, [sp]
|
|
||||||
movs r0, 0x1
|
|
||||||
bl SetOamMatrix
|
|
||||||
_0816FF48:
|
|
||||||
movs r2, 0x2E
|
|
||||||
ldrsh r0, [r4, r2]
|
|
||||||
cmp r0, 0x1
|
|
||||||
beq _0816FF9C
|
|
||||||
cmp r0, 0x1
|
|
||||||
ble _0816FF58
|
|
||||||
cmp r0, 0x2
|
|
||||||
beq _0816FFFE
|
|
||||||
_0816FF58:
|
|
||||||
ldrb r0, [r4, 0x1]
|
|
||||||
movs r1, 0x3
|
|
||||||
orrs r0, r1
|
|
||||||
strb r0, [r4, 0x1]
|
|
||||||
ldrb r1, [r4, 0x3]
|
|
||||||
movs r0, 0x3F
|
|
||||||
negs r0, r0
|
|
||||||
ands r0, r1
|
|
||||||
movs r1, 0x2
|
|
||||||
orrs r0, r1
|
|
||||||
strb r0, [r4, 0x3]
|
|
||||||
adds r0, r4, 0
|
|
||||||
movs r1, 0x1
|
|
||||||
movs r2, 0x3
|
|
||||||
movs r3, 0x3
|
|
||||||
bl CalcCenterToCornerVec
|
|
||||||
adds r2, r4, 0
|
|
||||||
adds r2, 0x3E
|
|
||||||
ldrb r1, [r2]
|
|
||||||
movs r0, 0x5
|
|
||||||
negs r0, r0
|
|
||||||
ands r0, r1
|
|
||||||
strb r0, [r2]
|
|
||||||
movs r1, 0
|
|
||||||
movs r0, 0x1
|
|
||||||
strh r0, [r4, 0x2E]
|
|
||||||
movs r0, 0x80
|
|
||||||
strh r0, [r4, 0x30]
|
|
||||||
strh r1, [r4, 0x32]
|
|
||||||
strh r1, [r4, 0x34]
|
|
||||||
b _08170038
|
|
||||||
.pool
|
|
||||||
_0816FF9C:
|
|
||||||
ldrh r0, [r4, 0x34]
|
|
||||||
lsls r0, 24
|
|
||||||
lsrs r0, 24
|
|
||||||
movs r1, 0x8C
|
|
||||||
bl Sin
|
|
||||||
negs r0, r0
|
|
||||||
strh r0, [r4, 0x24]
|
|
||||||
ldrh r0, [r4, 0x34]
|
|
||||||
lsls r0, 24
|
|
||||||
lsrs r0, 24
|
|
||||||
movs r1, 0x78
|
|
||||||
bl Sin
|
|
||||||
negs r0, r0
|
|
||||||
strh r0, [r4, 0x26]
|
|
||||||
ldrh r0, [r4, 0x30]
|
|
||||||
adds r0, 0x7
|
|
||||||
strh r0, [r4, 0x30]
|
|
||||||
ldrh r0, [r4, 0x34]
|
|
||||||
adds r0, 0x3
|
|
||||||
strh r0, [r4, 0x34]
|
|
||||||
movs r1, 0x20
|
|
||||||
ldrsh r0, [r4, r1]
|
|
||||||
movs r2, 0x24
|
|
||||||
ldrsh r1, [r4, r2]
|
|
||||||
adds r0, r1
|
|
||||||
movs r1, 0x10
|
|
||||||
negs r1, r1
|
|
||||||
cmp r0, r1
|
|
||||||
bgt _08170038
|
|
||||||
ldrb r0, [r4, 0x5]
|
|
||||||
movs r1, 0xC
|
|
||||||
orrs r0, r1
|
|
||||||
strb r0, [r4, 0x5]
|
|
||||||
ldrh r0, [r4, 0x2E]
|
|
||||||
adds r0, 0x1
|
|
||||||
strh r0, [r4, 0x2E]
|
|
||||||
movs r0, 0x14
|
|
||||||
strh r0, [r4, 0x20]
|
|
||||||
movs r0, 0x28
|
|
||||||
strh r0, [r4, 0x22]
|
|
||||||
movs r0, 0x80
|
|
||||||
lsls r0, 2
|
|
||||||
strh r0, [r4, 0x30]
|
|
||||||
movs r0, 0
|
|
||||||
strh r0, [r4, 0x32]
|
|
||||||
movs r0, 0x10
|
|
||||||
b _08170036
|
|
||||||
_0816FFFE:
|
|
||||||
ldrh r0, [r4, 0x34]
|
|
||||||
lsls r0, 24
|
|
||||||
lsrs r0, 24
|
|
||||||
movs r1, 0x22
|
|
||||||
bl Sin
|
|
||||||
strh r0, [r4, 0x24]
|
|
||||||
ldrh r0, [r4, 0x34]
|
|
||||||
lsls r0, 24
|
|
||||||
lsrs r0, 24
|
|
||||||
movs r1, 0x3C
|
|
||||||
bl Cos
|
|
||||||
negs r0, r0
|
|
||||||
strh r0, [r4, 0x26]
|
|
||||||
ldrh r0, [r4, 0x30]
|
|
||||||
adds r0, 0x2
|
|
||||||
strh r0, [r4, 0x30]
|
|
||||||
movs r1, 0x3C
|
|
||||||
ldrsh r0, [r4, r1]
|
|
||||||
movs r1, 0x5
|
|
||||||
bl __modsi3
|
|
||||||
lsls r0, 16
|
|
||||||
cmp r0, 0
|
|
||||||
bne _08170038
|
|
||||||
ldrh r0, [r4, 0x34]
|
|
||||||
adds r0, 0x1
|
|
||||||
_08170036:
|
|
||||||
strh r0, [r4, 0x34]
|
|
||||||
_08170038:
|
|
||||||
add sp, 0x4
|
|
||||||
pop {r4-r6}
|
|
||||||
pop {r0}
|
|
||||||
bx r0
|
|
||||||
thumb_func_end sub_816FEDC
|
|
||||||
|
|
||||||
thumb_func_start sub_8170040
|
|
||||||
sub_8170040: @ 8170040
|
|
||||||
push {r4,r5,lr}
|
|
||||||
sub sp, 0x4
|
|
||||||
adds r5, r0, 0
|
|
||||||
movs r1, 0x2E
|
|
||||||
ldrsh r0, [r5, r1]
|
|
||||||
cmp r0, 0
|
|
||||||
beq _08170056
|
|
||||||
adds r4, r5, 0
|
|
||||||
adds r4, 0x3E
|
|
||||||
cmp r0, 0x1
|
|
||||||
beq _0817008E
|
|
||||||
_08170056:
|
|
||||||
adds r4, r5, 0
|
|
||||||
adds r4, 0x3E
|
|
||||||
ldrb r1, [r4]
|
|
||||||
movs r0, 0x5
|
|
||||||
negs r0, r0
|
|
||||||
ands r0, r1
|
|
||||||
strb r0, [r4]
|
|
||||||
ldrb r0, [r5, 0x1]
|
|
||||||
movs r1, 0x3
|
|
||||||
orrs r0, r1
|
|
||||||
strb r0, [r5, 0x1]
|
|
||||||
ldrb r1, [r5, 0x3]
|
|
||||||
movs r0, 0x3F
|
|
||||||
negs r0, r0
|
|
||||||
ands r0, r1
|
|
||||||
movs r1, 0x24
|
|
||||||
orrs r0, r1
|
|
||||||
strb r0, [r5, 0x3]
|
|
||||||
adds r0, r5, 0
|
|
||||||
movs r1, 0
|
|
||||||
movs r2, 0x3
|
|
||||||
movs r3, 0x3
|
|
||||||
bl CalcCenterToCornerVec
|
|
||||||
movs r0, 0
|
|
||||||
strh r0, [r5, 0x30]
|
|
||||||
movs r0, 0x1
|
|
||||||
strh r0, [r5, 0x2E]
|
|
||||||
_0817008E:
|
|
||||||
ldrh r0, [r5, 0x3C]
|
|
||||||
adds r0, 0x1
|
|
||||||
strh r0, [r5, 0x3C]
|
|
||||||
movs r1, 0x1
|
|
||||||
ands r0, r1
|
|
||||||
cmp r0, 0
|
|
||||||
beq _081700A6
|
|
||||||
ldrb r0, [r4]
|
|
||||||
movs r1, 0x4
|
|
||||||
orrs r0, r1
|
|
||||||
strb r0, [r4]
|
|
||||||
b _081700BE
|
|
||||||
_081700A6:
|
|
||||||
ldrb r0, [r4]
|
|
||||||
movs r1, 0x5
|
|
||||||
negs r1, r1
|
|
||||||
ands r1, r0
|
|
||||||
strb r1, [r4]
|
|
||||||
ldrh r1, [r5, 0x30]
|
|
||||||
movs r2, 0x30
|
|
||||||
ldrsh r0, [r5, r2]
|
|
||||||
cmp r0, 0x3F
|
|
||||||
bgt _081700BE
|
|
||||||
adds r0, r1, 0x1
|
|
||||||
strh r0, [r5, 0x30]
|
|
||||||
_081700BE:
|
|
||||||
ldr r1, =gSineTable
|
|
||||||
ldrh r0, [r5, 0x30]
|
|
||||||
lsls r0, 24
|
|
||||||
lsrs r0, 23
|
|
||||||
adds r0, r1
|
|
||||||
movs r1, 0
|
|
||||||
ldrsh r0, [r0, r1]
|
|
||||||
lsrs r1, r0, 31
|
|
||||||
adds r0, r1
|
|
||||||
asrs r0, 1
|
|
||||||
movs r2, 0x80
|
|
||||||
lsls r2, 1
|
|
||||||
adds r1, r2, 0
|
|
||||||
subs r1, r0
|
|
||||||
lsls r1, 16
|
|
||||||
lsrs r1, 16
|
|
||||||
str r1, [sp]
|
|
||||||
movs r0, 0x12
|
|
||||||
movs r2, 0
|
|
||||||
movs r3, 0
|
|
||||||
bl SetOamMatrix
|
|
||||||
add sp, 0x4
|
|
||||||
pop {r4,r5}
|
|
||||||
pop {r0}
|
|
||||||
bx r0
|
|
||||||
.pool
|
|
||||||
thumb_func_end sub_8170040
|
|
||||||
|
|
||||||
.align 2, 0 @ Don't pad with nop.
|
|
2
common_syms/intro.txt
Normal file
2
common_syms/intro.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
gIntroFrameCounter
|
||||||
|
gMultibootProgramStruct
|
551
data/intro.s
551
data/intro.s
@ -1,551 +0,0 @@
|
|||||||
.include "asm/macros.inc"
|
|
||||||
.include "constants/constants.inc"
|
|
||||||
|
|
||||||
.section .rodata
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro1DropsPal:: @ 85DFF90
|
|
||||||
.incbin "graphics/intro/intro1_drops.gbapal"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro1GFLogoPal:: @ 85DFFB0
|
|
||||||
.incbin "graphics/intro/intro1_gflogo.gbapal"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntroTiles:: @ 85DFFD0
|
|
||||||
.incbin "graphics/intro/intro.4bpp.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro1BGPals:: @ 85E05C4
|
|
||||||
.incbin "graphics/intro/intro1_bgpal.gbapal"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro1BG0_Tilemap:: @ 85E07C4
|
|
||||||
.incbin "graphics/intro/intro1_bg0_map.bin.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro1BG1_Tilemap:: @ 85E0B78
|
|
||||||
.incbin "graphics/intro/intro1_bg1_map.bin.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro1BG2_Tilemap:: @ 85E0EAC
|
|
||||||
.incbin "graphics/intro/intro1_bg2_map.bin.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro1BG3_Tilemap:: @ 85E119C
|
|
||||||
.incbin "graphics/intro/intro1_bg3_map.bin.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro1BGLeavesGfx:: @ 85E13B4
|
|
||||||
.incbin "graphics/intro/introgfx.4bpp.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro3PokeballPal:: @ 85E3524
|
|
||||||
.incbin "graphics/intro/intro3_pokeball.gbapal"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro3Pokeball_Tilemap:: @ 85E3724
|
|
||||||
.incbin "graphics/intro/intro3_pokeball_map.bin.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro3Pokeball_Gfx:: @ 85E3854
|
|
||||||
.incbin "graphics/intro/intro3_pokeball.8bpp.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
.incbin "graphics/intro/intro3_streaks.gbapal"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
.incbin "graphics/intro/intro3_streaks.4bpp.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
.incbin "graphics/intro/intro3_streaks_map.bin.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro3Misc1Pal:: @ 85E4570
|
|
||||||
.incbin "graphics/intro/intro3_misc1.gbapal"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
.incbin "graphics/intro/intro3_misc2.gbapal"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro3MiscTiles:: @ 85E45B0
|
|
||||||
.incbin "graphics/intro/intro3_misc.4bpp.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gIntro1FlygonPal:: @ 85E492C
|
|
||||||
.incbin "graphics/intro/intro1_flygon.gbapal"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
.incbin "graphics/intro/intro1_eon.4bpp.lz"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
.byte 0x02, 0x03, 0x04, 0x05, 0x01, 0x01, 0x01, 0x06
|
|
||||||
.byte 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x02, 0x0d
|
|
||||||
.byte 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15
|
|
||||||
.byte 0x16, 0x17, 0x18, 0x19, 0x02, 0x0d, 0x0e, 0x0f
|
|
||||||
.byte 0x10, 0x11, 0x12, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e
|
|
||||||
.byte 0x1f, 0x20, 0x21, 0x02, 0x0d, 0x0e, 0x0f, 0x10
|
|
||||||
.byte 0x11, 0x12, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27
|
|
||||||
.byte 0x28, 0x29, 0x2a, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4A74:: @ 85E4A74
|
|
||||||
obj_tiles gIntro1SparkleGfx, 0x0400, 0x05e1
|
|
||||||
null_obj_tiles
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4A84:: @ 85E4A84
|
|
||||||
obj_pal gIntro3LightningPal, 0x05e1
|
|
||||||
null_obj_pal
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4A94:: @ 85E4A94
|
|
||||||
.byte 0xa0, 0x00, 0x00, 0x40, 0x00, 0x04, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4A9C:: @ 85E4A9C
|
|
||||||
.2byte 0x0000, 0x0002, 0x0004, 0x0002, 0x0008, 0x0002, 0x000c, 0x0002, 0x0010, 0x0002, 0xfffe, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4AB4:: @ 85E4AB4
|
|
||||||
.4byte gUnknown_085E4A9C
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4AB8:: @ 85E4AB8
|
|
||||||
spr_template 0x05e1, 0x05e1, gUnknown_085E4A94, gUnknown_085E4AB4, NULL, gDummySpriteAffineAnimTable, sub_816D338
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4AD0:: @ 85E4AD0
|
|
||||||
.byte 0x7c, 0x28, 0x66, 0x1e, 0x4d, 0x1e, 0x36, 0x0f
|
|
||||||
.byte 0x94, 0x09, 0x3f, 0x1c, 0x5d, 0x28, 0x94, 0x20
|
|
||||||
.byte 0xad, 0x29, 0x5e, 0x14, 0xd0, 0x26, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4AE8:: @ 85E4AE8
|
|
||||||
obj_tiles gIntro2VolbeatGfx, 0x0400, 0x05dc
|
|
||||||
obj_tiles gIntro2TorchicGfx, 0x0c00, 0x05dd
|
|
||||||
obj_tiles gIntro2ManectricGfx, 0x2000, 0x05de
|
|
||||||
null_obj_tiles
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4B08:: @ 85E4B08
|
|
||||||
obj_pal gIntro2VolbeatPal, 0x05dc
|
|
||||||
obj_pal gIntro2TorchicPal, 0x05dd
|
|
||||||
obj_pal gIntro2ManectricPal, 0x05de
|
|
||||||
null_obj_pal
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4B28:: @ 85E4B28
|
|
||||||
.byte 0xa0, 0x00, 0x00, 0x80, 0x00, 0x04, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4B30:: @ 85E4B30
|
|
||||||
.2byte 0x0000, 0x0002, 0x0010, 0x0002, 0xfffe, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4B3C:: @ 85E4B3C
|
|
||||||
.4byte gUnknown_085E4B30
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4B40:: @ 85E4B40
|
|
||||||
spr_template 0x05dc, 0x05dc, gUnknown_085E4B28, gUnknown_085E4B3C, NULL, gDummySpriteAffineAnimTable, sub_816D81C
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4B58:: @ 85E4B58
|
|
||||||
.byte 0xa0, 0x00, 0x00, 0x80, 0x00, 0x04, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4B60:: @ 85E4B60
|
|
||||||
.2byte 0x0000, 0x0005, 0x0010, 0x0005, 0x0020, 0x0005, 0x0010, 0x0005, 0xfffe, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4B74:: @ 85E4B74
|
|
||||||
.2byte 0x0000, 0x0003, 0x0010, 0x0003, 0x0020, 0x0003, 0x0010, 0x0003, 0xfffe, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4B88:: @ 85E4B88
|
|
||||||
.2byte 0x0030, 0x0004, 0x0040, 0x0006, 0x0050, 0x0000, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4B98:: @ 85E4B98
|
|
||||||
.4byte gUnknown_085E4B60
|
|
||||||
.4byte gUnknown_085E4B74
|
|
||||||
.4byte gUnknown_085E4B88
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4BA4:: @ 85E4BA4
|
|
||||||
spr_template 0x05dd, 0x05dd, gUnknown_085E4B58, gUnknown_085E4B98, NULL, gDummySpriteAffineAnimTable, sub_816D9C0
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4BBC:: @ 85E4BBC
|
|
||||||
.byte 0xa0, 0x00, 0x00, 0xc0, 0x00, 0x04, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4BC4:: @ 85E4BC4
|
|
||||||
.2byte 0x0000, 0x0004, 0x0040, 0x0004, 0x0080, 0x0004, 0x00c0, 0x0004, 0xfffe, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4BD8:: @ 85E4BD8
|
|
||||||
.4byte gUnknown_085E4BC4
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4BDC:: @ 85E4BDC
|
|
||||||
spr_template 0x05de, 0x05de, gUnknown_085E4BBC, gUnknown_085E4BD8, NULL, gDummySpriteAffineAnimTable, sub_816DAE8
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4BF4:: @ 85E4BF4
|
|
||||||
obj_tiles gIntro3LightningGfx, 0x0c00, 0x05df
|
|
||||||
null_obj_tiles
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4C04:: @ 85E4C04
|
|
||||||
obj_pal gIntro3LightningPal, 0x05df
|
|
||||||
null_obj_pal
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4C14:: @ 85E4C14
|
|
||||||
.byte 0xa0, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4C1C:: @ 85E4C1C
|
|
||||||
.2byte 0x0000, 0x0002, 0x0030, 0x0002, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4C28:: @ 85E4C28
|
|
||||||
.2byte 0x0010, 0x0002, 0x0040, 0x0002, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4C34:: @ 85E4C34
|
|
||||||
.2byte 0x0020, 0x0002, 0x0050, 0x0002, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4C40:: @ 85E4C40
|
|
||||||
.4byte gUnknown_085E4C1C
|
|
||||||
.4byte gUnknown_085E4C28
|
|
||||||
.4byte gUnknown_085E4C34
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4C4C:: @ 85E4C4C
|
|
||||||
spr_template 0x05df, 0x05df, gUnknown_085E4C14, gUnknown_085E4C40, NULL, gDummySpriteAffineAnimTable, sub_816EC6C
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4C64:: @ 85E4C64
|
|
||||||
.2byte 0x0068, 0x0000, 0x00c0
|
|
||||||
.2byte 0x008e, 0x0003, 0x0280
|
|
||||||
.2byte 0x0053, 0x0001, 0x0180
|
|
||||||
.2byte 0x009b, 0x0000, 0x0080
|
|
||||||
.2byte 0x0038, 0x0002, 0x0200
|
|
||||||
.2byte 0x00ae, 0x0001, 0x0100
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4C88:: @ 85E4C88
|
|
||||||
obj_tiles gIntro2BubblesGfx, 0x0600, 0x05e0
|
|
||||||
null_obj_tiles
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4C98:: @ 85E4C98
|
|
||||||
obj_pal gIntro2BubblesPal, 0x05e0
|
|
||||||
null_obj_pal
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4CA8:: @ 85E4CA8
|
|
||||||
.2byte 0x0042, 0x0040, 0x0001
|
|
||||||
.2byte 0x0060, 0x0060, 0x0008
|
|
||||||
.2byte 0x0080, 0x0040, 0x0001
|
|
||||||
.2byte 0x0090, 0x0030, 0x0008
|
|
||||||
.2byte 0x00a0, 0x0048, 0x0001
|
|
||||||
.2byte 0x00b0, 0x0060, 0x0008
|
|
||||||
.2byte 0x0060, 0x0060, 0x0004
|
|
||||||
.2byte 0x0070, 0x0068, 0x0008
|
|
||||||
.2byte 0x0080, 0x0060, 0x0004
|
|
||||||
.2byte 0x0058, 0x0020, 0x0004
|
|
||||||
.2byte 0x0068, 0x0018, 0x0008
|
|
||||||
.2byte 0x0078, 0x0020, 0x0004
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4CF0:: @ 85E4CF0
|
|
||||||
.byte 0xa0, 0x80, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4CF8:: @ 85E4CF8
|
|
||||||
.2byte 0x0000, 0x0004, 0x0008, 0x0004, 0x0010, 0x0004, 0x0018, 0x0004
|
|
||||||
.2byte 0x0020, 0x0004, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D10:: @ 85E4D10
|
|
||||||
.4byte gUnknown_085E4CF8
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D14:: @ 85E4D14
|
|
||||||
spr_template 0x05e0, 0x05e0, gUnknown_085E4CF0, gUnknown_085E4D10, NULL, gDummySpriteAffineAnimTable, sub_816E7B4
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D2C:: @ 85E4D2C
|
|
||||||
.byte 0xa0, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D34:: @ 85E4D34
|
|
||||||
.2byte 0x0010, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D3C:: @ 85E4D3C
|
|
||||||
.2byte 0x0018, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D44:: @ 85E4D44
|
|
||||||
.2byte 0x0000, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D4C:: @ 85E4D4C
|
|
||||||
.2byte 0x0030, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D54:: @ 85E4D54
|
|
||||||
.4byte gUnknown_085E4D34
|
|
||||||
.4byte gUnknown_085E4D3C
|
|
||||||
.4byte gUnknown_085E4D44
|
|
||||||
.4byte gUnknown_085E4D4C
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D64:: @ 85E4D64
|
|
||||||
spr_template 0x07d0, 0x07d0, gUnknown_085E4D2C, gUnknown_085E4D54, NULL, gDummySpriteAffineAnimTable, sub_816F454
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D7C:: @ 85E4D7C
|
|
||||||
.byte 0x00, 0x00, 0x04, 0x00, 0x40, 0x00, 0x04, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D84:: @ 85E4D84
|
|
||||||
.2byte 0x0080, 0x0004, 0x00c0, 0x0004, 0xfffe, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4D90:: @ 85E4D90
|
|
||||||
.2byte 0x0000, 0x0008, 0x0040, 0x0008, 0x0080, 0x0008, 0x00c0, 0x0008, 0xfffe, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4DA4:: @ 85E4DA4
|
|
||||||
.2byte 0x0100, 0x0004, 0x0140, 0x0004, 0x0180, 0x0004, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4DB4:: @ 85E4DB4
|
|
||||||
.2byte 0x0180, 0x0010, 0x0140, 0x0010, 0x0100, 0x0010, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4DC4:: @ 85E4DC4
|
|
||||||
.4byte gUnknown_085E4D7C
|
|
||||||
.4byte gUnknown_085E4D90
|
|
||||||
.4byte gUnknown_085E4DA4
|
|
||||||
.4byte gUnknown_085E4DB4
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4DD4:: @ 85E4DD4
|
|
||||||
.2byte 0x03a0, 0x4000, 0x0000, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4DDC:: @ 85E4DDC
|
|
||||||
.2byte 0x00a0, 0x0000, 0x0000, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4DE4:: @ 85E4DE4
|
|
||||||
.2byte 0x87a0, 0xc000, 0x0000, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4DEC:: @ 85E4DEC
|
|
||||||
.2byte 0x0050, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4DF4:: @ 85E4DF4
|
|
||||||
.2byte 0x0054, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4DFC:: @ 85E4DFC
|
|
||||||
.2byte 0x0058, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E04:: @ 85E4E04
|
|
||||||
.2byte 0x005c, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E0C:: @ 85E4E0C
|
|
||||||
.2byte 0x0060, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E14:: @ 85E4E14
|
|
||||||
.2byte 0x0064, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E1C:: @ 85E4E1C
|
|
||||||
.2byte 0x0068, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E24:: @ 85E4E24
|
|
||||||
.2byte 0x0070, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E2C:: @ 85E4E2C
|
|
||||||
.2byte 0x0071, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E34:: @ 85E4E34
|
|
||||||
.2byte 0x0072, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E3C:: @ 85E4E3C
|
|
||||||
.2byte 0x0073, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E44:: @ 85E4E44
|
|
||||||
.2byte 0x0074, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E4C:: @ 85E4E4C
|
|
||||||
.2byte 0x0075, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E54:: @ 85E4E54
|
|
||||||
.2byte 0x0080, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E5C:: @ 85E4E5C
|
|
||||||
.4byte gUnknown_085E4DEC
|
|
||||||
.4byte gUnknown_085E4DF4
|
|
||||||
.4byte gUnknown_085E4DFC
|
|
||||||
.4byte gUnknown_085E4E04
|
|
||||||
.4byte gUnknown_085E4E0C
|
|
||||||
.4byte gUnknown_085E4E14
|
|
||||||
.4byte gUnknown_085E4E1C
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E78:: @ 85E4E78
|
|
||||||
.4byte gUnknown_085E4E24
|
|
||||||
.4byte gUnknown_085E4E2C
|
|
||||||
.4byte gUnknown_085E4E34
|
|
||||||
.4byte gUnknown_085E4E3C
|
|
||||||
.4byte gUnknown_085E4E44
|
|
||||||
.4byte gUnknown_085E4E4C
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E90:: @ 85E4E90
|
|
||||||
.4byte gUnknown_085E4E54
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4E94:: @ 85E4E94
|
|
||||||
.2byte 0x0000, 0xffb8
|
|
||||||
.2byte 0x0001, 0xffc8
|
|
||||||
.2byte 0x0002, 0xffd8
|
|
||||||
.2byte 0x0003, 0xffe8
|
|
||||||
.2byte 0x0004, 0x0008
|
|
||||||
.2byte 0x0005, 0x0018
|
|
||||||
.2byte 0x0003, 0x0028
|
|
||||||
.2byte 0x0001, 0x0038
|
|
||||||
.2byte 0x0006, 0x0048
|
|
||||||
.2byte 0x0000, 0xffe4
|
|
||||||
.2byte 0x0001, 0xffec
|
|
||||||
.2byte 0x0002, 0xfff4
|
|
||||||
.2byte 0x0003, 0xfffc
|
|
||||||
.2byte 0x0002, 0x0004
|
|
||||||
.2byte 0x0004, 0x000c
|
|
||||||
.2byte 0x0005, 0x0014
|
|
||||||
.2byte 0x0003, 0x001c
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4ED8:: @ 85E4ED8
|
|
||||||
.2byte 0x0080, 0x0080, 0x0000, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4EE8:: @ 85E4EE8
|
|
||||||
.2byte 0x0080, 0x0080, 0x0000, 0x0000, 0x0010, 0x0010, 0x1000, 0x0000
|
|
||||||
.2byte 0xfff0, 0xfff0, 0x0800, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4F08:: @ 85E4F08
|
|
||||||
.2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x0008, 0x0008, 0x3000, 0x0000
|
|
||||||
.2byte 0x7fff, 0x0000, 0x0000, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4F20:: @ 85E4F20
|
|
||||||
.2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x0002, 0x0002, 0x3000, 0x0000
|
|
||||||
.2byte 0x7fff, 0x0000, 0x0000, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4F38:: @ 85E4F38
|
|
||||||
.4byte gUnknown_085E4ED8
|
|
||||||
.4byte gUnknown_085E4EE8
|
|
||||||
.4byte gUnknown_085E4F08
|
|
||||||
.4byte gUnknown_085E4F20
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4F48:: @ 85E4F48
|
|
||||||
.2byte 0x0100, 0x00c0, 0x0080, 0x0040, 0x0000, 0x0040, 0x0080, 0x00c0
|
|
||||||
.2byte 0x0100, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4F5C:: @ 85E4F5C
|
|
||||||
spr_template 0x07d0, 0x07d1, gUnknown_085E4DD4, gUnknown_085E4E5C, NULL, gUnknown_085E4F38, sub_816FB38
|
|
||||||
spr_template 0x07d0, 0x07d1, gUnknown_085E4DDC, gUnknown_085E4E78, NULL, gDummySpriteAffineAnimTable, sub_816FB38
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4F8C:: @ 85E4F8C
|
|
||||||
spr_template 0x07d0, 0x07d1, gUnknown_085E4DE4, gUnknown_085E4E90, NULL, gUnknown_085E4F38, sub_816FD44
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4FA4:: @ 85E4FA4
|
|
||||||
.byte 0x00, 0x17, 0x17, 0x31, 0x3e, 0x24, 0x24, 0x0a, 0x0a, 0x00, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4FB0:: @ 85E4FB0
|
|
||||||
.byte 0xa0, 0x40, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4FB8:: @ 85E4FB8
|
|
||||||
.2byte 0x0000, 0x000a, 0xfffe, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4FC0:: @ 85E4FC0
|
|
||||||
.4byte gUnknown_085E4FB8
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4FC4:: @ 85E4FC4
|
|
||||||
spr_template 0x07d2, 0x07d2, gUnknown_085E4FB0, gUnknown_085E4FC0, NULL, gDummySpriteAffineAnimTable, sub_816FEDC
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4FDC:: @ 85E4FDC
|
|
||||||
obj_tiles gIntroTiles, 0x1400, 0x07d0
|
|
||||||
null_obj_tiles
|
|
||||||
|
|
||||||
gUnknown_085E4FEC:: @ 85E4FEC
|
|
||||||
obj_tiles gIntro1FlygonGfx, 0x0400, 0x07d2
|
|
||||||
null_obj_tiles
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E4FFC:: @ 85E4FFC
|
|
||||||
obj_pal gIntro1DropsPal, 0x07d0
|
|
||||||
obj_pal gIntro1GFLogoPal, 0x07d1
|
|
||||||
obj_pal gIntro1FlygonPal, 0x07d2
|
|
||||||
null_obj_pal
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E501C:: @ 85E501C
|
|
||||||
.byte 0xa0, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E5024:: @ 85E5024
|
|
||||||
.2byte 0x0010, 0x0008, 0xffff, 0x0000
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E502C:: @ 85E502C
|
|
||||||
.4byte gUnknown_085E5024
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E5030:: @ 85E5030
|
|
||||||
spr_template 0x07d3, 0x07d3, gUnknown_085E501C, gUnknown_085E502C, NULL, gDummySpriteAffineAnimTable, sub_8170040
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gUnknown_085E5048:: @ 85E5048
|
|
||||||
obj_tiles gIntro3MiscTiles, 0x0a00, 0x07d3
|
|
||||||
null_obj_tiles
|
|
||||||
|
|
||||||
gUnknown_085E5058:: @ 85E5058
|
|
||||||
obj_pal gIntro3Misc1Pal, 0x07d3
|
|
||||||
null_obj_pal
|
|
||||||
|
|
@ -12,5 +12,6 @@
|
|||||||
#define RGB_YELLOW RGB(31, 31, 0)
|
#define RGB_YELLOW RGB(31, 31, 0)
|
||||||
#define RGB_MAGENTA RGB(31, 0, 31)
|
#define RGB_MAGENTA RGB(31, 0, 31)
|
||||||
#define RGB_CYAN RGB(0, 31, 31)
|
#define RGB_CYAN RGB(0, 31, 31)
|
||||||
|
#define RGB_WHITEALPHA RGB_WHITE | 0x8000
|
||||||
|
|
||||||
#endif // GUARD_RGB_H
|
#endif // GUARD_RGB_H
|
||||||
|
@ -35,6 +35,12 @@
|
|||||||
// Converts a number to Q4.12 fixed-point format
|
// Converts a number to Q4.12 fixed-point format
|
||||||
#define Q_4_12(n) ((s16)((n) * 4096))
|
#define Q_4_12(n) ((s16)((n) * 4096))
|
||||||
|
|
||||||
|
// Converts a Q8.8 fixed-point format number to a regular integer
|
||||||
|
#define Q_8_8_TO_INT(n) ((int)((n) / 256))
|
||||||
|
|
||||||
|
// Converts a Q4.12 fixed-point format number to a regular integer
|
||||||
|
#define Q_4_12_TO_INT(n) ((int)((n) / 4096))
|
||||||
|
|
||||||
#define PARTY_SIZE 6
|
#define PARTY_SIZE 6
|
||||||
|
|
||||||
#define POKEMON_NAME_LENGTH 10
|
#define POKEMON_NAME_LENGTH 10
|
||||||
|
@ -2726,6 +2726,21 @@ extern const u16 gBagScreenMale_Pal[];
|
|||||||
extern const u8 gBagMenuHMIcon_Gfx[];
|
extern const u8 gBagMenuHMIcon_Gfx[];
|
||||||
|
|
||||||
//intro graphics
|
//intro graphics
|
||||||
|
extern const u8 gIntro1SparkleGfx[];
|
||||||
|
extern const u8 gIntro1FlygonGfx[];
|
||||||
|
extern const u16 gIntro3LightningPal[];
|
||||||
|
extern const u8 gIntroCopyright_Gfx[];
|
||||||
|
extern const u8 gIntroCopyright_Tilemap[];
|
||||||
|
extern const u16 gIntroCopyright_Pal[];
|
||||||
|
extern const u8 gIntro2VolbeatGfx[];
|
||||||
|
extern const u8 gIntro2TorchicGfx[];
|
||||||
|
extern const u8 gIntro2ManectricGfx[];
|
||||||
|
extern const u16 gIntro2VolbeatPal[];
|
||||||
|
extern const u16 gIntro2TorchicPal[];
|
||||||
|
extern const u16 gIntro2ManectricPal[];
|
||||||
|
extern const u8 gIntro2BubblesGfx[];
|
||||||
|
extern const u16 gIntro2BubblesPal[];
|
||||||
|
extern const u8 gIntro3LightningGfx[];
|
||||||
extern const u8 gIntro3GroudonGfx[];
|
extern const u8 gIntro3GroudonGfx[];
|
||||||
extern const u8 gIntro3GroudonTilemap[];
|
extern const u8 gIntro3GroudonTilemap[];
|
||||||
extern const u8 gIntro3LegendBgGfx[];
|
extern const u8 gIntro3LegendBgGfx[];
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
#ifndef GUARD_INTRO_CREDITS_GRAPHICS_H
|
#ifndef GUARD_INTRO_CREDITS_GRAPHICS_H
|
||||||
#define GUARD_INTRO_CREDITS_GRAPHICS_H
|
#define GUARD_INTRO_CREDITS_GRAPHICS_H
|
||||||
|
|
||||||
|
extern u16 gUnknown_0203BD24;
|
||||||
|
extern u16 gUnknown_0203BD26;
|
||||||
|
extern u16 gUnknown_0203BD28;
|
||||||
|
|
||||||
extern const struct CompressedSpriteSheet gIntro2BrendanSpriteSheet[];
|
extern const struct CompressedSpriteSheet gIntro2BrendanSpriteSheet[];
|
||||||
extern const struct CompressedSpriteSheet gIntro2MaySpriteSheet[];
|
extern const struct CompressedSpriteSheet gIntro2MaySpriteSheet[];
|
||||||
extern const struct CompressedSpriteSheet gIntro2BicycleSpriteSheet[];
|
extern const struct CompressedSpriteSheet gIntro2BicycleSpriteSheet[];
|
||||||
|
@ -219,7 +219,6 @@ SECTIONS {
|
|||||||
src/battle_controller_wally.o(.text);
|
src/battle_controller_wally.o(.text);
|
||||||
asm/player_pc.o(.text);
|
asm/player_pc.o(.text);
|
||||||
src/intro.o(.text);
|
src/intro.o(.text);
|
||||||
asm/intro.o(.text);
|
|
||||||
src/reset_save_heap.o(.text);
|
src/reset_save_heap.o(.text);
|
||||||
src/field_region_map.o(.text);
|
src/field_region_map.o(.text);
|
||||||
asm/battle_anim_8170478.o(.text);
|
asm/battle_anim_8170478.o(.text);
|
||||||
@ -495,7 +494,7 @@ SECTIONS {
|
|||||||
data/use_pokeblock.o(.rodata);
|
data/use_pokeblock.o(.rodata);
|
||||||
src/battle_controller_wally.o(.rodata);
|
src/battle_controller_wally.o(.rodata);
|
||||||
data/player_pc.o(.rodata);
|
data/player_pc.o(.rodata);
|
||||||
data/intro.o(.rodata);
|
src/intro.o(.rodata);
|
||||||
src/field_region_map.o(.rodata);
|
src/field_region_map.o(.rodata);
|
||||||
data/battle_anim_8170478.o(.rodata);
|
data/battle_anim_8170478.o(.rodata);
|
||||||
src/hall_of_fame.o(.rodata);
|
src/hall_of_fame.o(.rodata);
|
||||||
|
1225
src/intro.c
1225
src/intro.c
File diff suppressed because it is too large
Load Diff
5
src/intro_credits_graphics.c
Normal file
5
src/intro_credits_graphics.c
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include "global.h"
|
||||||
|
|
||||||
|
EWRAM_DATA u16 gUnknown_0203BD24 = 0;
|
||||||
|
EWRAM_DATA u16 gUnknown_0203BD26 = 0;
|
||||||
|
EWRAM_DATA u16 gUnknown_0203BD28 = 0;
|
@ -142,7 +142,7 @@ gCB2_AfterEvolution: @ 30061E8
|
|||||||
gUnknown_030061EC: @ 30061EC
|
gUnknown_030061EC: @ 30061EC
|
||||||
.space 0x4
|
.space 0x4
|
||||||
|
|
||||||
.include"save.o"
|
.include "save.o"
|
||||||
|
|
||||||
.space 0x8
|
.space 0x8
|
||||||
|
|
||||||
@ -155,11 +155,7 @@ gUnknown_03006294: @ 3006294
|
|||||||
gUnknown_03006298: @ 3006298
|
gUnknown_03006298: @ 3006298
|
||||||
.space 0x8
|
.space 0x8
|
||||||
|
|
||||||
gIntroFrameCounter: @ 30062A0
|
.include "intro.o"
|
||||||
.space 0x10
|
|
||||||
|
|
||||||
gMultibootProgramStruct: @ 30062B0
|
|
||||||
.space 0x2C
|
|
||||||
|
|
||||||
gUnknown_030062DC: @ 30062DC
|
gUnknown_030062DC: @ 30062DC
|
||||||
.space 0x4
|
.space 0x4
|
||||||
|
@ -855,12 +855,7 @@ gUnknown_0203BCBC: @ 203BCBC
|
|||||||
gUnknown_0203BCC4: @ 203BCC4
|
gUnknown_0203BCC4: @ 203BCC4
|
||||||
.space 0x4
|
.space 0x4
|
||||||
|
|
||||||
gUnknown_0203BCC8: @ 203BCC8
|
.include "src/intro.o"
|
||||||
.space 0x4
|
|
||||||
|
|
||||||
gUnknown_0203BCCC: @ 203BCCC
|
|
||||||
.space 0x4
|
|
||||||
|
|
||||||
.include "src/field_region_map.o"
|
.include "src/field_region_map.o"
|
||||||
|
|
||||||
gUnknown_0203BCD4: @ 203BCD4
|
gUnknown_0203BCD4: @ 203BCD4
|
||||||
@ -893,16 +888,7 @@ gBraillePuzzleCallbackFlag: @ 203BD14
|
|||||||
.space 0x4
|
.space 0x4
|
||||||
|
|
||||||
.include "src/pokeblock_feed.o"
|
.include "src/pokeblock_feed.o"
|
||||||
|
.include "src/intro_credits_graphics.o"
|
||||||
gUnknown_0203BD24: @ 203BD24
|
|
||||||
.space 0x2
|
|
||||||
|
|
||||||
gUnknown_0203BD26: @ 203BD26
|
|
||||||
.space 0x2
|
|
||||||
|
|
||||||
gUnknown_0203BD28: @ 203BD28
|
|
||||||
.space 0x4
|
|
||||||
|
|
||||||
.include "src/recorded_battle.o"
|
.include "src/recorded_battle.o"
|
||||||
.include "src/battle_dome_cards.o"
|
.include "src/battle_dome_cards.o"
|
||||||
.include "src/lilycove_lady.o"
|
.include "src/lilycove_lady.o"
|
||||||
|
Loading…
Reference in New Issue
Block a user