mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-25 11:14:15 +01:00
Split out the remaining wireless-related files
This commit is contained in:
parent
d3ff307f9f
commit
456cc3a6f0
7233
asm/berry_crush.s
Executable file
7233
asm/berry_crush.s
Executable file
File diff suppressed because it is too large
Load Diff
374
asm/berry_powder_vendor.s
Executable file
374
asm/berry_powder_vendor.s
Executable file
@ -0,0 +1,374 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.syntax unified
|
||||||
|
|
||||||
|
.text
|
||||||
|
|
||||||
|
thumb_func_start sub_8024668
|
||||||
|
sub_8024668: @ 8024668
|
||||||
|
ldr r1, =gSaveBlock2Ptr
|
||||||
|
ldr r1, [r1]
|
||||||
|
adds r1, 0xAC
|
||||||
|
ldr r0, [r0]
|
||||||
|
ldr r1, [r1]
|
||||||
|
eors r0, r1
|
||||||
|
bx lr
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_8024668
|
||||||
|
|
||||||
|
thumb_func_start SetBerryPowder
|
||||||
|
SetBerryPowder: @ 802467C
|
||||||
|
ldr r2, =gSaveBlock2Ptr
|
||||||
|
ldr r2, [r2]
|
||||||
|
adds r2, 0xAC
|
||||||
|
ldr r2, [r2]
|
||||||
|
eors r2, r1
|
||||||
|
str r2, [r0]
|
||||||
|
bx lr
|
||||||
|
.pool
|
||||||
|
thumb_func_end SetBerryPowder
|
||||||
|
|
||||||
|
thumb_func_start ApplyNewEncryptionKeyToBerryPowder
|
||||||
|
ApplyNewEncryptionKeyToBerryPowder: @ 8024690
|
||||||
|
push {lr}
|
||||||
|
adds r1, r0, 0
|
||||||
|
ldr r0, =gSaveBlock2Ptr
|
||||||
|
ldr r0, [r0]
|
||||||
|
movs r2, 0xFA
|
||||||
|
lsls r2, 1
|
||||||
|
adds r0, r2
|
||||||
|
bl ApplyNewEncryptionKeyToWord
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end ApplyNewEncryptionKeyToBerryPowder
|
||||||
|
|
||||||
|
thumb_func_start sub_80246AC
|
||||||
|
sub_80246AC: @ 80246AC
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
ldr r0, =gSaveBlock2Ptr
|
||||||
|
ldr r0, [r0]
|
||||||
|
movs r1, 0xFA
|
||||||
|
lsls r1, 1
|
||||||
|
adds r0, r1
|
||||||
|
bl sub_8024668
|
||||||
|
cmp r0, r4
|
||||||
|
bcc _080246CC
|
||||||
|
movs r0, 0x1
|
||||||
|
b _080246CE
|
||||||
|
.pool
|
||||||
|
_080246CC:
|
||||||
|
movs r0, 0
|
||||||
|
_080246CE:
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_80246AC
|
||||||
|
|
||||||
|
thumb_func_start sub_80246D4
|
||||||
|
sub_80246D4: @ 80246D4
|
||||||
|
push {lr}
|
||||||
|
ldr r0, =gSaveBlock2Ptr
|
||||||
|
ldr r0, [r0]
|
||||||
|
movs r1, 0xFA
|
||||||
|
lsls r1, 1
|
||||||
|
adds r0, r1
|
||||||
|
bl sub_8024668
|
||||||
|
ldr r1, =gSpecialVar_0x8004
|
||||||
|
ldrh r1, [r1]
|
||||||
|
cmp r0, r1
|
||||||
|
bcc _080246F8
|
||||||
|
movs r0, 0x1
|
||||||
|
b _080246FA
|
||||||
|
.pool
|
||||||
|
_080246F8:
|
||||||
|
movs r0, 0
|
||||||
|
_080246FA:
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_80246D4
|
||||||
|
|
||||||
|
thumb_func_start sub_8024700
|
||||||
|
sub_8024700: @ 8024700
|
||||||
|
push {r4,r5,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
ldr r0, =gSaveBlock2Ptr
|
||||||
|
ldr r0, [r0]
|
||||||
|
movs r1, 0xFA
|
||||||
|
lsls r1, 1
|
||||||
|
adds r5, r0, r1
|
||||||
|
adds r0, r5, 0
|
||||||
|
bl sub_8024668
|
||||||
|
adds r1, r0, r4
|
||||||
|
ldr r2, =0x0001869f @ Note to decompiler: See UNKNOWN_OFFSET
|
||||||
|
cmp r1, r2
|
||||||
|
bhi _08024730
|
||||||
|
adds r0, r5, 0
|
||||||
|
bl SetBerryPowder
|
||||||
|
movs r0, 0x1
|
||||||
|
b _0802473A
|
||||||
|
.pool
|
||||||
|
_08024730:
|
||||||
|
adds r0, r5, 0
|
||||||
|
adds r1, r2, 0
|
||||||
|
bl SetBerryPowder
|
||||||
|
movs r0, 0
|
||||||
|
_0802473A:
|
||||||
|
pop {r4,r5}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_8024700
|
||||||
|
|
||||||
|
thumb_func_start sub_8024740
|
||||||
|
sub_8024740: @ 8024740
|
||||||
|
push {r4,r5,lr}
|
||||||
|
adds r5, r0, 0
|
||||||
|
ldr r0, =gSaveBlock2Ptr
|
||||||
|
ldr r0, [r0]
|
||||||
|
movs r1, 0xFA
|
||||||
|
lsls r1, 1
|
||||||
|
adds r4, r0, r1
|
||||||
|
adds r0, r5, 0
|
||||||
|
bl sub_80246AC
|
||||||
|
lsls r0, 24
|
||||||
|
cmp r0, 0
|
||||||
|
beq _08024774
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl sub_8024668
|
||||||
|
adds r1, r0, 0
|
||||||
|
subs r1, r5
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl SetBerryPowder
|
||||||
|
movs r0, 0x1
|
||||||
|
b _08024776
|
||||||
|
.pool
|
||||||
|
_08024774:
|
||||||
|
movs r0, 0
|
||||||
|
_08024776:
|
||||||
|
pop {r4,r5}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_8024740
|
||||||
|
|
||||||
|
thumb_func_start sub_802477C
|
||||||
|
sub_802477C: @ 802477C
|
||||||
|
push {r4,r5,lr}
|
||||||
|
ldr r0, =gSaveBlock2Ptr
|
||||||
|
ldr r0, [r0]
|
||||||
|
movs r1, 0xFA
|
||||||
|
lsls r1, 1
|
||||||
|
adds r4, r0, r1
|
||||||
|
ldr r5, =gSpecialVar_0x8004
|
||||||
|
ldrh r0, [r5]
|
||||||
|
bl sub_80246AC
|
||||||
|
lsls r0, 24
|
||||||
|
cmp r0, 0
|
||||||
|
beq _080247B4
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl sub_8024668
|
||||||
|
adds r1, r0, 0
|
||||||
|
ldrh r0, [r5]
|
||||||
|
subs r1, r0
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl SetBerryPowder
|
||||||
|
movs r0, 0x1
|
||||||
|
b _080247B6
|
||||||
|
.pool
|
||||||
|
_080247B4:
|
||||||
|
movs r0, 0
|
||||||
|
_080247B6:
|
||||||
|
pop {r4,r5}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_802477C
|
||||||
|
|
||||||
|
thumb_func_start sub_80247BC
|
||||||
|
sub_80247BC: @ 80247BC
|
||||||
|
push {lr}
|
||||||
|
ldr r0, =gSaveBlock2Ptr
|
||||||
|
ldr r0, [r0]
|
||||||
|
movs r1, 0xFA
|
||||||
|
lsls r1, 1
|
||||||
|
adds r0, r1
|
||||||
|
bl sub_8024668
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_80247BC
|
||||||
|
|
||||||
|
thumb_func_start sub_80247D4
|
||||||
|
sub_80247D4: @ 80247D4
|
||||||
|
push {r4-r6,lr}
|
||||||
|
mov r6, r9
|
||||||
|
mov r5, r8
|
||||||
|
push {r5,r6}
|
||||||
|
sub sp, 0xC
|
||||||
|
adds r6, r0, 0
|
||||||
|
mov r8, r2
|
||||||
|
adds r4, r3, 0
|
||||||
|
ldr r5, [sp, 0x24]
|
||||||
|
lsls r6, 24
|
||||||
|
lsrs r6, 24
|
||||||
|
mov r0, r8
|
||||||
|
lsls r0, 24
|
||||||
|
lsrs r0, 24
|
||||||
|
mov r8, r0
|
||||||
|
lsls r4, 24
|
||||||
|
lsrs r4, 24
|
||||||
|
lsls r5, 24
|
||||||
|
lsrs r5, 24
|
||||||
|
ldr r0, =gStringVar1
|
||||||
|
mov r9, r0
|
||||||
|
movs r2, 0x1
|
||||||
|
movs r3, 0x5
|
||||||
|
bl ConvertIntToDecimalStringN
|
||||||
|
str r4, [sp]
|
||||||
|
str r5, [sp, 0x4]
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [sp, 0x8]
|
||||||
|
adds r0, r6, 0
|
||||||
|
movs r1, 0x1
|
||||||
|
mov r2, r9
|
||||||
|
mov r3, r8
|
||||||
|
bl AddTextPrinterParameterized
|
||||||
|
add sp, 0xC
|
||||||
|
pop {r3,r4}
|
||||||
|
mov r8, r3
|
||||||
|
mov r9, r4
|
||||||
|
pop {r4-r6}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_80247D4
|
||||||
|
|
||||||
|
thumb_func_start sub_802482C
|
||||||
|
sub_802482C: @ 802482C
|
||||||
|
push {r4-r6,lr}
|
||||||
|
mov r6, r8
|
||||||
|
push {r6}
|
||||||
|
sub sp, 0xC
|
||||||
|
adds r6, r0, 0
|
||||||
|
adds r4, r1, 0
|
||||||
|
adds r5, r2, 0
|
||||||
|
mov r8, r3
|
||||||
|
lsls r6, 24
|
||||||
|
lsrs r6, 24
|
||||||
|
lsls r4, 16
|
||||||
|
lsrs r4, 16
|
||||||
|
lsls r5, 24
|
||||||
|
lsrs r5, 24
|
||||||
|
adds r0, r6, 0
|
||||||
|
movs r1, 0
|
||||||
|
adds r2, r4, 0
|
||||||
|
adds r3, r5, 0
|
||||||
|
bl DrawStdFrameWithCustomTileAndPalette
|
||||||
|
ldr r2, =gText_Powder
|
||||||
|
movs r0, 0x1
|
||||||
|
str r0, [sp]
|
||||||
|
movs r0, 0xFF
|
||||||
|
str r0, [sp, 0x4]
|
||||||
|
movs r4, 0
|
||||||
|
str r4, [sp, 0x8]
|
||||||
|
adds r0, r6, 0
|
||||||
|
movs r1, 0x1
|
||||||
|
movs r3, 0
|
||||||
|
bl AddTextPrinterParameterized
|
||||||
|
str r4, [sp]
|
||||||
|
adds r0, r6, 0
|
||||||
|
mov r1, r8
|
||||||
|
movs r2, 0x1A
|
||||||
|
movs r3, 0x11
|
||||||
|
bl sub_80247D4
|
||||||
|
add sp, 0xC
|
||||||
|
pop {r3}
|
||||||
|
mov r8, r3
|
||||||
|
pop {r4-r6}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_802482C
|
||||||
|
|
||||||
|
thumb_func_start sub_802488C
|
||||||
|
sub_802488C: @ 802488C
|
||||||
|
push {lr}
|
||||||
|
sub sp, 0x4
|
||||||
|
bl sub_80247BC
|
||||||
|
adds r1, r0, 0
|
||||||
|
ldr r0, =gUnknown_02022C94
|
||||||
|
ldrb r0, [r0]
|
||||||
|
movs r2, 0
|
||||||
|
str r2, [sp]
|
||||||
|
movs r2, 0x1A
|
||||||
|
movs r3, 0x11
|
||||||
|
bl sub_80247D4
|
||||||
|
add sp, 0x4
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_802488C
|
||||||
|
|
||||||
|
thumb_func_start sub_80248B0
|
||||||
|
sub_80248B0: @ 80248B0
|
||||||
|
push {r4,r5,lr}
|
||||||
|
sub sp, 0x18
|
||||||
|
movs r0, 0x7
|
||||||
|
str r0, [sp]
|
||||||
|
movs r0, 0x4
|
||||||
|
str r0, [sp, 0x4]
|
||||||
|
movs r0, 0xF
|
||||||
|
str r0, [sp, 0x8]
|
||||||
|
movs r0, 0x1C
|
||||||
|
str r0, [sp, 0xC]
|
||||||
|
add r0, sp, 0x10
|
||||||
|
movs r1, 0
|
||||||
|
movs r2, 0x1
|
||||||
|
movs r3, 0x1
|
||||||
|
bl SetWindowTemplateFields
|
||||||
|
ldr r4, =gUnknown_02022C94
|
||||||
|
add r0, sp, 0x10
|
||||||
|
bl AddWindow
|
||||||
|
strb r0, [r4]
|
||||||
|
ldrb r0, [r4]
|
||||||
|
movs r1, 0
|
||||||
|
bl FillWindowPixelBuffer
|
||||||
|
ldrb r0, [r4]
|
||||||
|
bl PutWindowTilemap
|
||||||
|
ldrb r0, [r4]
|
||||||
|
ldr r5, =0x0000021d
|
||||||
|
adds r1, r5, 0
|
||||||
|
movs r2, 0xD0
|
||||||
|
bl LoadUserWindowBorderGfx_
|
||||||
|
ldrb r4, [r4]
|
||||||
|
bl sub_80247BC
|
||||||
|
adds r3, r0, 0
|
||||||
|
adds r0, r4, 0
|
||||||
|
adds r1, r5, 0
|
||||||
|
movs r2, 0xD
|
||||||
|
bl sub_802482C
|
||||||
|
add sp, 0x18
|
||||||
|
pop {r4,r5}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_80248B0
|
||||||
|
|
||||||
|
thumb_func_start sub_8024918
|
||||||
|
sub_8024918: @ 8024918
|
||||||
|
push {r4,lr}
|
||||||
|
ldr r4, =gUnknown_02022C94
|
||||||
|
ldrb r0, [r4]
|
||||||
|
bl ClearWindowTilemap
|
||||||
|
ldrb r0, [r4]
|
||||||
|
movs r1, 0x1
|
||||||
|
bl ClearStdWindowAndFrameToTransparent
|
||||||
|
ldrb r0, [r4]
|
||||||
|
bl RemoveWindow
|
||||||
|
pop {r4}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_8024918
|
||||||
|
|
||||||
|
.align 2, 0 @ don't pad with nop
|
11806
asm/dodrio_berry_picking.s
Executable file
11806
asm/dodrio_berry_picking.s
Executable file
File diff suppressed because it is too large
Load Diff
1425
asm/mevent2.s
Executable file
1425
asm/mevent2.s
Executable file
File diff suppressed because it is too large
Load Diff
2622
asm/mevent_801BAAC.s
Executable file
2622
asm/mevent_801BAAC.s
Executable file
File diff suppressed because it is too large
Load Diff
312
asm/mevent_news.s
Normal file
312
asm/mevent_news.s
Normal file
@ -0,0 +1,312 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.syntax unified
|
||||||
|
|
||||||
|
.text
|
||||||
|
|
||||||
|
thumb_func_start sub_801DB68
|
||||||
|
sub_801DB68: @ 801DB68
|
||||||
|
push {r4,r5,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
bl GetSaveBlock1Field356C
|
||||||
|
adds r5, r0, 0
|
||||||
|
movs r0, 0x3
|
||||||
|
adds r1, r4, 0
|
||||||
|
ands r1, r0
|
||||||
|
ldrb r2, [r5]
|
||||||
|
movs r0, 0x4
|
||||||
|
negs r0, r0
|
||||||
|
ands r0, r2
|
||||||
|
orrs r0, r1
|
||||||
|
strb r0, [r5]
|
||||||
|
cmp r4, 0x2
|
||||||
|
bhi _0801DB8E
|
||||||
|
cmp r4, 0x1
|
||||||
|
bcs _0801DB94
|
||||||
|
b _0801DBB8
|
||||||
|
_0801DB8E:
|
||||||
|
cmp r4, 0x3
|
||||||
|
beq _0801DBA6
|
||||||
|
b _0801DBB8
|
||||||
|
_0801DB94:
|
||||||
|
bl Random
|
||||||
|
lsls r0, 16
|
||||||
|
lsrs r0, 16
|
||||||
|
movs r1, 0xF
|
||||||
|
bl __umodsi3
|
||||||
|
adds r0, 0x10
|
||||||
|
b _0801DBB6
|
||||||
|
_0801DBA6:
|
||||||
|
bl Random
|
||||||
|
lsls r0, 16
|
||||||
|
lsrs r0, 16
|
||||||
|
movs r1, 0xF
|
||||||
|
bl __umodsi3
|
||||||
|
adds r0, 0x1
|
||||||
|
_0801DBB6:
|
||||||
|
strb r0, [r5, 0x1]
|
||||||
|
_0801DBB8:
|
||||||
|
pop {r4,r5}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end sub_801DB68
|
||||||
|
|
||||||
|
thumb_func_start sub_801DBC0
|
||||||
|
sub_801DBC0: @ 801DBC0
|
||||||
|
push {lr}
|
||||||
|
bl GetSaveBlock1Field356C
|
||||||
|
movs r1, 0
|
||||||
|
strb r1, [r0]
|
||||||
|
strb r1, [r0, 0x1]
|
||||||
|
ldr r0, =0x0000402e
|
||||||
|
bl VarSet
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801DBC0
|
||||||
|
|
||||||
|
thumb_func_start sub_801DBDC
|
||||||
|
sub_801DBDC: @ 801DBDC
|
||||||
|
push {r4,lr}
|
||||||
|
ldr r0, =0x0000402e
|
||||||
|
bl GetVarPointer
|
||||||
|
adds r4, r0, 0
|
||||||
|
bl GetSaveBlock1Field356C
|
||||||
|
adds r2, r0, 0
|
||||||
|
ldr r0, [r2]
|
||||||
|
lsls r0, 24
|
||||||
|
lsrs r0, 29
|
||||||
|
cmp r0, 0x4
|
||||||
|
bls _0801DC10
|
||||||
|
ldrh r0, [r4]
|
||||||
|
adds r0, 0x1
|
||||||
|
strh r0, [r4]
|
||||||
|
lsls r0, 16
|
||||||
|
ldr r1, =0x01f30000
|
||||||
|
cmp r0, r1
|
||||||
|
bls _0801DC10
|
||||||
|
ldrb r0, [r2]
|
||||||
|
movs r1, 0x1F
|
||||||
|
ands r1, r0
|
||||||
|
strb r1, [r2]
|
||||||
|
movs r0, 0
|
||||||
|
strh r0, [r4]
|
||||||
|
_0801DC10:
|
||||||
|
pop {r4}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801DBDC
|
||||||
|
|
||||||
|
thumb_func_start sub_801DC20
|
||||||
|
sub_801DC20: @ 801DC20
|
||||||
|
push {r4-r6,lr}
|
||||||
|
ldr r6, =gSpecialVar_Result
|
||||||
|
bl GetSaveBlock1Field356C
|
||||||
|
adds r4, r0, 0
|
||||||
|
bl IsMysteryEventEnabled
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801DC3A
|
||||||
|
bl sub_801B0CC
|
||||||
|
cmp r0, 0
|
||||||
|
bne _0801DC44
|
||||||
|
_0801DC3A:
|
||||||
|
movs r0, 0
|
||||||
|
b _0801DCA6
|
||||||
|
.pool
|
||||||
|
_0801DC44:
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl sub_801DD44
|
||||||
|
lsls r0, 16
|
||||||
|
lsrs r5, r0, 16
|
||||||
|
cmp r5, 0x6
|
||||||
|
bhi _0801DCA4
|
||||||
|
lsls r0, r5, 2
|
||||||
|
ldr r1, =_0801DC60
|
||||||
|
adds r0, r1
|
||||||
|
ldr r0, [r0]
|
||||||
|
mov pc, r0
|
||||||
|
.pool
|
||||||
|
.align 2, 0
|
||||||
|
_0801DC60:
|
||||||
|
.4byte _0801DCA4
|
||||||
|
.4byte _0801DC7C
|
||||||
|
.4byte _0801DC7C
|
||||||
|
.4byte _0801DCA4
|
||||||
|
.4byte _0801DC86
|
||||||
|
.4byte _0801DC96
|
||||||
|
.4byte _0801DCA4
|
||||||
|
_0801DC7C:
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl sub_801DCAC
|
||||||
|
strh r0, [r6]
|
||||||
|
b _0801DCA4
|
||||||
|
_0801DC86:
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl sub_801DCAC
|
||||||
|
strh r0, [r6]
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl sub_801DCD8
|
||||||
|
b _0801DCA4
|
||||||
|
_0801DC96:
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl sub_801DCAC
|
||||||
|
strh r0, [r6]
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl sub_801DCCC
|
||||||
|
_0801DCA4:
|
||||||
|
adds r0, r5, 0
|
||||||
|
_0801DCA6:
|
||||||
|
pop {r4-r6}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801DC20
|
||||||
|
|
||||||
|
thumb_func_start sub_801DCAC
|
||||||
|
sub_801DCAC: @ 801DCAC
|
||||||
|
push {r4,lr}
|
||||||
|
ldrb r2, [r0]
|
||||||
|
movs r1, 0x4
|
||||||
|
negs r1, r1
|
||||||
|
ands r1, r2
|
||||||
|
strb r1, [r0]
|
||||||
|
ldrb r4, [r0, 0x1]
|
||||||
|
adds r4, 0x84
|
||||||
|
movs r1, 0
|
||||||
|
strb r1, [r0, 0x1]
|
||||||
|
bl sub_801DD10
|
||||||
|
adds r0, r4, 0
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801DCAC
|
||||||
|
|
||||||
|
thumb_func_start sub_801DCCC
|
||||||
|
sub_801DCCC: @ 801DCCC
|
||||||
|
ldrb r2, [r0]
|
||||||
|
movs r1, 0x1D
|
||||||
|
negs r1, r1
|
||||||
|
ands r1, r2
|
||||||
|
strb r1, [r0]
|
||||||
|
bx lr
|
||||||
|
thumb_func_end sub_801DCCC
|
||||||
|
|
||||||
|
thumb_func_start sub_801DCD8
|
||||||
|
sub_801DCD8: @ 801DCD8
|
||||||
|
push {r4,lr}
|
||||||
|
adds r3, r0, 0
|
||||||
|
ldr r0, [r3]
|
||||||
|
lsls r0, 27
|
||||||
|
lsrs r0, 29
|
||||||
|
adds r0, 0x1
|
||||||
|
movs r1, 0x7
|
||||||
|
ands r0, r1
|
||||||
|
lsls r0, 2
|
||||||
|
ldrb r1, [r3]
|
||||||
|
movs r4, 0x1D
|
||||||
|
negs r4, r4
|
||||||
|
adds r2, r4, 0
|
||||||
|
ands r2, r1
|
||||||
|
orrs r2, r0
|
||||||
|
strb r2, [r3]
|
||||||
|
ldr r0, [r3]
|
||||||
|
lsls r0, 27
|
||||||
|
lsrs r0, 29
|
||||||
|
cmp r0, 0x4
|
||||||
|
bls _0801DD0A
|
||||||
|
ands r2, r4
|
||||||
|
movs r0, 0x10
|
||||||
|
orrs r2, r0
|
||||||
|
strb r2, [r3]
|
||||||
|
_0801DD0A:
|
||||||
|
pop {r4}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end sub_801DCD8
|
||||||
|
|
||||||
|
thumb_func_start sub_801DD10
|
||||||
|
sub_801DD10: @ 801DD10
|
||||||
|
push {r4,lr}
|
||||||
|
adds r3, r0, 0
|
||||||
|
ldr r0, [r3]
|
||||||
|
lsls r0, 24
|
||||||
|
lsrs r0, 29
|
||||||
|
adds r0, 0x1
|
||||||
|
lsls r0, 5
|
||||||
|
ldrb r1, [r3]
|
||||||
|
movs r4, 0x1F
|
||||||
|
adds r2, r4, 0
|
||||||
|
ands r2, r1
|
||||||
|
orrs r2, r0
|
||||||
|
strb r2, [r3]
|
||||||
|
ldr r0, [r3]
|
||||||
|
lsls r0, 24
|
||||||
|
lsrs r0, 29
|
||||||
|
cmp r0, 0x5
|
||||||
|
bls _0801DD3C
|
||||||
|
ands r2, r4
|
||||||
|
movs r0, 0xA0
|
||||||
|
orrs r2, r0
|
||||||
|
strb r2, [r3]
|
||||||
|
_0801DD3C:
|
||||||
|
pop {r4}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end sub_801DD10
|
||||||
|
|
||||||
|
thumb_func_start sub_801DD44
|
||||||
|
sub_801DD44: @ 801DD44
|
||||||
|
push {lr}
|
||||||
|
adds r2, r0, 0
|
||||||
|
ldrb r1, [r2]
|
||||||
|
movs r0, 0xE0
|
||||||
|
ands r0, r1
|
||||||
|
cmp r0, 0xA0
|
||||||
|
bne _0801DD56
|
||||||
|
movs r0, 0x6
|
||||||
|
b _0801DD92
|
||||||
|
_0801DD56:
|
||||||
|
ldr r1, [r2]
|
||||||
|
lsls r0, r1, 30
|
||||||
|
lsrs r0, 30
|
||||||
|
cmp r0, 0x1
|
||||||
|
beq _0801DD78
|
||||||
|
cmp r0, 0x1
|
||||||
|
bgt _0801DD6A
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801DD74
|
||||||
|
b _0801DD90
|
||||||
|
_0801DD6A:
|
||||||
|
cmp r0, 0x2
|
||||||
|
beq _0801DD7C
|
||||||
|
cmp r0, 0x3
|
||||||
|
beq _0801DD80
|
||||||
|
b _0801DD90
|
||||||
|
_0801DD74:
|
||||||
|
movs r0, 0x3
|
||||||
|
b _0801DD92
|
||||||
|
_0801DD78:
|
||||||
|
movs r0, 0x1
|
||||||
|
b _0801DD92
|
||||||
|
_0801DD7C:
|
||||||
|
movs r0, 0x2
|
||||||
|
b _0801DD92
|
||||||
|
_0801DD80:
|
||||||
|
lsls r0, r1, 27
|
||||||
|
lsrs r0, 29
|
||||||
|
cmp r0, 0x2
|
||||||
|
bhi _0801DD8C
|
||||||
|
movs r0, 0x4
|
||||||
|
b _0801DD92
|
||||||
|
_0801DD8C:
|
||||||
|
movs r0, 0x5
|
||||||
|
b _0801DD92
|
||||||
|
_0801DD90:
|
||||||
|
movs r0, 0
|
||||||
|
_0801DD92:
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801DD44
|
||||||
|
|
||||||
|
.align 2, 0 @ don't pad with nop
|
534
asm/mevent_server.s
Executable file
534
asm/mevent_server.s
Executable file
@ -0,0 +1,534 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.syntax unified
|
||||||
|
|
||||||
|
.text
|
||||||
|
|
||||||
|
thumb_func_start mevent_srv_init_wnews
|
||||||
|
mevent_srv_init_wnews: @ 801D07C
|
||||||
|
push {r4,lr}
|
||||||
|
ldr r4, =gUnknown_02022C7C
|
||||||
|
movs r0, 0x60
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4]
|
||||||
|
ldr r1, =gUnknown_082F298C
|
||||||
|
movs r2, 0
|
||||||
|
movs r3, 0x1
|
||||||
|
bl mevent_srv_init_common
|
||||||
|
pop {r4}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end mevent_srv_init_wnews
|
||||||
|
|
||||||
|
thumb_func_start mevent_srv_new_wcard
|
||||||
|
mevent_srv_new_wcard: @ 801D0A0
|
||||||
|
push {r4,lr}
|
||||||
|
ldr r4, =gUnknown_02022C7C
|
||||||
|
movs r0, 0x60
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4]
|
||||||
|
ldr r1, =gUnknown_082F29EC
|
||||||
|
movs r2, 0
|
||||||
|
movs r3, 0x1
|
||||||
|
bl mevent_srv_init_common
|
||||||
|
pop {r4}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end mevent_srv_new_wcard
|
||||||
|
|
||||||
|
thumb_func_start sub_801D0C4
|
||||||
|
sub_801D0C4: @ 801D0C4
|
||||||
|
push {r4-r6,lr}
|
||||||
|
adds r6, r0, 0
|
||||||
|
ldr r4, =gUnknown_02022C7C
|
||||||
|
ldr r0, [r4]
|
||||||
|
cmp r0, 0
|
||||||
|
bne _0801D0D8
|
||||||
|
movs r0, 0x3
|
||||||
|
b _0801D0F8
|
||||||
|
.pool
|
||||||
|
_0801D0D8:
|
||||||
|
bl mevent_dispatch_08145600
|
||||||
|
adds r5, r0, 0
|
||||||
|
cmp r5, 0x3
|
||||||
|
bne _0801D0F6
|
||||||
|
ldr r0, [r4]
|
||||||
|
ldr r1, [r0, 0x4]
|
||||||
|
strh r1, [r6]
|
||||||
|
bl mevent_srv_free_resources
|
||||||
|
ldr r0, [r4]
|
||||||
|
bl Free
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4]
|
||||||
|
_0801D0F6:
|
||||||
|
adds r0, r5, 0
|
||||||
|
_0801D0F8:
|
||||||
|
pop {r4-r6}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D0C4
|
||||||
|
|
||||||
|
thumb_func_start mevent_srv_init_common
|
||||||
|
mevent_srv_init_common: @ 801D100
|
||||||
|
push {r4-r6,lr}
|
||||||
|
mov r6, r9
|
||||||
|
mov r5, r8
|
||||||
|
push {r5,r6}
|
||||||
|
adds r4, r0, 0
|
||||||
|
adds r6, r1, 0
|
||||||
|
mov r8, r2
|
||||||
|
mov r9, r3
|
||||||
|
movs r5, 0
|
||||||
|
str r5, [r4]
|
||||||
|
str r5, [r4, 0x8]
|
||||||
|
movs r0, 0xA6
|
||||||
|
lsls r0, 1
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4, 0x18]
|
||||||
|
movs r0, 0xDE
|
||||||
|
lsls r0, 1
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4, 0x1C]
|
||||||
|
movs r0, 0x80
|
||||||
|
lsls r0, 3
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4, 0x14]
|
||||||
|
movs r0, 0x64
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4, 0x20]
|
||||||
|
str r6, [r4, 0x10]
|
||||||
|
str r5, [r4, 0xC]
|
||||||
|
adds r4, 0x38
|
||||||
|
adds r0, r4, 0
|
||||||
|
mov r1, r8
|
||||||
|
mov r2, r9
|
||||||
|
bl sub_801D8D8
|
||||||
|
pop {r3,r4}
|
||||||
|
mov r8, r3
|
||||||
|
mov r9, r4
|
||||||
|
pop {r4-r6}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end mevent_srv_init_common
|
||||||
|
|
||||||
|
thumb_func_start mevent_srv_free_resources
|
||||||
|
mevent_srv_free_resources: @ 801D158
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
ldr r0, [r4, 0x18]
|
||||||
|
bl Free
|
||||||
|
ldr r0, [r4, 0x1C]
|
||||||
|
bl Free
|
||||||
|
ldr r0, [r4, 0x14]
|
||||||
|
bl Free
|
||||||
|
ldr r0, [r4, 0x20]
|
||||||
|
bl Free
|
||||||
|
pop {r4}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end mevent_srv_free_resources
|
||||||
|
|
||||||
|
thumb_func_start mevent_srv_814501C
|
||||||
|
mevent_srv_814501C: @ 801D17C
|
||||||
|
push {lr}
|
||||||
|
adds r0, 0x38
|
||||||
|
bl sub_801D904
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end mevent_srv_814501C
|
||||||
|
|
||||||
|
thumb_func_start sub_801D188
|
||||||
|
sub_801D188: @ 801D188
|
||||||
|
push {lr}
|
||||||
|
cmp r0, 0
|
||||||
|
bne _0801D190
|
||||||
|
adds r0, r1, 0
|
||||||
|
_0801D190:
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D188
|
||||||
|
|
||||||
|
thumb_func_start sub_801D194
|
||||||
|
sub_801D194: @ 801D194
|
||||||
|
push {lr}
|
||||||
|
cmp r1, r0
|
||||||
|
bcs _0801D19E
|
||||||
|
movs r0, 0
|
||||||
|
b _0801D1A8
|
||||||
|
_0801D19E:
|
||||||
|
cmp r1, r0
|
||||||
|
beq _0801D1A6
|
||||||
|
movs r0, 0x2
|
||||||
|
b _0801D1A8
|
||||||
|
_0801D1A6:
|
||||||
|
movs r0, 0x1
|
||||||
|
_0801D1A8:
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D194
|
||||||
|
|
||||||
|
thumb_func_start sub_801D1AC
|
||||||
|
sub_801D1AC: @ 801D1AC
|
||||||
|
movs r1, 0x4
|
||||||
|
str r1, [r0, 0x8]
|
||||||
|
movs r0, 0
|
||||||
|
bx lr
|
||||||
|
thumb_func_end sub_801D1AC
|
||||||
|
|
||||||
|
thumb_func_start sub_801D1B4
|
||||||
|
sub_801D1B4: @ 801D1B4
|
||||||
|
movs r0, 0x3
|
||||||
|
bx lr
|
||||||
|
thumb_func_end sub_801D1B4
|
||||||
|
|
||||||
|
thumb_func_start sub_801D1B8
|
||||||
|
sub_801D1B8: @ 801D1B8
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
adds r0, 0x38
|
||||||
|
bl sub_801D8C0
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801D1CA
|
||||||
|
movs r0, 0x4
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
_0801D1CA:
|
||||||
|
movs r0, 0x1
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D1B8
|
||||||
|
|
||||||
|
thumb_func_start sub_801D1D4
|
||||||
|
sub_801D1D4: @ 801D1D4
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
adds r0, 0x38
|
||||||
|
bl sub_801D8CC
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801D1E6
|
||||||
|
movs r0, 0x4
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
_0801D1E6:
|
||||||
|
movs r0, 0x1
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D1D4
|
||||||
|
|
||||||
|
thumb_func_start sub_801D1F0
|
||||||
|
sub_801D1F0: @ 801D1F0
|
||||||
|
push {r4,r5,lr}
|
||||||
|
adds r5, r0, 0
|
||||||
|
ldr r0, [r5, 0xC]
|
||||||
|
lsls r1, r0, 1
|
||||||
|
adds r1, r0
|
||||||
|
lsls r1, 2
|
||||||
|
ldr r2, [r5, 0x10]
|
||||||
|
adds r3, r2, r1
|
||||||
|
adds r0, 0x1
|
||||||
|
str r0, [r5, 0xC]
|
||||||
|
ldr r0, [r3]
|
||||||
|
cmp r0, 0x1E
|
||||||
|
bls _0801D20C
|
||||||
|
b _0801D464
|
||||||
|
_0801D20C:
|
||||||
|
lsls r0, 2
|
||||||
|
ldr r1, =_0801D21C
|
||||||
|
adds r0, r1
|
||||||
|
ldr r0, [r0]
|
||||||
|
mov pc, r0
|
||||||
|
.pool
|
||||||
|
.align 2, 0
|
||||||
|
_0801D21C:
|
||||||
|
.4byte _0801D298
|
||||||
|
.4byte _0801D2A2
|
||||||
|
.4byte _0801D2A8
|
||||||
|
.4byte _0801D2E2
|
||||||
|
.4byte _0801D2D8
|
||||||
|
.4byte _0801D2BA
|
||||||
|
.4byte _0801D2C6
|
||||||
|
.4byte _0801D2EC
|
||||||
|
.4byte _0801D300
|
||||||
|
.4byte _0801D308
|
||||||
|
.4byte _0801D31E
|
||||||
|
.4byte _0801D32E
|
||||||
|
.4byte _0801D33A
|
||||||
|
.4byte _0801D360
|
||||||
|
.4byte _0801D348
|
||||||
|
.4byte _0801D390
|
||||||
|
.4byte _0801D378
|
||||||
|
.4byte _0801D3DC
|
||||||
|
.4byte _0801D3A8
|
||||||
|
.4byte _0801D3C0
|
||||||
|
.4byte _0801D3CE
|
||||||
|
.4byte _0801D406
|
||||||
|
.4byte _0801D3EA
|
||||||
|
.4byte _0801D3F8
|
||||||
|
.4byte _0801D40E
|
||||||
|
.4byte _0801D418
|
||||||
|
.4byte _0801D422
|
||||||
|
.4byte _0801D43C
|
||||||
|
.4byte _0801D450
|
||||||
|
.4byte _0801D458
|
||||||
|
.4byte _0801D2CC
|
||||||
|
_0801D298:
|
||||||
|
movs r0, 0x1
|
||||||
|
str r0, [r5, 0x8]
|
||||||
|
ldr r0, [r3, 0x4]
|
||||||
|
str r0, [r5, 0x4]
|
||||||
|
b _0801D464
|
||||||
|
_0801D2A2:
|
||||||
|
movs r0, 0x3
|
||||||
|
str r0, [r5, 0x8]
|
||||||
|
b _0801D464
|
||||||
|
_0801D2A8:
|
||||||
|
adds r0, r5, 0
|
||||||
|
adds r0, 0x38
|
||||||
|
ldr r1, [r3, 0x4]
|
||||||
|
ldr r2, [r5, 0x14]
|
||||||
|
bl sub_801D928
|
||||||
|
movs r0, 0x2
|
||||||
|
str r0, [r5, 0x8]
|
||||||
|
b _0801D464
|
||||||
|
_0801D2BA:
|
||||||
|
ldr r0, [r5, 0x20]
|
||||||
|
ldr r1, [r5, 0x14]
|
||||||
|
movs r2, 0x64
|
||||||
|
bl memcpy
|
||||||
|
b _0801D464
|
||||||
|
_0801D2C6:
|
||||||
|
ldr r0, [r5, 0x20]
|
||||||
|
movs r1, 0
|
||||||
|
b _0801D2D0
|
||||||
|
_0801D2CC:
|
||||||
|
ldr r0, [r5, 0x20]
|
||||||
|
movs r1, 0x1
|
||||||
|
_0801D2D0:
|
||||||
|
bl sub_801B6A0
|
||||||
|
str r0, [r5, 0x4]
|
||||||
|
b _0801D464
|
||||||
|
_0801D2D8:
|
||||||
|
ldr r1, [r5, 0x4]
|
||||||
|
ldr r0, [r3, 0x4]
|
||||||
|
cmp r1, r0
|
||||||
|
beq _0801D2E2
|
||||||
|
b _0801D464
|
||||||
|
_0801D2E2:
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r5, 0xC]
|
||||||
|
ldr r0, [r3, 0x8]
|
||||||
|
str r0, [r5, 0x10]
|
||||||
|
b _0801D464
|
||||||
|
_0801D2EC:
|
||||||
|
ldr r0, [r3, 0x8]
|
||||||
|
ldr r1, [r5, 0x18]
|
||||||
|
bl sub_801D188
|
||||||
|
adds r2, r0, 0
|
||||||
|
ldr r1, [r5, 0x20]
|
||||||
|
bl sub_801B6EC
|
||||||
|
str r0, [r5, 0x4]
|
||||||
|
b _0801D464
|
||||||
|
_0801D300:
|
||||||
|
ldr r0, [r5, 0x14]
|
||||||
|
ldr r0, [r0]
|
||||||
|
str r0, [r5, 0x4]
|
||||||
|
b _0801D464
|
||||||
|
_0801D308:
|
||||||
|
ldr r0, [r3, 0x8]
|
||||||
|
adds r1, r5, 0
|
||||||
|
adds r1, 0x34
|
||||||
|
bl sub_801D188
|
||||||
|
adds r2, r0, 0
|
||||||
|
ldr r1, [r5, 0x20]
|
||||||
|
bl sub_801B708
|
||||||
|
str r0, [r5, 0x4]
|
||||||
|
b _0801D464
|
||||||
|
_0801D31E:
|
||||||
|
ldr r0, [r5, 0x20]
|
||||||
|
ldr r1, [r3, 0x4]
|
||||||
|
bl sub_801B784
|
||||||
|
lsls r0, 16
|
||||||
|
lsrs r0, 16
|
||||||
|
str r0, [r5, 0x4]
|
||||||
|
b _0801D464
|
||||||
|
_0801D32E:
|
||||||
|
ldr r0, [r5, 0x20]
|
||||||
|
ldr r1, [r3, 0x8]
|
||||||
|
bl sub_801B748
|
||||||
|
str r0, [r5, 0x4]
|
||||||
|
b _0801D464
|
||||||
|
_0801D33A:
|
||||||
|
ldr r0, [r3, 0x8]
|
||||||
|
ldr r1, [r5, 0x14]
|
||||||
|
ldr r1, [r1]
|
||||||
|
bl sub_801D194
|
||||||
|
str r0, [r5, 0x4]
|
||||||
|
b _0801D464
|
||||||
|
_0801D348:
|
||||||
|
ldr r0, [r3, 0x8]
|
||||||
|
ldr r1, [r5, 0x1C]
|
||||||
|
bl sub_801D188
|
||||||
|
adds r2, r0, 0
|
||||||
|
movs r3, 0xDE
|
||||||
|
lsls r3, 1
|
||||||
|
adds r0, r5, 0
|
||||||
|
movs r1, 0x17
|
||||||
|
bl mevent_srv_814501C
|
||||||
|
b _0801D464
|
||||||
|
_0801D360:
|
||||||
|
ldr r0, [r3, 0x8]
|
||||||
|
ldr r1, [r5, 0x18]
|
||||||
|
bl sub_801D188
|
||||||
|
adds r2, r0, 0
|
||||||
|
movs r3, 0xA6
|
||||||
|
lsls r3, 1
|
||||||
|
adds r0, r5, 0
|
||||||
|
movs r1, 0x16
|
||||||
|
bl mevent_srv_814501C
|
||||||
|
b _0801D464
|
||||||
|
_0801D378:
|
||||||
|
ldr r0, [r3, 0x8]
|
||||||
|
adds r1, r5, 0
|
||||||
|
adds r1, 0x34
|
||||||
|
bl sub_801D188
|
||||||
|
adds r2, r0, 0
|
||||||
|
adds r0, r5, 0
|
||||||
|
movs r1, 0x18
|
||||||
|
movs r3, 0x4
|
||||||
|
bl mevent_srv_814501C
|
||||||
|
b _0801D464
|
||||||
|
_0801D390:
|
||||||
|
ldr r2, [r3, 0x8]
|
||||||
|
cmp r2, 0
|
||||||
|
bne _0801D39C
|
||||||
|
ldr r2, [r5, 0x24]
|
||||||
|
ldr r3, [r5, 0x28]
|
||||||
|
b _0801D39E
|
||||||
|
_0801D39C:
|
||||||
|
ldr r3, [r3, 0x4]
|
||||||
|
_0801D39E:
|
||||||
|
adds r0, r5, 0
|
||||||
|
movs r1, 0x19
|
||||||
|
bl mevent_srv_814501C
|
||||||
|
b _0801D464
|
||||||
|
_0801D3A8:
|
||||||
|
ldr r2, [r3, 0x8]
|
||||||
|
cmp r2, 0
|
||||||
|
bne _0801D3B4
|
||||||
|
ldr r2, [r5, 0x2C]
|
||||||
|
ldr r3, [r5, 0x30]
|
||||||
|
b _0801D3B6
|
||||||
|
_0801D3B4:
|
||||||
|
ldr r3, [r3, 0x4]
|
||||||
|
_0801D3B6:
|
||||||
|
adds r0, r5, 0
|
||||||
|
movs r1, 0x10
|
||||||
|
bl mevent_srv_814501C
|
||||||
|
b _0801D464
|
||||||
|
_0801D3C0:
|
||||||
|
ldr r2, [r3, 0x8]
|
||||||
|
adds r0, r5, 0
|
||||||
|
movs r1, 0x1A
|
||||||
|
movs r3, 0xBC
|
||||||
|
bl mevent_srv_814501C
|
||||||
|
b _0801D464
|
||||||
|
_0801D3CE:
|
||||||
|
ldr r2, [r3, 0x8]
|
||||||
|
ldr r3, [r3, 0x4]
|
||||||
|
adds r0, r5, 0
|
||||||
|
movs r1, 0x15
|
||||||
|
bl mevent_srv_814501C
|
||||||
|
b _0801D464
|
||||||
|
_0801D3DC:
|
||||||
|
ldr r2, [r3, 0x8]
|
||||||
|
ldr r3, [r3, 0x4]
|
||||||
|
adds r0, r5, 0
|
||||||
|
movs r1, 0x1C
|
||||||
|
bl mevent_srv_814501C
|
||||||
|
b _0801D464
|
||||||
|
_0801D3EA:
|
||||||
|
ldr r0, [r5, 0x18]
|
||||||
|
ldr r1, [r3, 0x8]
|
||||||
|
movs r2, 0xA6
|
||||||
|
lsls r2, 1
|
||||||
|
bl memcpy
|
||||||
|
b _0801D464
|
||||||
|
_0801D3F8:
|
||||||
|
ldr r0, [r5, 0x1C]
|
||||||
|
ldr r1, [r3, 0x8]
|
||||||
|
movs r2, 0xDE
|
||||||
|
lsls r2, 1
|
||||||
|
bl memcpy
|
||||||
|
b _0801D464
|
||||||
|
_0801D406:
|
||||||
|
ldr r0, [r3, 0x8]
|
||||||
|
ldr r0, [r0]
|
||||||
|
str r0, [r5, 0x34]
|
||||||
|
b _0801D464
|
||||||
|
_0801D40E:
|
||||||
|
ldr r0, [r3, 0x8]
|
||||||
|
str r0, [r5, 0x24]
|
||||||
|
ldr r0, [r3, 0x4]
|
||||||
|
str r0, [r5, 0x28]
|
||||||
|
b _0801D464
|
||||||
|
_0801D418:
|
||||||
|
ldr r0, [r3, 0x8]
|
||||||
|
str r0, [r5, 0x2C]
|
||||||
|
ldr r0, [r3, 0x4]
|
||||||
|
str r0, [r5, 0x30]
|
||||||
|
b _0801D464
|
||||||
|
_0801D422:
|
||||||
|
ldr r4, [r5, 0x18]
|
||||||
|
bl sav1_get_mevent_buffer_1
|
||||||
|
adds r1, r0, 0
|
||||||
|
movs r2, 0xA6
|
||||||
|
lsls r2, 1
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl memcpy
|
||||||
|
ldr r0, [r5, 0x18]
|
||||||
|
bl sub_801B3C0
|
||||||
|
b _0801D464
|
||||||
|
_0801D43C:
|
||||||
|
ldr r4, [r5, 0x1C]
|
||||||
|
bl sub_801B00C
|
||||||
|
adds r1, r0, 0
|
||||||
|
movs r2, 0xDE
|
||||||
|
lsls r2, 1
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl memcpy
|
||||||
|
b _0801D464
|
||||||
|
_0801D450:
|
||||||
|
bl sub_8099244
|
||||||
|
str r0, [r5, 0x24]
|
||||||
|
b _0801D464
|
||||||
|
_0801D458:
|
||||||
|
ldr r2, [r3, 0x8]
|
||||||
|
ldr r3, [r3, 0x4]
|
||||||
|
adds r0, r5, 0
|
||||||
|
movs r1, 0x1B
|
||||||
|
bl mevent_srv_814501C
|
||||||
|
_0801D464:
|
||||||
|
movs r0, 0x1
|
||||||
|
pop {r4,r5}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D1F0
|
||||||
|
|
||||||
|
thumb_func_start mevent_dispatch_08145600
|
||||||
|
mevent_dispatch_08145600: @ 801D46C
|
||||||
|
push {lr}
|
||||||
|
ldr r2, =gUnknown_082F2548
|
||||||
|
ldr r1, [r0, 0x8]
|
||||||
|
lsls r1, 2
|
||||||
|
adds r1, r2
|
||||||
|
ldr r1, [r1]
|
||||||
|
bl _call_via_r1
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
.pool
|
||||||
|
thumb_func_end mevent_dispatch_08145600
|
||||||
|
|
||||||
|
.align 2, 0 @ don't pad with nop
|
373
asm/mevent_server_helpers.s
Executable file
373
asm/mevent_server_helpers.s
Executable file
@ -0,0 +1,373 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.syntax unified
|
||||||
|
|
||||||
|
.text
|
||||||
|
|
||||||
|
thumb_func_start sub_801D8C0
|
||||||
|
sub_801D8C0: @ 801D8C0
|
||||||
|
push {lr}
|
||||||
|
ldr r1, [r0, 0x20]
|
||||||
|
bl _call_via_r1
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D8C0
|
||||||
|
|
||||||
|
thumb_func_start sub_801D8CC
|
||||||
|
sub_801D8CC: @ 801D8CC
|
||||||
|
push {lr}
|
||||||
|
ldr r1, [r0, 0x24]
|
||||||
|
bl _call_via_r1
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D8CC
|
||||||
|
|
||||||
|
thumb_func_start sub_801D8D8
|
||||||
|
sub_801D8D8: @ 801D8D8
|
||||||
|
movs r3, 0
|
||||||
|
strb r1, [r0, 0x4]
|
||||||
|
strb r2, [r0, 0x5]
|
||||||
|
str r3, [r0]
|
||||||
|
strh r3, [r0, 0x12]
|
||||||
|
strh r3, [r0, 0x14]
|
||||||
|
strh r3, [r0, 0x10]
|
||||||
|
strh r3, [r0, 0xA]
|
||||||
|
strh r3, [r0, 0xC]
|
||||||
|
strh r3, [r0, 0x8]
|
||||||
|
str r3, [r0, 0x1C]
|
||||||
|
str r3, [r0, 0x18]
|
||||||
|
ldr r1, =sub_801DA5C
|
||||||
|
str r1, [r0, 0x24]
|
||||||
|
ldr r1, =sub_801D988
|
||||||
|
str r1, [r0, 0x20]
|
||||||
|
bx lr
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801D8D8
|
||||||
|
|
||||||
|
thumb_func_start sub_801D904
|
||||||
|
sub_801D904: @ 801D904
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4]
|
||||||
|
strh r1, [r4, 0xE]
|
||||||
|
strh r0, [r4, 0x10]
|
||||||
|
strh r0, [r4, 0x12]
|
||||||
|
cmp r3, 0
|
||||||
|
beq _0801D91A
|
||||||
|
strh r3, [r4, 0x14]
|
||||||
|
b _0801D920
|
||||||
|
_0801D91A:
|
||||||
|
movs r0, 0x80
|
||||||
|
lsls r0, 3
|
||||||
|
strh r0, [r4, 0x14]
|
||||||
|
_0801D920:
|
||||||
|
str r2, [r4, 0x1C]
|
||||||
|
pop {r4}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end sub_801D904
|
||||||
|
|
||||||
|
thumb_func_start sub_801D928
|
||||||
|
sub_801D928: @ 801D928
|
||||||
|
movs r3, 0
|
||||||
|
str r3, [r0]
|
||||||
|
strh r1, [r0, 0x6]
|
||||||
|
strh r3, [r0, 0x8]
|
||||||
|
strh r3, [r0, 0xA]
|
||||||
|
strh r3, [r0, 0xC]
|
||||||
|
str r2, [r0, 0x18]
|
||||||
|
bx lr
|
||||||
|
thumb_func_end sub_801D928
|
||||||
|
|
||||||
|
thumb_func_start sub_801D938
|
||||||
|
sub_801D938: @ 801D938
|
||||||
|
push {lr}
|
||||||
|
adds r3, r0, 0
|
||||||
|
adds r0, r1, 0
|
||||||
|
lsls r3, 8
|
||||||
|
ldr r1, =gBlockRecvBuffer
|
||||||
|
adds r3, r1
|
||||||
|
adds r1, r3, 0
|
||||||
|
bl memcpy
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801D938
|
||||||
|
|
||||||
|
thumb_func_start sub_801D954
|
||||||
|
sub_801D954: @ 801D954
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
bl GetBlockReceivedStatus
|
||||||
|
lsls r0, 24
|
||||||
|
lsrs r0, 24
|
||||||
|
asrs r0, r4
|
||||||
|
movs r1, 0x1
|
||||||
|
ands r0, r1
|
||||||
|
cmp r0, 0
|
||||||
|
bne _0801D96E
|
||||||
|
movs r0, 0
|
||||||
|
b _0801D970
|
||||||
|
_0801D96E:
|
||||||
|
movs r0, 0x1
|
||||||
|
_0801D970:
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D954
|
||||||
|
|
||||||
|
thumb_func_start sub_801D978
|
||||||
|
sub_801D978: @ 801D978
|
||||||
|
push {lr}
|
||||||
|
lsls r0, 24
|
||||||
|
lsrs r0, 24
|
||||||
|
bl ResetBlockReceivedFlag
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end sub_801D978
|
||||||
|
|
||||||
|
thumb_func_start sub_801D988
|
||||||
|
sub_801D988: @ 801D988
|
||||||
|
push {r4-r6,lr}
|
||||||
|
sub sp, 0x8
|
||||||
|
adds r5, r0, 0
|
||||||
|
ldr r6, [r5]
|
||||||
|
cmp r6, 0x1
|
||||||
|
beq _0801D9EC
|
||||||
|
cmp r6, 0x1
|
||||||
|
bgt _0801D99E
|
||||||
|
cmp r6, 0
|
||||||
|
beq _0801D9A4
|
||||||
|
b _0801DA52
|
||||||
|
_0801D99E:
|
||||||
|
cmp r6, 0x2
|
||||||
|
beq _0801DA38
|
||||||
|
b _0801DA52
|
||||||
|
_0801D9A4:
|
||||||
|
ldrb r0, [r5, 0x5]
|
||||||
|
bl sub_801D954
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801DA52
|
||||||
|
ldrb r0, [r5, 0x5]
|
||||||
|
mov r4, sp
|
||||||
|
mov r1, sp
|
||||||
|
movs r2, 0x8
|
||||||
|
bl sub_801D938
|
||||||
|
ldrh r1, [r4, 0x4]
|
||||||
|
strh r1, [r5, 0xC]
|
||||||
|
ldrh r0, [r4, 0x2]
|
||||||
|
strh r0, [r5, 0xA]
|
||||||
|
lsls r1, 16
|
||||||
|
movs r0, 0x80
|
||||||
|
lsls r0, 19
|
||||||
|
cmp r1, r0
|
||||||
|
bls _0801D9D2
|
||||||
|
_0801D9CC:
|
||||||
|
bl sub_8010198
|
||||||
|
b _0801DA52
|
||||||
|
_0801D9D2:
|
||||||
|
mov r1, sp
|
||||||
|
ldrh r0, [r5, 0x6]
|
||||||
|
ldrh r1, [r1]
|
||||||
|
cmp r0, r1
|
||||||
|
bne _0801D9CC
|
||||||
|
strh r6, [r5, 0x8]
|
||||||
|
ldrb r0, [r5, 0x5]
|
||||||
|
bl sub_801D978
|
||||||
|
ldr r0, [r5]
|
||||||
|
adds r0, 0x1
|
||||||
|
str r0, [r5]
|
||||||
|
b _0801DA52
|
||||||
|
_0801D9EC:
|
||||||
|
ldrb r0, [r5, 0x5]
|
||||||
|
bl sub_801D954
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801DA52
|
||||||
|
ldrh r0, [r5, 0x8]
|
||||||
|
lsls r1, r0, 6
|
||||||
|
subs r1, r0
|
||||||
|
lsls r3, r1, 2
|
||||||
|
ldrh r0, [r5, 0xC]
|
||||||
|
subs r2, r0, r3
|
||||||
|
cmp r2, 0xFC
|
||||||
|
bhi _0801DA1E
|
||||||
|
ldrb r0, [r5, 0x5]
|
||||||
|
ldr r1, [r5, 0x18]
|
||||||
|
adds r1, r3
|
||||||
|
bl sub_801D938
|
||||||
|
ldrh r0, [r5, 0x8]
|
||||||
|
adds r0, 0x1
|
||||||
|
strh r0, [r5, 0x8]
|
||||||
|
ldr r0, [r5]
|
||||||
|
adds r0, 0x1
|
||||||
|
str r0, [r5]
|
||||||
|
b _0801DA30
|
||||||
|
_0801DA1E:
|
||||||
|
ldrb r0, [r5, 0x5]
|
||||||
|
ldr r1, [r5, 0x18]
|
||||||
|
adds r1, r3
|
||||||
|
movs r2, 0xFC
|
||||||
|
bl sub_801D938
|
||||||
|
ldrh r0, [r5, 0x8]
|
||||||
|
adds r0, 0x1
|
||||||
|
strh r0, [r5, 0x8]
|
||||||
|
_0801DA30:
|
||||||
|
ldrb r0, [r5, 0x5]
|
||||||
|
bl sub_801D978
|
||||||
|
b _0801DA52
|
||||||
|
_0801DA38:
|
||||||
|
ldr r0, [r5, 0x18]
|
||||||
|
ldrh r1, [r5, 0xC]
|
||||||
|
bl CalcCRC16WithTable
|
||||||
|
lsls r0, 16
|
||||||
|
lsrs r0, 16
|
||||||
|
ldrh r1, [r5, 0xA]
|
||||||
|
cmp r0, r1
|
||||||
|
bne _0801D9CC
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r5]
|
||||||
|
movs r0, 0x1
|
||||||
|
b _0801DA54
|
||||||
|
_0801DA52:
|
||||||
|
movs r0, 0
|
||||||
|
_0801DA54:
|
||||||
|
add sp, 0x8
|
||||||
|
pop {r4-r6}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D988
|
||||||
|
|
||||||
|
thumb_func_start sub_801DA5C
|
||||||
|
sub_801DA5C: @ 801DA5C
|
||||||
|
push {r4,r5,lr}
|
||||||
|
sub sp, 0x8
|
||||||
|
adds r4, r0, 0
|
||||||
|
ldr r5, [r4]
|
||||||
|
cmp r5, 0x1
|
||||||
|
beq _0801DAC8
|
||||||
|
cmp r5, 0x1
|
||||||
|
bgt _0801DA72
|
||||||
|
cmp r5, 0
|
||||||
|
beq _0801DA7C
|
||||||
|
b _0801DB5E
|
||||||
|
_0801DA72:
|
||||||
|
cmp r5, 0x2
|
||||||
|
beq _0801DB1C
|
||||||
|
cmp r5, 0x3
|
||||||
|
beq _0801DB46
|
||||||
|
b _0801DB5E
|
||||||
|
_0801DA7C:
|
||||||
|
bl IsLinkTaskFinished
|
||||||
|
lsls r0, 24
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801DB5E
|
||||||
|
ldrh r1, [r4, 0xE]
|
||||||
|
ldr r2, =0xffff0000
|
||||||
|
ldr r0, [sp]
|
||||||
|
ands r0, r2
|
||||||
|
orrs r0, r1
|
||||||
|
str r0, [sp]
|
||||||
|
ldrh r1, [r4, 0x14]
|
||||||
|
ldr r0, [sp, 0x4]
|
||||||
|
ands r0, r2
|
||||||
|
orrs r0, r1
|
||||||
|
str r0, [sp, 0x4]
|
||||||
|
ldr r0, [r4, 0x1C]
|
||||||
|
bl CalcCRC16WithTable
|
||||||
|
lsls r0, 16
|
||||||
|
ldr r2, =0x0000ffff
|
||||||
|
ldr r1, [sp]
|
||||||
|
ands r1, r2
|
||||||
|
orrs r1, r0
|
||||||
|
str r1, [sp]
|
||||||
|
lsrs r1, 16
|
||||||
|
strh r1, [r4, 0x12]
|
||||||
|
strh r5, [r4, 0x10]
|
||||||
|
movs r0, 0
|
||||||
|
mov r1, sp
|
||||||
|
movs r2, 0x8
|
||||||
|
bl SendBlock
|
||||||
|
b _0801DB3E
|
||||||
|
.pool
|
||||||
|
_0801DAC8:
|
||||||
|
bl IsLinkTaskFinished
|
||||||
|
lsls r0, 24
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801DB5E
|
||||||
|
ldrb r0, [r4, 0x4]
|
||||||
|
bl sub_801D954
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801DB5E
|
||||||
|
ldrb r0, [r4, 0x4]
|
||||||
|
bl sub_801D978
|
||||||
|
ldrh r1, [r4, 0x10]
|
||||||
|
lsls r0, r1, 6
|
||||||
|
subs r0, r1
|
||||||
|
lsls r3, r0, 2
|
||||||
|
ldrh r0, [r4, 0x14]
|
||||||
|
subs r0, r3
|
||||||
|
cmp r0, 0xFC
|
||||||
|
bhi _0801DB08
|
||||||
|
ldr r1, [r4, 0x1C]
|
||||||
|
adds r1, r3
|
||||||
|
lsls r2, r0, 16
|
||||||
|
lsrs r2, 16
|
||||||
|
movs r0, 0
|
||||||
|
bl SendBlock
|
||||||
|
ldrh r0, [r4, 0x10]
|
||||||
|
adds r0, 0x1
|
||||||
|
strh r0, [r4, 0x10]
|
||||||
|
b _0801DB3E
|
||||||
|
_0801DB08:
|
||||||
|
ldr r1, [r4, 0x1C]
|
||||||
|
adds r1, r3
|
||||||
|
movs r0, 0
|
||||||
|
movs r2, 0xFC
|
||||||
|
bl SendBlock
|
||||||
|
ldrh r0, [r4, 0x10]
|
||||||
|
adds r0, 0x1
|
||||||
|
strh r0, [r4, 0x10]
|
||||||
|
b _0801DB5E
|
||||||
|
_0801DB1C:
|
||||||
|
bl IsLinkTaskFinished
|
||||||
|
lsls r0, 24
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801DB5E
|
||||||
|
ldr r0, [r4, 0x1C]
|
||||||
|
ldrh r1, [r4, 0x14]
|
||||||
|
bl CalcCRC16WithTable
|
||||||
|
lsls r0, 16
|
||||||
|
lsrs r0, 16
|
||||||
|
ldrh r1, [r4, 0x12]
|
||||||
|
cmp r0, r1
|
||||||
|
beq _0801DB3E
|
||||||
|
bl sub_8010198
|
||||||
|
b _0801DB5E
|
||||||
|
_0801DB3E:
|
||||||
|
ldr r0, [r4]
|
||||||
|
adds r0, 0x1
|
||||||
|
str r0, [r4]
|
||||||
|
b _0801DB5E
|
||||||
|
_0801DB46:
|
||||||
|
ldrb r0, [r4, 0x4]
|
||||||
|
bl sub_801D954
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801DB5E
|
||||||
|
ldrb r0, [r4, 0x4]
|
||||||
|
bl sub_801D978
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4]
|
||||||
|
movs r0, 0x1
|
||||||
|
b _0801DB60
|
||||||
|
_0801DB5E:
|
||||||
|
movs r0, 0
|
||||||
|
_0801DB60:
|
||||||
|
add sp, 0x8
|
||||||
|
pop {r4,r5}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801DA5C
|
||||||
|
|
||||||
|
.align 2, 0 @ don't pad with nop
|
567
asm/mevent_server_ish.s
Executable file
567
asm/mevent_server_ish.s
Executable file
@ -0,0 +1,567 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.syntax unified
|
||||||
|
|
||||||
|
.text
|
||||||
|
|
||||||
|
thumb_func_start sub_801D484
|
||||||
|
sub_801D484: @ 801D484
|
||||||
|
push {r4,r5,lr}
|
||||||
|
adds r5, r0, 0
|
||||||
|
ldr r4, =gUnknown_02022C80
|
||||||
|
movs r0, 0x50
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4]
|
||||||
|
movs r1, 0x1
|
||||||
|
movs r2, 0
|
||||||
|
bl mevent_srv_ish_init
|
||||||
|
ldr r0, [r4]
|
||||||
|
str r5, [r0, 0x4C]
|
||||||
|
pop {r4,r5}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801D484
|
||||||
|
|
||||||
|
thumb_func_start sub_801D4A8
|
||||||
|
sub_801D4A8: @ 801D4A8
|
||||||
|
push {r4-r6,lr}
|
||||||
|
adds r6, r0, 0
|
||||||
|
ldr r4, =gUnknown_02022C80
|
||||||
|
ldr r0, [r4]
|
||||||
|
cmp r0, 0
|
||||||
|
bne _0801D4BC
|
||||||
|
movs r0, 0x6
|
||||||
|
b _0801D4DC
|
||||||
|
.pool
|
||||||
|
_0801D4BC:
|
||||||
|
bl mevent_srv_ish_exec
|
||||||
|
adds r5, r0, 0
|
||||||
|
cmp r5, 0x6
|
||||||
|
bne _0801D4DA
|
||||||
|
ldr r0, [r4]
|
||||||
|
ldr r1, [r0, 0x4]
|
||||||
|
strh r1, [r6]
|
||||||
|
bl sub_801D55C
|
||||||
|
ldr r0, [r4]
|
||||||
|
bl Free
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4]
|
||||||
|
_0801D4DA:
|
||||||
|
adds r0, r5, 0
|
||||||
|
_0801D4DC:
|
||||||
|
pop {r4-r6}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D4A8
|
||||||
|
|
||||||
|
thumb_func_start sub_801D4E4
|
||||||
|
sub_801D4E4: @ 801D4E4
|
||||||
|
ldr r0, =gUnknown_02022C80
|
||||||
|
ldr r1, [r0]
|
||||||
|
ldr r0, [r1, 0xC]
|
||||||
|
adds r0, 0x1
|
||||||
|
str r0, [r1, 0xC]
|
||||||
|
bx lr
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801D4E4
|
||||||
|
|
||||||
|
thumb_func_start sub_801D4F4
|
||||||
|
sub_801D4F4: @ 801D4F4
|
||||||
|
ldr r0, =gUnknown_02022C80
|
||||||
|
ldr r0, [r0]
|
||||||
|
ldr r0, [r0, 0x20]
|
||||||
|
bx lr
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801D4F4
|
||||||
|
|
||||||
|
thumb_func_start sub_801D500
|
||||||
|
sub_801D500: @ 801D500
|
||||||
|
ldr r1, =gUnknown_02022C80
|
||||||
|
ldr r1, [r1]
|
||||||
|
str r0, [r1, 0x4]
|
||||||
|
bx lr
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801D500
|
||||||
|
|
||||||
|
thumb_func_start mevent_srv_ish_init
|
||||||
|
mevent_srv_ish_init: @ 801D50C
|
||||||
|
push {r4-r6,lr}
|
||||||
|
mov r6, r8
|
||||||
|
push {r6}
|
||||||
|
adds r4, r0, 0
|
||||||
|
adds r6, r1, 0
|
||||||
|
mov r8, r2
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4]
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
str r0, [r4, 0xC]
|
||||||
|
movs r5, 0x80
|
||||||
|
lsls r5, 3
|
||||||
|
adds r0, r5, 0
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4, 0x14]
|
||||||
|
adds r0, r5, 0
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4, 0x18]
|
||||||
|
adds r0, r5, 0
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4, 0x1C]
|
||||||
|
movs r0, 0x40
|
||||||
|
bl AllocZeroed
|
||||||
|
str r0, [r4, 0x20]
|
||||||
|
adds r4, 0x24
|
||||||
|
adds r0, r4, 0
|
||||||
|
adds r1, r6, 0
|
||||||
|
mov r2, r8
|
||||||
|
bl sub_801D8D8
|
||||||
|
pop {r3}
|
||||||
|
mov r8, r3
|
||||||
|
pop {r4-r6}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end mevent_srv_ish_init
|
||||||
|
|
||||||
|
thumb_func_start sub_801D55C
|
||||||
|
sub_801D55C: @ 801D55C
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
ldr r0, [r4, 0x14]
|
||||||
|
bl Free
|
||||||
|
ldr r0, [r4, 0x18]
|
||||||
|
bl Free
|
||||||
|
ldr r0, [r4, 0x1C]
|
||||||
|
bl Free
|
||||||
|
ldr r0, [r4, 0x20]
|
||||||
|
bl Free
|
||||||
|
pop {r4}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end sub_801D55C
|
||||||
|
|
||||||
|
thumb_func_start sub_801D580
|
||||||
|
sub_801D580: @ 801D580
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
ldr r0, [r4, 0x1C]
|
||||||
|
ldr r1, [r4, 0x18]
|
||||||
|
movs r2, 0x80
|
||||||
|
lsls r2, 3
|
||||||
|
bl memcpy
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4, 0x10]
|
||||||
|
pop {r4}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
thumb_func_end sub_801D580
|
||||||
|
|
||||||
|
thumb_func_start sub_801D59C
|
||||||
|
sub_801D59C: @ 801D59C
|
||||||
|
push {r4-r6,lr}
|
||||||
|
sub sp, 0x4
|
||||||
|
adds r4, r0, 0
|
||||||
|
adds r6, r1, 0
|
||||||
|
adds r5, r2, 0
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [sp]
|
||||||
|
ldr r1, [r4, 0x14]
|
||||||
|
ldr r2, =0x05000100
|
||||||
|
mov r0, sp
|
||||||
|
bl CpuSet
|
||||||
|
ldr r2, [r4, 0x14]
|
||||||
|
str r5, [r2]
|
||||||
|
adds r4, 0x24
|
||||||
|
adds r0, r4, 0
|
||||||
|
adds r1, r6, 0
|
||||||
|
movs r3, 0x4
|
||||||
|
bl sub_801D904
|
||||||
|
add sp, 0x4
|
||||||
|
pop {r4-r6}
|
||||||
|
pop {r0}
|
||||||
|
bx r0
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801D59C
|
||||||
|
|
||||||
|
thumb_func_start sub_801D5D0
|
||||||
|
sub_801D5D0: @ 801D5D0
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
ldr r0, [r4, 0x1C]
|
||||||
|
ldr r1, =gUnknown_082F2598
|
||||||
|
movs r2, 0x80
|
||||||
|
lsls r2, 3
|
||||||
|
bl memcpy
|
||||||
|
movs r1, 0
|
||||||
|
str r1, [r4, 0x10]
|
||||||
|
movs r0, 0x4
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
str r1, [r4, 0xC]
|
||||||
|
movs r0, 0
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801D5D0
|
||||||
|
|
||||||
|
thumb_func_start sub_801D5F8
|
||||||
|
sub_801D5F8: @ 801D5F8
|
||||||
|
movs r0, 0x6
|
||||||
|
bx lr
|
||||||
|
thumb_func_end sub_801D5F8
|
||||||
|
|
||||||
|
thumb_func_start sub_801D5FC
|
||||||
|
sub_801D5FC: @ 801D5FC
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
adds r0, 0x24
|
||||||
|
bl sub_801D8C0
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801D612
|
||||||
|
movs r0, 0x4
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4, 0xC]
|
||||||
|
_0801D612:
|
||||||
|
movs r0, 0x1
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D5FC
|
||||||
|
|
||||||
|
thumb_func_start sub_801D61C
|
||||||
|
sub_801D61C: @ 801D61C
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
adds r0, 0x24
|
||||||
|
bl sub_801D8CC
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801D632
|
||||||
|
movs r0, 0x4
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4, 0xC]
|
||||||
|
_0801D632:
|
||||||
|
movs r0, 0x1
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D61C
|
||||||
|
|
||||||
|
thumb_func_start sub_801D63C
|
||||||
|
sub_801D63C: @ 801D63C
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
ldr r0, [r4, 0x10]
|
||||||
|
lsls r2, r0, 3
|
||||||
|
ldr r1, [r4, 0x1C]
|
||||||
|
adds r2, r1, r2
|
||||||
|
adds r0, 0x1
|
||||||
|
str r0, [r4, 0x10]
|
||||||
|
ldr r0, [r2]
|
||||||
|
cmp r0, 0x15
|
||||||
|
bls _0801D654
|
||||||
|
b _0801D804
|
||||||
|
_0801D654:
|
||||||
|
lsls r0, 2
|
||||||
|
ldr r1, =_0801D664
|
||||||
|
adds r0, r1
|
||||||
|
ldr r0, [r0]
|
||||||
|
mov pc, r0
|
||||||
|
.pool
|
||||||
|
.align 2, 0
|
||||||
|
_0801D664:
|
||||||
|
.4byte _0801D804
|
||||||
|
.4byte _0801D6BC
|
||||||
|
.4byte _0801D6C4
|
||||||
|
.4byte _0801D6D4
|
||||||
|
.4byte _0801D70E
|
||||||
|
.4byte _0801D716
|
||||||
|
.4byte _0801D6FE
|
||||||
|
.4byte _0801D708
|
||||||
|
.4byte _0801D764
|
||||||
|
.4byte _0801D790
|
||||||
|
.4byte _0801D788
|
||||||
|
.4byte _0801D72C
|
||||||
|
.4byte _0801D742
|
||||||
|
.4byte _0801D758
|
||||||
|
.4byte _0801D77C
|
||||||
|
.4byte _0801D7B8
|
||||||
|
.4byte _0801D7BC
|
||||||
|
.4byte _0801D7C4
|
||||||
|
.4byte _0801D7D0
|
||||||
|
.4byte _0801D6EA
|
||||||
|
.4byte _0801D6D8
|
||||||
|
.4byte _0801D7F0
|
||||||
|
_0801D6BC:
|
||||||
|
ldr r0, [r2, 0x4]
|
||||||
|
str r0, [r4, 0x4]
|
||||||
|
movs r0, 0x1
|
||||||
|
b _0801D7FE
|
||||||
|
_0801D6C4:
|
||||||
|
adds r0, r4, 0
|
||||||
|
adds r0, 0x24
|
||||||
|
ldr r1, [r2, 0x4]
|
||||||
|
ldr r2, [r4, 0x18]
|
||||||
|
bl sub_801D928
|
||||||
|
movs r0, 0x2
|
||||||
|
b _0801D7FE
|
||||||
|
_0801D6D4:
|
||||||
|
movs r0, 0x3
|
||||||
|
b _0801D7FE
|
||||||
|
_0801D6D8:
|
||||||
|
adds r0, r4, 0
|
||||||
|
adds r0, 0x24
|
||||||
|
ldr r2, [r4, 0x14]
|
||||||
|
movs r1, 0x14
|
||||||
|
movs r3, 0
|
||||||
|
bl sub_801D904
|
||||||
|
movs r0, 0x3
|
||||||
|
b _0801D7FE
|
||||||
|
_0801D6EA:
|
||||||
|
ldrb r0, [r2, 0x4]
|
||||||
|
bl GetGameStat
|
||||||
|
adds r2, r0, 0
|
||||||
|
adds r0, r4, 0
|
||||||
|
movs r1, 0x12
|
||||||
|
bl sub_801D59C
|
||||||
|
movs r0, 0x3
|
||||||
|
b _0801D7FE
|
||||||
|
_0801D6FE:
|
||||||
|
ldr r0, [r4, 0x4]
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801D706
|
||||||
|
b _0801D804
|
||||||
|
_0801D706:
|
||||||
|
b _0801D70E
|
||||||
|
_0801D708:
|
||||||
|
ldr r0, [r4, 0x4]
|
||||||
|
cmp r0, 0x1
|
||||||
|
bne _0801D804
|
||||||
|
_0801D70E:
|
||||||
|
adds r0, r4, 0
|
||||||
|
bl sub_801D580
|
||||||
|
b _0801D804
|
||||||
|
_0801D716:
|
||||||
|
ldr r0, [r4, 0x20]
|
||||||
|
ldr r1, [r4, 0x18]
|
||||||
|
movs r2, 0x40
|
||||||
|
bl memcpy
|
||||||
|
movs r0, 0x5
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4, 0xC]
|
||||||
|
movs r0, 0x2
|
||||||
|
b _0801D806
|
||||||
|
_0801D72C:
|
||||||
|
ldr r0, [r4, 0x20]
|
||||||
|
ldr r1, [r4, 0x18]
|
||||||
|
movs r2, 0x40
|
||||||
|
bl memcpy
|
||||||
|
movs r0, 0x5
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4, 0xC]
|
||||||
|
movs r0, 0x3
|
||||||
|
b _0801D806
|
||||||
|
_0801D742:
|
||||||
|
ldr r0, [r4, 0x20]
|
||||||
|
ldr r1, [r4, 0x18]
|
||||||
|
movs r2, 0x40
|
||||||
|
bl memcpy
|
||||||
|
movs r0, 0x5
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4, 0xC]
|
||||||
|
movs r0, 0x5
|
||||||
|
b _0801D806
|
||||||
|
_0801D758:
|
||||||
|
movs r0, 0x5
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4, 0xC]
|
||||||
|
movs r0, 0x4
|
||||||
|
b _0801D806
|
||||||
|
_0801D764:
|
||||||
|
ldr r0, [r4, 0x14]
|
||||||
|
ldr r1, [r4, 0x4C]
|
||||||
|
bl sub_801B580
|
||||||
|
adds r0, r4, 0
|
||||||
|
adds r0, 0x24
|
||||||
|
ldr r2, [r4, 0x14]
|
||||||
|
movs r1, 0x11
|
||||||
|
movs r3, 0x64
|
||||||
|
bl sub_801D904
|
||||||
|
b _0801D804
|
||||||
|
_0801D77C:
|
||||||
|
ldr r2, [r4, 0x4]
|
||||||
|
adds r0, r4, 0
|
||||||
|
movs r1, 0x13
|
||||||
|
bl sub_801D59C
|
||||||
|
b _0801D804
|
||||||
|
_0801D788:
|
||||||
|
ldr r0, [r4, 0x18]
|
||||||
|
bl sub_801B21C
|
||||||
|
b _0801D804
|
||||||
|
_0801D790:
|
||||||
|
ldr r0, [r4, 0x18]
|
||||||
|
bl sub_801B1A4
|
||||||
|
cmp r0, 0
|
||||||
|
bne _0801D7AC
|
||||||
|
ldr r0, [r4, 0x18]
|
||||||
|
bl sub_801B078
|
||||||
|
adds r0, r4, 0
|
||||||
|
movs r1, 0x13
|
||||||
|
movs r2, 0
|
||||||
|
bl sub_801D59C
|
||||||
|
b _0801D804
|
||||||
|
_0801D7AC:
|
||||||
|
adds r0, r4, 0
|
||||||
|
movs r1, 0x13
|
||||||
|
movs r2, 0x1
|
||||||
|
bl sub_801D59C
|
||||||
|
b _0801D804
|
||||||
|
_0801D7B8:
|
||||||
|
movs r0, 0x6
|
||||||
|
b _0801D7FE
|
||||||
|
_0801D7BC:
|
||||||
|
ldr r0, [r4, 0x18]
|
||||||
|
bl sub_801B508
|
||||||
|
b _0801D804
|
||||||
|
_0801D7C4:
|
||||||
|
ldr r0, [r4, 0x18]
|
||||||
|
movs r1, 0xFA
|
||||||
|
lsls r1, 2
|
||||||
|
bl sub_80992A0
|
||||||
|
b _0801D804
|
||||||
|
_0801D7D0:
|
||||||
|
ldr r0, =gSaveBlock2Ptr
|
||||||
|
ldr r0, [r0]
|
||||||
|
ldr r1, =0x00000bec
|
||||||
|
adds r0, r1
|
||||||
|
ldr r1, [r4, 0x18]
|
||||||
|
movs r2, 0xBC
|
||||||
|
bl memcpy
|
||||||
|
bl ValidateEReaderTrainer
|
||||||
|
b _0801D804
|
||||||
|
.pool
|
||||||
|
_0801D7F0:
|
||||||
|
ldr r0, =gDecompressionBuffer
|
||||||
|
ldr r1, [r4, 0x18]
|
||||||
|
movs r2, 0x80
|
||||||
|
lsls r2, 3
|
||||||
|
bl memcpy
|
||||||
|
movs r0, 0x7
|
||||||
|
_0801D7FE:
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4, 0xC]
|
||||||
|
_0801D804:
|
||||||
|
movs r0, 0x1
|
||||||
|
_0801D806:
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801D63C
|
||||||
|
|
||||||
|
thumb_func_start sub_801D810
|
||||||
|
sub_801D810: @ 801D810
|
||||||
|
push {lr}
|
||||||
|
adds r1, r0, 0
|
||||||
|
ldr r0, [r1, 0xC]
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801D822
|
||||||
|
movs r0, 0x4
|
||||||
|
str r0, [r1, 0x8]
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r1, 0xC]
|
||||||
|
_0801D822:
|
||||||
|
movs r0, 0x1
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D810
|
||||||
|
|
||||||
|
thumb_func_start sub_801D828
|
||||||
|
sub_801D828: @ 801D828
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
ldr r0, [r4, 0xC]
|
||||||
|
cmp r0, 0
|
||||||
|
beq _0801D838
|
||||||
|
cmp r0, 0x1
|
||||||
|
beq _0801D846
|
||||||
|
b _0801D858
|
||||||
|
_0801D838:
|
||||||
|
ldr r0, [r4, 0x18]
|
||||||
|
bl sub_8153870
|
||||||
|
ldr r0, [r4, 0xC]
|
||||||
|
adds r0, 0x1
|
||||||
|
str r0, [r4, 0xC]
|
||||||
|
b _0801D858
|
||||||
|
_0801D846:
|
||||||
|
adds r0, r4, 0x4
|
||||||
|
bl sub_8153884
|
||||||
|
adds r1, r0, 0
|
||||||
|
cmp r1, 0
|
||||||
|
bne _0801D858
|
||||||
|
movs r0, 0x4
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
str r1, [r4, 0xC]
|
||||||
|
_0801D858:
|
||||||
|
movs r0, 0x1
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
thumb_func_end sub_801D828
|
||||||
|
|
||||||
|
thumb_func_start sub_801D860
|
||||||
|
sub_801D860: @ 801D860
|
||||||
|
push {r4,lr}
|
||||||
|
adds r4, r0, 0
|
||||||
|
ldr r3, =gDecompressionBuffer
|
||||||
|
adds r0, r4, 0x4
|
||||||
|
ldr r1, =gSaveBlock2Ptr
|
||||||
|
ldr r1, [r1]
|
||||||
|
ldr r2, =gSaveBlock1Ptr
|
||||||
|
ldr r2, [r2]
|
||||||
|
bl _call_via_r3
|
||||||
|
cmp r0, 0x1
|
||||||
|
bne _0801D880
|
||||||
|
movs r0, 0x4
|
||||||
|
str r0, [r4, 0x8]
|
||||||
|
movs r0, 0
|
||||||
|
str r0, [r4, 0xC]
|
||||||
|
_0801D880:
|
||||||
|
movs r0, 0x1
|
||||||
|
pop {r4}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
.pool
|
||||||
|
thumb_func_end sub_801D860
|
||||||
|
|
||||||
|
thumb_func_start mevent_srv_ish_exec
|
||||||
|
mevent_srv_ish_exec: @ 801D894
|
||||||
|
push {r4,r5,lr}
|
||||||
|
sub sp, 0x20
|
||||||
|
mov r2, sp
|
||||||
|
ldr r1, =gUnknown_082F255C
|
||||||
|
ldm r1!, {r3-r5}
|
||||||
|
stm r2!, {r3-r5}
|
||||||
|
ldm r1!, {r3-r5}
|
||||||
|
stm r2!, {r3-r5}
|
||||||
|
ldm r1!, {r3,r4}
|
||||||
|
stm r2!, {r3,r4}
|
||||||
|
ldr r1, [r0, 0x8]
|
||||||
|
lsls r1, 2
|
||||||
|
add r1, sp
|
||||||
|
ldr r1, [r1]
|
||||||
|
bl _call_via_r1
|
||||||
|
add sp, 0x20
|
||||||
|
pop {r4,r5}
|
||||||
|
pop {r1}
|
||||||
|
bx r1
|
||||||
|
.pool
|
||||||
|
thumb_func_end mevent_srv_ish_exec
|
||||||
|
|
||||||
|
.align 2, 0 @ don't pad with nop
|
9040
asm/pokemon_jump.s
Executable file
9040
asm/pokemon_jump.s
Executable file
File diff suppressed because it is too large
Load Diff
48288
asm/rom_8011DC0.s
48288
asm/rom_8011DC0.s
File diff suppressed because it is too large
Load Diff
8312
asm/union_room.s
Executable file
8312
asm/union_room.s
Executable file
File diff suppressed because it is too large
Load Diff
5772
asm/union_room_chat.s
Executable file
5772
asm/union_room_chat.s
Executable file
File diff suppressed because it is too large
Load Diff
351
data/berry_crush.s
Executable file
351
data/berry_crush.s
Executable file
@ -0,0 +1,351 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F325C:: @ 82F325C
|
||||||
|
.byte 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3264:: @ 82F3264
|
||||||
|
.byte 0x00, 0x01, 0x02, 0x03, 0x05, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F326C:: @ 82F326C
|
||||||
|
.byte 0x04, 0x01, 0x00, 0xff, 0x00, 0x00, 0x00, 0x04
|
||||||
|
.byte 0x02, 0x00, 0xff, 0x00, 0x00, 0x00, 0x04, 0x02
|
||||||
|
.byte 0x00, 0xfe, 0x00, 0x00, 0x00, 0x06, 0x03, 0x01
|
||||||
|
.byte 0xff, 0xfd, 0xff, 0x00, 0x06, 0x04, 0x01, 0xfe
|
||||||
|
.byte 0xfc, 0xfe, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3290:: @ 82F3290
|
||||||
|
.byte 0x03, 0x02, 0x01, 0x00, 0x03, 0x03, 0x01, 0x00
|
||||||
|
.byte 0x03, 0x03, 0x02, 0x00, 0x03, 0x04, 0x02, 0x00
|
||||||
|
.byte 0x03, 0x05, 0x03, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F32A4:: @ 82F32A4
|
||||||
|
.4byte gText_ReadyToBerryCrush
|
||||||
|
.4byte gText_WaitForAllChooseBerry
|
||||||
|
.4byte gText_EndedWithXUnitsPowder
|
||||||
|
.4byte gText_RecordingGameResults
|
||||||
|
.4byte gText_PlayBerryCrushAgain
|
||||||
|
.4byte gText_YouHaveNoBerries
|
||||||
|
.4byte gText_MemberDroppedOut
|
||||||
|
.4byte gText_TimesUpNoGoodPowder
|
||||||
|
.4byte gText_CommunicationStandby2
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F32C8:: @ 82F32C8 struct BgTemplate
|
||||||
|
.4byte 0x000000F8
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F32CC:: @ 82F32CC struct BgTemplate? not sure
|
||||||
|
.byte 0xd1, 0x14, 0x00, 0x00, 0xc2, 0x20, 0x00, 0x00
|
||||||
|
.byte 0xb3, 0x30, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F32D8:: @ 82F32D8
|
||||||
|
.byte 0x01, 0x02, 0x03
|
||||||
|
|
||||||
|
gUnknown_082F32DB:: @ 82F32DB
|
||||||
|
.byte 0x00, 0x01, 0x02
|
||||||
|
|
||||||
|
gUnknown_082F32DE:: @ 82F32DE
|
||||||
|
.byte 0x00, 0x03, 0x04
|
||||||
|
|
||||||
|
gUnknown_082F32E1:: @ 82F32E1
|
||||||
|
.byte 0x01, 0x08, 0x09
|
||||||
|
.byte 0x01, 0x06, 0x07
|
||||||
|
|
||||||
|
gUnknown_082F32E7:: @ 82F32E7
|
||||||
|
.byte 0x01, 0x04, 0x05
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F32EC:: @ 82F32EC
|
||||||
|
window_template 0x00, 0x03, 0x04, 0x18, 0x0d, 0x0f, 0x0001
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F32F4:: @ 82F32F4
|
||||||
|
window_template 0x00, 0x00, 0x00, 0x09, 0x02, 0x08, 0x03ed
|
||||||
|
window_template 0x00, 0x00, 0x03, 0x09, 0x02, 0x08, 0x03db
|
||||||
|
window_template 0x00, 0x00, 0x06, 0x09, 0x02, 0x08, 0x03c9
|
||||||
|
window_template 0x00, 0x15, 0x03, 0x09, 0x02, 0x08, 0x03b7
|
||||||
|
window_template 0x00, 0x15, 0x06, 0x09, 0x02, 0x08, 0x03a5
|
||||||
|
null_window_template
|
||||||
|
|
||||||
|
window_template 0x00, 0x05, 0x02, 0x14, 0x10, 0x0f, 0x0001
|
||||||
|
window_template 0x00, 0x05, 0x02, 0x14, 0x10, 0x0f, 0x0001
|
||||||
|
window_template 0x00, 0x04, 0x02, 0x16, 0x10, 0x0f, 0x0001
|
||||||
|
null_window_template
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3344:: @ 82F3344
|
||||||
|
.byte 0x06, 0x08, 0x09, 0x0b, 0x0c, 0x0e, 0x0f, 0x10
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F334C:: @ 82F334C
|
||||||
|
.byte 0x80, 0xf0, 0xfa, 0x02, 0x40, 0x78, 0x7d, 0x01
|
||||||
|
.byte 0x20, 0xbc, 0xbe, 0x00, 0x10, 0x5e, 0x5f, 0x00
|
||||||
|
.byte 0x08, 0xaf, 0x2f, 0x00, 0x84, 0xd7, 0x17, 0x00
|
||||||
|
.byte 0xc2, 0xeb, 0x0b, 0x00, 0xe1, 0xf5, 0x05, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gBerryCrushGrinderBasePal:: @ 82F336C
|
||||||
|
.incbin "graphics/link_games/berrycrush_grinder_base.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gBerryCrushMiscSpritesPal:: @ 82F338C
|
||||||
|
.incbin "graphics/link_games/berrycrush_misc.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gBerryCrushTimerDigitsPal:: @ 82F33AC
|
||||||
|
.incbin "graphics/link_games/berrycrush_timerdigits.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gBerryCrushGrinderBaseGfx:: @ 82F33CC
|
||||||
|
.incbin "graphics/link_games/berrycrush_grinder_base.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gBerryCrushBtnPressGfx:: @ 82F36F8
|
||||||
|
.incbin "graphics/link_games/berrycrush_btnpress.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gBerryCrushSparkleGfx:: @ 82F3A74
|
||||||
|
.incbin "graphics/link_games/berrycrush_sparkle.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gBerryCrushTimerDigitsGfx:: @ 82F3BC0
|
||||||
|
.incbin "graphics/link_games/berrycrush_timerdigits.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gBerryCrushGrinderTopTilemap:: @ 82F3C8C
|
||||||
|
.incbin "graphics/link_games/berrycrush_grinder_top.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gBerryCrushContainerCapTilemap:: @ 82F3DBC
|
||||||
|
.incbin "graphics/link_games/berrycrush_container_cap.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gBerryCrushBackgroundTilemap:: @ 82F3F54
|
||||||
|
.incbin "graphics/link_games/berrycrush_background.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F417C:: @ 82F417C
|
||||||
|
.byte 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03
|
||||||
|
.byte 0x00, 0x00, 0x01, 0x03, 0x02, 0x04, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x03, 0x02, 0x04
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4190:: @ 82F4190
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xff
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x03, 0x00
|
||||||
|
.byte 0xe4, 0xff, 0xfc, 0xff, 0xe8, 0xff, 0x10, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x06, 0x00, 0xf0, 0xff, 0x14, 0x00
|
||||||
|
.byte 0xf8, 0xff, 0x10, 0x00, 0x03, 0x14, 0x03, 0x00
|
||||||
|
.byte 0x1c, 0x00, 0xfc, 0xff, 0x20, 0x00, 0xf8, 0xff
|
||||||
|
.byte 0x04, 0x14, 0x06, 0x00, 0x10, 0x00, 0x14, 0x00
|
||||||
|
.byte 0x10, 0x00, 0xf8, 0xff
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F41CC:: @ 82F41CC
|
||||||
|
.byte 0x00, 0x00, 0xff, 0x00, 0x01, 0x01, 0x00, 0x00
|
||||||
|
.byte 0xf0, 0xfc, 0x10, 0xfc, 0xf8, 0xfe, 0x08, 0xfe
|
||||||
|
.byte 0xe8, 0xf8, 0x18, 0xf8, 0xe0, 0xf4, 0x20, 0xf4
|
||||||
|
.byte 0xd8, 0xf0, 0x28, 0xf0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F41E8:: @ 82F41E8
|
||||||
|
.2byte 0x0005, 0x0006, 0x0007, 0x0008, 0x0009, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F41F4:: @ 82F41F4
|
||||||
|
.4byte gBerryCrushGrinderBaseGfx
|
||||||
|
.2byte 0x0800, 0x0001
|
||||||
|
|
||||||
|
.4byte gBerryCrushBtnPressGfx
|
||||||
|
.2byte 0x0e00, 0x0002
|
||||||
|
|
||||||
|
.4byte gBerryCrushSparkleGfx
|
||||||
|
.2byte 0x0700, 0x0003
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F420C:: @ 82F420C
|
||||||
|
.4byte gBerryCrushTimerDigitsGfx
|
||||||
|
.2byte 0x02c0, 0x0004
|
||||||
|
|
||||||
|
.4byte NULL
|
||||||
|
.2byte 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F421C:: @ 82F421C
|
||||||
|
.4byte gBerryCrushGrinderBasePal
|
||||||
|
.2byte 0x0001
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.4byte gBerryCrushMiscSpritesPal
|
||||||
|
.2byte 0x0002
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F422C:: @ 82F422C
|
||||||
|
.align 2
|
||||||
|
.4byte gBerryCrushTimerDigitsPal
|
||||||
|
.2byte 0x0004
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.4byte NULL
|
||||||
|
.2byte 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F423C:: @ 82F423C
|
||||||
|
.2byte 0x0000, 0x0000, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4244:: @ 82F4244
|
||||||
|
.2byte 0x0000, 0x0004, 0x0010, 0x0004, 0x0020, 0x0004, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4254:: @ 82F4254
|
||||||
|
.2byte 0x0030, 0x0002, 0x0040, 0x0002, 0x0050, 0x0002, 0x0060, 0x0002
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4268:: @ 82F4268
|
||||||
|
.2byte 0x0000, 0x0002, 0x0004, 0x0002, 0x0008, 0x0002, 0x000c, 0x0002
|
||||||
|
.2byte 0x0010, 0x0002, 0x0014, 0x0002, 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4284:: @ 82F4284
|
||||||
|
.2byte 0x0018, 0x0004, 0x001c, 0x0004, 0x0020, 0x0004, 0x0024, 0x0004
|
||||||
|
.2byte 0x0028, 0x0004, 0x002c, 0x0004, 0x0030, 0x0004, 0x0034, 0x0004
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F42A8:: @ 82F42A8
|
||||||
|
.2byte 0x0014, 0x0000, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F42B0:: @ 82F42B0
|
||||||
|
.2byte 0x0000, 0x0000, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F42B8:: @ 82F42B8
|
||||||
|
.2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x0102, 0x0000
|
||||||
|
.2byte 0x7ffe, 0x0001, 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F42D0:: @ 82F42D0
|
||||||
|
.2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x01fe, 0x0000
|
||||||
|
.2byte 0x7ffe, 0x0001, 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F42E8:: @ 82F42E8
|
||||||
|
.4byte gUnknown_082F423C
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F42EC:: @ 82F42EC
|
||||||
|
.4byte gUnknown_082F4244
|
||||||
|
.4byte gUnknown_082F4254
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F42F4:: @ 82F42F4
|
||||||
|
.4byte gUnknown_082F4268
|
||||||
|
.4byte gUnknown_082F4284
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F42FC:: @ 82F42FC
|
||||||
|
.4byte gUnknown_082F42A8
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4300:: @ 82F4300
|
||||||
|
.4byte gUnknown_082F42B0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4304:: @ 82F4304
|
||||||
|
.4byte gUnknown_082F42B8
|
||||||
|
.4byte gUnknown_082F42D0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F430C:: @ 82F430C
|
||||||
|
spr_template 0x0001, 0x0001, gUnknown_0852491C, gUnknown_082F42E8, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4324:: @ 82F4324
|
||||||
|
spr_template 0x0002, 0x0002, gUnknown_08524914, gUnknown_082F42EC, NULL, gDummySpriteAffineAnimTable, sub_8022A20
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F433C:: @ 82F433C
|
||||||
|
spr_template 0x0003, 0x0002, gUnknown_0852490C, gUnknown_082F42F4, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4354:: @ 82F4354
|
||||||
|
spr_template 0x0004, 0x0004, gUnknown_08524944, gUnknown_082F42FC, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F436C:: @ 82F436C
|
||||||
|
spr_template 0x0005, 0x0005, gUnknown_085249D4, gUnknown_082F4300, NULL, gUnknown_082F4304, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4384:: @ 82F4384
|
||||||
|
.byte 0x09, 0x02, 0x08, 0x00, 0x9c, 0x00, 0x00, 0x00
|
||||||
|
.4byte gUnknown_082F420C
|
||||||
|
.4byte gUnknown_082F422C
|
||||||
|
|
||||||
|
.byte 0x08, 0x02, 0x08, 0x00, 0xb4, 0x00, 0x00, 0x00
|
||||||
|
.4byte gUnknown_082F420C
|
||||||
|
.4byte gUnknown_082F422C
|
||||||
|
|
||||||
|
.byte 0x08, 0x02, 0x08, 0x00, 0xcc, 0x00, 0x00, 0x00
|
||||||
|
.4byte gUnknown_082F420C
|
||||||
|
.4byte gUnknown_082F422C
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F43B4:: @ 82F43B4
|
||||||
|
.4byte gText_SpaceTimes2
|
||||||
|
.4byte gText_XDotY
|
||||||
|
.4byte gText_Var1Berry
|
||||||
|
.4byte gText_NeatnessRankings
|
||||||
|
.4byte gText_CoopRankings
|
||||||
|
.4byte gText_PressingPowerRankings
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F43CC:: @ 82F43CC
|
||||||
|
.4byte NULL
|
||||||
|
.4byte sub_8022C58
|
||||||
|
.4byte sub_8022CB0
|
||||||
|
.4byte sub_8022D14
|
||||||
|
.4byte sub_8022E1C
|
||||||
|
.4byte sub_8022E3C
|
||||||
|
.4byte sub_8022E5C
|
||||||
|
.4byte sub_8022EAC
|
||||||
|
.4byte sub_8022F04
|
||||||
|
.4byte sub_8022F1C
|
||||||
|
.4byte sub_8023070
|
||||||
|
.4byte sub_80231B8
|
||||||
|
.4byte sub_80232EC
|
||||||
|
.4byte sub_80238F0
|
||||||
|
.4byte sub_8023998
|
||||||
|
.4byte sub_8023A30
|
||||||
|
.4byte sub_8023BC0
|
||||||
|
.4byte sub_8023CAC
|
||||||
|
.4byte sub_8024048
|
||||||
|
.4byte sub_8024134
|
||||||
|
.4byte sub_8024228
|
||||||
|
.4byte sub_80242E0
|
||||||
|
.4byte sub_80243BC
|
||||||
|
.4byte sub_8024444
|
||||||
|
.4byte sub_8024508
|
||||||
|
.4byte sub_8024568
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F4434:: @ 82F4434
|
||||||
|
.byte 0x02, 0x04, 0x06, 0x07, 0x03, 0x05, 0x08, 0x0b
|
||||||
|
.byte 0x03, 0x07, 0x0b, 0x0f, 0x04, 0x08, 0x0c, 0x11
|
||||||
|
|
||||||
|
gUnknown_082F4444:: @ 82F4444
|
||||||
|
.byte 0x05, 0x07, 0x09, 0x0c
|
||||||
|
|
||||||
|
gUnknown_082F4448:: @ 82F4448
|
||||||
|
.byte 0x03, 0x07, 0x0f, 0x1f
|
35
data/berry_powder_vendor.s
Executable file
35
data/berry_powder_vendor.s
Executable file
@ -0,0 +1,35 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BA4_UnrefDupe:: @ 82F444C struct BgTemplate
|
||||||
|
.4byte 0x000001e0
|
||||||
|
.4byte 0x000012c9
|
||||||
|
.4byte 0x000012ea
|
||||||
|
.4byte 0x000021ff
|
||||||
|
.4byte 0x000000ff
|
||||||
|
.4byte 0x00000000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BBC_UnrefDupe:: @ 82F4464
|
||||||
|
window_template 0x00, 0x01, 0x01, 0x1c, 0x02, 0x0d, 0x0013
|
||||||
|
window_template 0x00, 0x01, 0x05, 0x1c, 0x0e, 0x0d, 0x004b
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BCC_UnrefDupe:: @ 82F4474
|
||||||
|
window_template 0x00, 0x01, 0x05, 0x1c, 0x07, 0x0d, 0x004b
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BD4_UnrefDupe:: @ 82F447C
|
||||||
|
window_template 0x00, 0x01, 0x08, 0x13, 0x03, 0x0d, 0x0013
|
||||||
|
window_template 0x00, 0x16, 0x07, 0x06, 0x04, 0x0d, 0x004c
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BE4_UnrefDupe:: @ 82F448C
|
||||||
|
window_template 0x00, 0x04, 0x06, 0x16, 0x05, 0x0d, 0x0013
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BEC_UnrefDupe:: @ 82F4494
|
||||||
|
window_template 0x00, 0x05, 0x08, 0x13, 0x03, 0x0d, 0x0013
|
663
data/dodrio_berry_picking.s
Executable file
663
data/dodrio_berry_picking.s
Executable file
@ -0,0 +1,663 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F449C:: @ 82F449C
|
||||||
|
.byte 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07
|
||||||
|
.byte 0x08, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x03, 0x08
|
||||||
|
.byte 0x09, 0x00, 0x00, 0x01, 0x02, 0x05, 0x06, 0x03
|
||||||
|
.byte 0x04, 0x05, 0x08, 0x09, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01
|
||||||
|
.byte 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x02, 0x09
|
||||||
|
.byte 0x00, 0x00, 0x01, 0x04, 0x05, 0x06, 0x07, 0x02
|
||||||
|
.byte 0x03, 0x04, 0x09, 0x00, 0x00, 0x01, 0x06, 0x07
|
||||||
|
.byte 0x02, 0x03, 0x04, 0x05, 0x06, 0x09, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02
|
||||||
|
.byte 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x01, 0x00
|
||||||
|
.byte 0x00, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x01
|
||||||
|
.byte 0x02, 0x03, 0x00, 0x00, 0x05, 0x06, 0x07, 0x08
|
||||||
|
.byte 0x01, 0x02, 0x03, 0x04, 0x05, 0x00, 0x00, 0x07
|
||||||
|
.byte 0x08, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03
|
||||||
|
.byte 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x00, 0x02
|
||||||
|
.byte 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x00
|
||||||
|
.byte 0x01, 0x02, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09
|
||||||
|
.byte 0x00, 0x01, 0x02, 0x03, 0x04, 0x06, 0x07, 0x08
|
||||||
|
.byte 0x09, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
|
||||||
|
.byte 0x08, 0x09, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05
|
||||||
|
.byte 0x06, 0x07, 0x08, 0x04, 0x05, 0x06, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x03, 0x04, 0x05, 0x05, 0x06, 0x03
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x04, 0x05, 0x06, 0x06, 0x07, 0x02, 0x02
|
||||||
|
.byte 0x03, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x03, 0x04, 0x05, 0x05, 0x06, 0x07, 0x07, 0x08
|
||||||
|
.byte 0x01, 0x01, 0x02, 0x03, 0x00, 0x00, 0x00, 0x04
|
||||||
|
.byte 0x05, 0x06, 0x06, 0x07, 0x08, 0x08, 0x09, 0x00
|
||||||
|
.byte 0x00, 0x01, 0x02, 0x02, 0x03, 0x04, 0x01, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01
|
||||||
|
.byte 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00
|
||||||
|
.byte 0x01, 0x02, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x03, 0x00, 0x01, 0x00, 0x01
|
||||||
|
.byte 0x02, 0x01, 0x02, 0x03, 0x02, 0x03, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x04, 0x00, 0x01, 0x00, 0x01, 0x02
|
||||||
|
.byte 0x01, 0x02, 0x03, 0x02, 0x03, 0x04, 0x03, 0x04
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x09, 0x09, 0x09, 0x09
|
||||||
|
.byte 0x01, 0x01, 0x01, 0x09, 0x09, 0x09, 0x09, 0x09
|
||||||
|
.byte 0x09, 0x09, 0x00, 0x00, 0x01, 0x01, 0x00, 0x09
|
||||||
|
.byte 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x01, 0x01, 0x09, 0x09, 0x09, 0x03, 0x03
|
||||||
|
.byte 0x00, 0x00, 0x01, 0x01, 0x02, 0x02, 0x03, 0x09
|
||||||
|
.byte 0x03, 0x03, 0x04, 0x04, 0x00, 0x00, 0x01, 0x01
|
||||||
|
.byte 0x02, 0x02, 0x03, 0x05, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x04, 0x06, 0x00, 0x00, 0x00, 0x03, 0x05, 0x07
|
||||||
|
.byte 0x00, 0x00, 0x02, 0x04, 0x06, 0x08, 0x00, 0x01
|
||||||
|
.byte 0x03, 0x05, 0x06, 0x09
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7DF0_UnrefDupe:: @ 82F4698
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg1.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg2.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7E30_UnrefDupe:: @ 82F46B8
|
||||||
|
.incbin "graphics/link_games/dodrioberry_pkmn.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7E50_UnrefDupe:: @ 82F46D8
|
||||||
|
.incbin "graphics/link_games/dodrioberry_shiny.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7E70_UnrefDupe:: @ 82F46F8
|
||||||
|
.incbin "graphics/link_games/dodrioberry_status.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7E90_UnrefDupe:: @ 82F4718
|
||||||
|
.incbin "graphics/link_games/dodrioberry_berrysprites.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7EB0_UnrefDupe:: @ 82F4738
|
||||||
|
.incbin "graphics/link_games/dodrioberry_berrysprites.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F8064_UnrefDupe:: @ 82F490C
|
||||||
|
.incbin "graphics/link_games/dodrioberry_platform.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F8084_UnrefDupe:: @ 82F492C
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg1.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F8914_UnrefDupe:: @ 82F51BC
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg2.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F96E0_UnrefDupe:: @ 82F5F88
|
||||||
|
.incbin "graphics/link_games/dodrioberry_status.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F9774_UnrefDupe:: @ 82F601C
|
||||||
|
.incbin "graphics/link_games/dodrioberry_platform.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F98BC_UnrefDupe:: @ 82F6164
|
||||||
|
.incbin "graphics/link_games/dodrioberry_pkmn.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FAAD8_UnrefDupe:: @ 82F7380
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg1.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FAD44_UnrefDupe:: @ 82F75EC
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg2right.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FAF94_UnrefDupe:: @ 82F783C
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg2left.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7A88:: @ 82F7A88
|
||||||
|
.byte 0x28, 0x18, 0x0d, 0x20, 0x13, 0x0a, 0x16, 0x0d
|
||||||
|
.byte 0x07, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7A94:: @ 82F7A94
|
||||||
|
.byte 0x08, 0x05, 0x08, 0x0b, 0x0f, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7A9C:: @ 82F7A9C
|
||||||
|
.byte 0x05, 0x0a, 0x14, 0x1e, 0x32, 0x46, 0x64, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7AA4:: @ 82F7AA4
|
||||||
|
.byte 0x0f, 0x10, 0x11, 0x12, 0x13, 0x13, 0x12, 0x11
|
||||||
|
.byte 0x10, 0x0f, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19
|
||||||
|
.byte 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21
|
||||||
|
.byte 0x22, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7AC4:: @ 82F7AC4
|
||||||
|
.4byte sub_8024DBC
|
||||||
|
.4byte sub_8024E00
|
||||||
|
.4byte sub_8024E38
|
||||||
|
.4byte sub_8024F10
|
||||||
|
.4byte sub_8024F38
|
||||||
|
.4byte sub_8025198
|
||||||
|
.4byte sub_8025324
|
||||||
|
.4byte sub_8025470
|
||||||
|
.4byte sub_8025644
|
||||||
|
.4byte sub_80256AC
|
||||||
|
.4byte sub_8025758
|
||||||
|
.4byte sub_80250D4
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7AF4:: @ 82F7AF4
|
||||||
|
.4byte sub_8024DBC
|
||||||
|
.4byte sub_8024E00
|
||||||
|
.4byte sub_8024E38
|
||||||
|
.4byte sub_8024F10
|
||||||
|
.4byte sub_8024FFC
|
||||||
|
.4byte sub_8025230
|
||||||
|
.4byte sub_8025324
|
||||||
|
.4byte sub_8025470
|
||||||
|
.4byte sub_8025644
|
||||||
|
.4byte sub_80256AC
|
||||||
|
.4byte sub_8025758
|
||||||
|
.4byte sub_8025158
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7B24:: @ 82F7B24
|
||||||
|
.2byte 0x000a, 0x001e, 0x0032, 0x0032
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7B2C:: @ 82F7B2C
|
||||||
|
.byte 0x00, 0x05, 0x01, 0x14, 0x0b, 0x0f, 0x01, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7B34:: @ 82F7B34
|
||||||
|
.4byte gText_BerriesPicked
|
||||||
|
.4byte gText_BestScore
|
||||||
|
.4byte gText_BerriesInRowFivePlayers
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7B40:: @ 82F7B40
|
||||||
|
.byte 0x04, 0x07, 0x04, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7B44:: @ 82F7B44
|
||||||
|
.2byte 0x0019, 0x0029, 0x0039
|
||||||
|
|
||||||
|
gUnknown_082F7B4A:: @ 82F7B4A
|
||||||
|
.2byte 0x0019, 0x0029, 0x0049
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7B50:: @ 82F7B50
|
||||||
|
.2byte 0x270f, 0x0000, 0x005a, 0x270f, 0x270f, 0x270f, 0x0046, 0x270f
|
||||||
|
.2byte 0x270f, 0x0000, 0x270f, 0x0000, 0x270f, 0x270f, 0x003c, 0x0000
|
||||||
|
.2byte 0x270f, 0x270f, 0x270f, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7B78:: @ 82F7B78
|
||||||
|
.string "ÀÁÂÇÈÉÊ$"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7B80:: @ 82F7B80
|
||||||
|
.string "ABCDEFG$"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7B88:: @ 82F7B88
|
||||||
|
.string "0123456$"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7B90:: @ 82F7B90
|
||||||
|
.4byte gUnknown_082F7B78
|
||||||
|
.4byte gUnknown_082F7B78
|
||||||
|
.4byte gUnknown_082F7B78
|
||||||
|
.4byte gUnknown_082F7B80
|
||||||
|
.4byte gUnknown_082F7B88
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BA4:: @ 82F7BA4 struct BgTemplate
|
||||||
|
.4byte 0x000001e0
|
||||||
|
.4byte 0x000012c9
|
||||||
|
.4byte 0x000012ea
|
||||||
|
.4byte 0x000021ff
|
||||||
|
.4byte 0x000000ff
|
||||||
|
.4byte 0x00000000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BBC:: @ 82F7BBC
|
||||||
|
window_template 0x00, 0x01, 0x01, 0x1c, 0x02, 0x0d, 0x0013
|
||||||
|
window_template 0x00, 0x01, 0x05, 0x1c, 0x0e, 0x0d, 0x004b
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BCC:: @ 82F7BCC
|
||||||
|
window_template 0x00, 0x01, 0x05, 0x1c, 0x07, 0x0d, 0x004b
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BD4:: @ 82F7BD4
|
||||||
|
window_template 0x00, 0x01, 0x08, 0x13, 0x03, 0x0d, 0x0013
|
||||||
|
window_template 0x00, 0x16, 0x07, 0x06, 0x04, 0x0d, 0x004c
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BE4:: @ 82F7BE4
|
||||||
|
window_template 0x00, 0x04, 0x06, 0x16, 0x05, 0x0d, 0x0013
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F7BEC:: @ 82F7BEC
|
||||||
|
window_template 0x00, 0x05, 0x08, 0x13, 0x03, 0x0d, 0x0013
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F449C_UnrefDupe:: @ 82F7BF4
|
||||||
|
.byte 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07
|
||||||
|
.byte 0x08, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x03, 0x08
|
||||||
|
.byte 0x09, 0x00, 0x00, 0x01, 0x02, 0x05, 0x06, 0x03
|
||||||
|
.byte 0x04, 0x05, 0x08, 0x09, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01
|
||||||
|
.byte 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x02, 0x09
|
||||||
|
.byte 0x00, 0x00, 0x01, 0x04, 0x05, 0x06, 0x07, 0x02
|
||||||
|
.byte 0x03, 0x04, 0x09, 0x00, 0x00, 0x01, 0x06, 0x07
|
||||||
|
.byte 0x02, 0x03, 0x04, 0x05, 0x06, 0x09, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02
|
||||||
|
.byte 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x01, 0x00
|
||||||
|
.byte 0x00, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x01
|
||||||
|
.byte 0x02, 0x03, 0x00, 0x00, 0x05, 0x06, 0x07, 0x08
|
||||||
|
.byte 0x01, 0x02, 0x03, 0x04, 0x05, 0x00, 0x00, 0x07
|
||||||
|
.byte 0x08, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03
|
||||||
|
.byte 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x00, 0x02
|
||||||
|
.byte 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x00
|
||||||
|
.byte 0x01, 0x02, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09
|
||||||
|
.byte 0x00, 0x01, 0x02, 0x03, 0x04, 0x06, 0x07, 0x08
|
||||||
|
.byte 0x09, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
|
||||||
|
.byte 0x08, 0x09, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05
|
||||||
|
.byte 0x06, 0x07, 0x08, 0x04, 0x05, 0x06, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x03, 0x04, 0x05, 0x05, 0x06, 0x03
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x04, 0x05, 0x06, 0x06, 0x07, 0x02, 0x02
|
||||||
|
.byte 0x03, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x03, 0x04, 0x05, 0x05, 0x06, 0x07, 0x07, 0x08
|
||||||
|
.byte 0x01, 0x01, 0x02, 0x03, 0x00, 0x00, 0x00, 0x04
|
||||||
|
.byte 0x05, 0x06, 0x06, 0x07, 0x08, 0x08, 0x09, 0x00
|
||||||
|
.byte 0x00, 0x01, 0x02, 0x02, 0x03, 0x04, 0x01, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01
|
||||||
|
.byte 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00
|
||||||
|
.byte 0x01, 0x02, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x03, 0x00, 0x01, 0x00, 0x01
|
||||||
|
.byte 0x02, 0x01, 0x02, 0x03, 0x02, 0x03, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x04, 0x00, 0x01, 0x00, 0x01, 0x02
|
||||||
|
.byte 0x01, 0x02, 0x03, 0x02, 0x03, 0x04, 0x03, 0x04
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x09, 0x09, 0x09, 0x09
|
||||||
|
.byte 0x01, 0x01, 0x01, 0x09, 0x09, 0x09, 0x09, 0x09
|
||||||
|
.byte 0x09, 0x09, 0x00, 0x00, 0x01, 0x01, 0x00, 0x09
|
||||||
|
.byte 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x01, 0x01, 0x09, 0x09, 0x09, 0x03, 0x03
|
||||||
|
.byte 0x00, 0x00, 0x01, 0x01, 0x02, 0x02, 0x03, 0x09
|
||||||
|
.byte 0x03, 0x03, 0x04, 0x04, 0x00, 0x00, 0x01, 0x01
|
||||||
|
.byte 0x02, 0x02, 0x03, 0x05, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x04, 0x06, 0x00, 0x00, 0x00, 0x03, 0x05, 0x07
|
||||||
|
.byte 0x00, 0x00, 0x02, 0x04, 0x06, 0x08, 0x00, 0x01
|
||||||
|
.byte 0x03, 0x05, 0x06, 0x09
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryBgPal1:: @ 82F7DF0
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg1.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg2.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryPkmnPal:: @ 82F7E30
|
||||||
|
.incbin "graphics/link_games/dodrioberry_pkmn.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryShinyPal:: @ 82F7E50
|
||||||
|
.incbin "graphics/link_games/dodrioberry_shiny.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryStatusPal:: @ 82F7E70
|
||||||
|
.incbin "graphics/link_games/dodrioberry_status.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerrySpritesPal:: @ 82F7E90
|
||||||
|
.incbin "graphics/link_games/dodrioberry_berrysprites.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerrySpritesGfx:: @ 82F7EB0
|
||||||
|
.incbin "graphics/link_games/dodrioberry_berrysprites.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryPlatformPal:: @ 82F8064
|
||||||
|
.incbin "graphics/link_games/dodrioberry_platform.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryBgGfx1:: @ 82F8084
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg1.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryBgGfx2:: @ 82F8914
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg2.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryStatusGfx:: @ 82F96E0
|
||||||
|
.incbin "graphics/link_games/dodrioberry_status.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryPlatformGfx:: @ 82F9774
|
||||||
|
.incbin "graphics/link_games/dodrioberry_platform.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryPkmnGfx:: @ 82F98BC
|
||||||
|
.incbin "graphics/link_games/dodrioberry_pkmn.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryBgTilemap1:: @ 82FAAD8
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg1.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryBgTilemap2Right:: @ 82FAD44
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg2right.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gDodrioBerryBgTilemap2Left:: @ 82FAF94
|
||||||
|
.incbin "graphics/link_games/dodrioberry_bg2left.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB1E0:: @ 82FB1E0
|
||||||
|
.byte 0x00, 0x00, 0x00, 0xc0, 0x00, 0x08, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB1E8:: @ 82FB1E8
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB1F0:: @ 82FB1F0
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x40, 0x00, 0x08, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB1F8:: @ 82FB1F8
|
||||||
|
.byte 0x00, 0x40, 0x00, 0xc0, 0x00, 0x0c, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB200:: @ 82FB200
|
||||||
|
.2byte 0x0000, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB208:: @ 82FB208
|
||||||
|
.2byte 0x0040, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB210:: @ 82FB210
|
||||||
|
.2byte 0x0080, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB218:: @ 82FB218
|
||||||
|
.2byte 0x00c0, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB220:: @ 82FB220
|
||||||
|
.2byte 0x0100, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB228:: @ 82FB228
|
||||||
|
.4byte gUnknown_082FB200
|
||||||
|
.4byte gUnknown_082FB208
|
||||||
|
.4byte gUnknown_082FB210
|
||||||
|
.4byte gUnknown_082FB218
|
||||||
|
.4byte gUnknown_082FB220
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB23C:: @ 82FB23C
|
||||||
|
.2byte 0x0000, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB244:: @ 82FB244
|
||||||
|
.2byte 0x0004, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB24C:: @ 82FB24C
|
||||||
|
.2byte 0x0008, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB254:: @ 82FB254
|
||||||
|
.4byte gUnknown_082FB23C
|
||||||
|
.4byte gUnknown_082FB244
|
||||||
|
.4byte gUnknown_082FB24C
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB260:: @ 82FB260
|
||||||
|
.2byte 0x0000, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB268:: @ 82FB268
|
||||||
|
.2byte 0x0004, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB270:: @ 82FB270
|
||||||
|
.2byte 0x0008, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB278:: @ 82FB278
|
||||||
|
.2byte 0x000c, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB280:: @ 82FB280
|
||||||
|
.2byte 0x0010, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB288:: @ 82FB288
|
||||||
|
.2byte 0x0014, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB290:: @ 82FB290
|
||||||
|
.2byte 0x0018, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB298:: @ 82FB298
|
||||||
|
.2byte 0x001c, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB2A0:: @ 82FB2A0
|
||||||
|
.2byte 0x0020, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB2A8:: @ 82FB2A8
|
||||||
|
.4byte gUnknown_082FB260
|
||||||
|
.4byte gUnknown_082FB268
|
||||||
|
.4byte gUnknown_082FB270
|
||||||
|
.4byte gUnknown_082FB278
|
||||||
|
.4byte gUnknown_082FB280
|
||||||
|
.4byte gUnknown_082FB288
|
||||||
|
.4byte gUnknown_082FB290
|
||||||
|
.4byte gUnknown_082FB298
|
||||||
|
.4byte gUnknown_082FB2A0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB2CC:: @ 82FB2CC
|
||||||
|
.2byte 0x0000, 0x0014
|
||||||
|
.2byte 0xfffe, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB2D4:: @ 82FB2D4
|
||||||
|
.4byte gUnknown_082FB2CC
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB2D8:: @ 82FB2D8
|
||||||
|
obj_pal gDodrioBerryPkmnPal, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB2E0:: @ 82FB2E0
|
||||||
|
obj_pal gDodrioBerryShinyPal, 0x0001
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB2E8:: @ 82FB2E8
|
||||||
|
obj_pal gDodrioBerryStatusPal, 0x0002
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB2F0:: @ 82FB2F0
|
||||||
|
spr_template 0x0001, 0x0002, gUnknown_082FB1E8, gUnknown_082FB254, NULL, gDummySpriteAffineAnimTable, nullsub_15
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.byte 0xD4, 0x3E, 0x3F, 0x40, 0x41, 0x42, 0x43, 0x44
|
||||||
|
.byte 0x45, 0xFB, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB314:: @ 82FB314
|
||||||
|
obj_pal gDodrioBerrySpritesPal, 0x0003
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB31C:: @ 82FB31C
|
||||||
|
.2byte 0x0058, 0x0080, 0x00a8, 0x00d0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB324:: @ 82FB324
|
||||||
|
spr_template 0x0002, 0x0003, gUnknown_082FB1F0, gUnknown_082FB2A8, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB33C:: @ 82FB33C
|
||||||
|
spr_template 0x0002, 0x0003, gUnknown_082FB1E8, gUnknown_082FB2A8, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB354:: @ 82FB354
|
||||||
|
.byte 0x1E, 0x14
|
||||||
|
|
||||||
|
gUnknown_082FB356:: @ 82FB356
|
||||||
|
.byte 0xE6, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB358:: @ 82FB358
|
||||||
|
.2byte 0x0037, 0x001e, 0x004a, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB360:: @ 82FB360
|
||||||
|
obj_pal gDodrioBerryPlatformPal, 0x0006
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB368:: @ 82FB368
|
||||||
|
spr_template 0x0005, 0x0006, gUnknown_082FB1F8, gUnknown_082FB2D4, NULL, gDummySpriteAffineAnimTable, sub_8028CF4
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB380:: @ 82FB380
|
||||||
|
.byte 0x01, 0x02, 0x03
|
||||||
|
|
||||||
|
gUnknown_082FB383:: @ 82FB383
|
||||||
|
.byte 0x01, 0x04, 0x05
|
||||||
|
.byte 0x01, 0x08, 0x09
|
||||||
|
.byte 0x01, 0x06, 0x07
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB38C:: @ 82FB38C
|
||||||
|
.byte 0x0c, 0x06, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB390:: @ 82FB390
|
||||||
|
.byte 0x09, 0x0a, 0x00, 0x00, 0x0f, 0x06, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB398:: @ 82FB398
|
||||||
|
.byte 0x0c, 0x06, 0x00, 0x00, 0x12, 0x0a, 0x00, 0x00
|
||||||
|
.byte 0x06, 0x0a, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB3A4:: @ 82FB3A4
|
||||||
|
.byte 0x09, 0x0a, 0x00, 0x00, 0x0f, 0x06, 0x00, 0x00
|
||||||
|
.byte 0x15, 0x0a, 0x00, 0x00, 0x03, 0x06, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB3B4:: @ 82FB3B4
|
||||||
|
.byte 0x0c, 0x06, 0x00, 0x00, 0x12, 0x0a, 0x00, 0x00
|
||||||
|
.byte 0x17, 0x06, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00
|
||||||
|
.byte 0x06, 0x0a, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB3C8:: @ 82FB3C8
|
||||||
|
.4byte gUnknown_082FB38C
|
||||||
|
.4byte gUnknown_082FB390
|
||||||
|
.4byte gUnknown_082FB398
|
||||||
|
.4byte gUnknown_082FB3A4
|
||||||
|
.4byte gUnknown_082FB3B4
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB3DC:: @ 82FB3DC
|
||||||
|
.4byte gText_1Colon
|
||||||
|
.4byte gText_2Colon
|
||||||
|
.4byte gText_3Colon
|
||||||
|
.4byte gText_4Colon
|
||||||
|
.4byte gText_5Colon
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB3F0:: @ 82FB3F0
|
||||||
|
.2byte 0x005c, 0x0084, 0x00ac, 0x00d4
|
||||||
|
|
||||||
|
gUnknown_082FB3F8:: @ 82FB3F8
|
||||||
|
.2byte 0x0021, 0x0031, 0x0041, 0x0051, 0x0061
|
||||||
|
|
||||||
|
gUnknown_082FB402:: @ 82FB402
|
||||||
|
.2byte 0x0011, 0x0021, 0x0031, 0x0041, 0x0051
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB40C:: @ 82FB40C
|
||||||
|
.4byte 0x00000000, sub_8029338
|
||||||
|
.4byte 0x00000001, sub_8029440
|
||||||
|
.4byte 0x00000002, sub_802988C
|
||||||
|
.4byte 0x00000003, sub_802A010
|
||||||
|
.4byte 0x00000004, sub_802A380
|
||||||
|
.4byte 0x00000005, sub_802A454
|
||||||
|
.4byte 0x00000006, sub_802A534
|
||||||
|
.4byte 0x00000007, sub_802A588
|
||||||
|
.4byte 0x00000008, unused_0
|
||||||
|
.4byte 0x00000009, nullsub_16
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB45C:: @ 82FB45C
|
||||||
|
.byte 0x00, 0x01, 0x02, 0x03, 0x04, 0x00, 0x00, 0x00
|
260
data/mevent2.s
Executable file
260
data/mevent2.s
Executable file
@ -0,0 +1,260 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F0DE8:: @ 82F0DE8
|
||||||
|
.2byte 0x013a, 0x013b, 0x013c, 0x013d, 0x013e, 0x013f, 0x0140, 0x0141
|
||||||
|
.2byte 0x0142, 0x0143, 0x0144, 0x0145, 0x0146, 0x0147, 0x0148, 0x0149
|
||||||
|
.2byte 0x014a, 0x014b, 0x014c, 0x014d
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F0E10:: @ 82F0E10
|
||||||
|
.byte 0x00, 0x02, 0x03
|
||||||
|
.byte 0x00, 0x01, 0x02
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F0E18:: @ 82F0E18
|
||||||
|
.byte 0x07, 0x04, 0x07, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F0E1C:: @ 82F0E1C
|
||||||
|
window_template 0x01, 0x01, 0x01, 0x19, 0x04, 0x02, 0x029C
|
||||||
|
window_template 0x01, 0x01, 0x06, 0x1C, 0x08, 0x02, 0x01BC
|
||||||
|
window_template 0x01, 0x01, 0x0E, 0x1C, 0x05, 0x02, 0x0130
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgPal1:: @ 82F0E34
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_1.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgPal2:: @ 82F0E54
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_2.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgPal3:: @ 82F0E74
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_3.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgPal4:: @ 82F0E94
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_4.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgPal5:: @ 82F0EB4
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_5.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgPal6:: @ 82F0ED4
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_6.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgPal7:: @ 82F0EF4
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_7.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgPal8:: @ 82F0F14
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_8.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgGfx1:: @ 82F0F34
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_1.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgTilemap1:: @ 82F1030
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_1.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgGfx2:: @ 82F1124
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_2.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgTilemap2:: @ 82F1218
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_2.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgGfx3:: @ 82F1300
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_3.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgTilemap3:: @ 82F13D4
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_3.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgGfx7:: @ 82F14A8
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_7.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgTilemap7:: @ 82F16DC
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_7.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgGfx8:: @ 82F1824
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_8.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardBgTilemap8:: @ 82F1A54
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_8.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardShadowPal1:: @ 82F1B9C
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_shadow_1.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardShadowPal2:: @ 82F1BBC
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_shadow_2.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardShadowPal3:: @ 82F1BDC
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_shadow_3.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardShadowPal4:: @ 82F1BFC
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_shadow_4.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardShadowPal5:: @ 82F1C1C
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_shadow_5.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardShadowPal6:: @ 82F1C3C
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_shadow_6.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardShadowPal7:: @ 82F1C5C
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_shadow_7.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardShadowPal8:: @ 82F1C7C
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_shadow_8.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderCardShadowGfx:: @ 82F1C9C
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_card_shadow.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F1D00:: @ 82F1D00 struct CompressedSpriteSheet
|
||||||
|
.4byte gWonderCardShadowGfx
|
||||||
|
.2byte 0x0100
|
||||||
|
.2byte 0x8000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F1D08:: @ 82F1D08 struct SpritePalette
|
||||||
|
.4byte gWonderCardShadowPal1
|
||||||
|
.2byte 0x8000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.4byte gWonderCardShadowPal2
|
||||||
|
.2byte 0x8000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.4byte gWonderCardShadowPal3
|
||||||
|
.2byte 0x8000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.4byte gWonderCardShadowPal4
|
||||||
|
.2byte 0x8000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.4byte gWonderCardShadowPal5
|
||||||
|
.2byte 0x8000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.4byte gWonderCardShadowPal6
|
||||||
|
.2byte 0x8000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.4byte gWonderCardShadowPal7
|
||||||
|
.2byte 0x8000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
.4byte gWonderCardShadowPal8
|
||||||
|
.2byte 0x8000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F1D48:: @ 82F1D48
|
||||||
|
spr_template 0x8000, 0x8000, gUnknown_08524934, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F1D60:: @ 82F1D60
|
||||||
|
.4byte 0x00000001, gWonderCardBgGfx1, gWonderCardBgTilemap1, gWonderCardBgPal1
|
||||||
|
.4byte 0x00001001, gWonderCardBgGfx2, gWonderCardBgTilemap2, gWonderCardBgPal2
|
||||||
|
.4byte 0x00002001, gWonderCardBgGfx3, gWonderCardBgTilemap3, gWonderCardBgPal3
|
||||||
|
.4byte 0x00003001, gWonderCardBgGfx3, gWonderCardBgTilemap3, gWonderCardBgPal4
|
||||||
|
.4byte 0x00004001, gWonderCardBgGfx3, gWonderCardBgTilemap3, gWonderCardBgPal5
|
||||||
|
.4byte 0x00005001, gWonderCardBgGfx3, gWonderCardBgTilemap3, gWonderCardBgPal6
|
||||||
|
.4byte 0x00006001, gWonderCardBgGfx7, gWonderCardBgTilemap7, gWonderCardBgPal7
|
||||||
|
.4byte 0x00007001, gWonderCardBgGfx8, gWonderCardBgTilemap8, gWonderCardBgPal8
|
||||||
|
|
||||||
|
gUnknown_082F1DE0:: @ 82F1DE0
|
||||||
|
.byte 0x00, 0x02, 0x03, 0x00, 0x01, 0x02, 0x00, 0x00
|
||||||
|
|
||||||
|
gUnknown_082F1DE8:: @ 82F1DE8
|
||||||
|
window_template 0x00, 0x01, 0x00, 0x1C, 0x03, 0x02, 0x02AC
|
||||||
|
window_template 0x02, 0x01, 0x03, 0x1C, 0x14, 0x02, 0x007C
|
||||||
|
|
||||||
|
gUnknown_082F1DF8:: @ 82F1DF8
|
||||||
|
.4byte 0x0318e802, 0x000098e8, 0x10000002, 0x00001000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsPal1:: @ 82F1E08
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_1.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsPal7:: @ 82F1E28
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_7.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsPal8:: @ 82F1E48
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_8.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsGfx1:: @ 82F1E68
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_1.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsTilemap1:: @ 82F1EE8
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_1.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsGfx2:: @ 82F1FC4
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_2.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsTilemap2:: @ 82F1FF4
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_2.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsGfx3:: @ 82F20B4
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_3.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsTilemap3:: @ 82F2124
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_3.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsGfx7:: @ 82F21F0
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_7.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsTilemap7:: @ 82F2280
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_7.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsGfx8:: @ 82F235C
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_8.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gWonderNewsTilemap8:: @ 82F23EC
|
||||||
|
.incbin "graphics/wonder_transfers/wonder_news_8.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F24C8:: @ 82F24C8
|
||||||
|
.4byte 0x00000001, gWonderNewsGfx1, gWonderNewsTilemap1, gWonderNewsPal1
|
||||||
|
.4byte 0x00000001, gWonderNewsGfx2, gWonderNewsTilemap2, gWonderCardBgPal2
|
||||||
|
.4byte 0x00000001, gWonderNewsGfx3, gWonderNewsTilemap3, gWonderCardBgPal3
|
||||||
|
.4byte 0x00000001, gWonderNewsGfx3, gWonderNewsTilemap3, gWonderCardBgPal4
|
||||||
|
.4byte 0x00000001, gWonderNewsGfx3, gWonderNewsTilemap3, gWonderCardBgPal5
|
||||||
|
.4byte 0x00000001, gWonderNewsGfx3, gWonderNewsTilemap3, gWonderCardBgPal6
|
||||||
|
.4byte 0x00000001, gWonderNewsGfx7, gWonderNewsTilemap7, gWonderNewsPal7
|
||||||
|
.4byte 0x00000001, gWonderNewsGfx8, gWonderNewsTilemap8, gWonderNewsPal8
|
292
data/mevent_server.s
Executable file
292
data/mevent_server.s
Executable file
@ -0,0 +1,292 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2548:: @ 82F2548
|
||||||
|
.4byte sub_801D1AC
|
||||||
|
.4byte sub_801D1B4
|
||||||
|
.4byte sub_801D1B8
|
||||||
|
.4byte sub_801D1D4
|
||||||
|
.4byte sub_801D1F0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F255C:: @ 82F255C
|
||||||
|
.4byte sub_801D5D0
|
||||||
|
.4byte sub_801D5F8
|
||||||
|
.4byte sub_801D5FC
|
||||||
|
.4byte sub_801D61C
|
||||||
|
.4byte sub_801D63C
|
||||||
|
.4byte sub_801D810
|
||||||
|
.4byte sub_801D828
|
||||||
|
.4byte sub_801D860
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gText_CanceledReadingCard:: @ 82F257C
|
||||||
|
.string "Canceled reading\nthe Card.$"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2598:: @ 82F2598
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F25A8:: @ 82F25A8
|
||||||
|
.byte 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F25C8:: @ 82F25C8
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F25D8:: @ 82F25D8
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F25E8:: @ 82F25E8
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F25F8:: @ 82F25F8
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2628:: @ 82F2628
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2650:: @ 82F2650
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2660:: @ 82F2660
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2670:: @ 82F2670
|
||||||
|
.byte 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2698:: @ 82F2698
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F26A8:: @ 82F26A8
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F26B8:: @ 82F26B8
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F26F8:: @ 82F26F8
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F25C8
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F25D8
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F2698
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2788:: @ 82F2788
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F26B8
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gText_CanceledReadingCard
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F27D0:: @ 82F27D0
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F2650
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2800:: @ 82F2800
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F2628
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F27D0
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F2660
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2884:: @ 82F2884
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F25F8
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F28E4:: @ 82F28E4
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F2670
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F2884
|
||||||
|
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F2788
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F292C:: @ 82F292C
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F26A8
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x10, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F25E8
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F298C:: @ 82F298C
|
||||||
|
.byte 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x20, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F25A8
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F26F8
|
||||||
|
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F2800
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F29EC:: @ 82F29EC
|
||||||
|
.byte 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x12, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F25A8
|
||||||
|
.byte 0x01, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F26F8
|
||||||
|
.byte 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x02, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F28E4
|
||||||
|
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F2884
|
||||||
|
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gUnknown_082F292C
|
698
data/pokemon_jump.s
Executable file
698
data/pokemon_jump.s
Executable file
@ -0,0 +1,698 @@
|
|||||||
|
#include "constants/species.h"
|
||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpSpecies:: @ 82FB464
|
||||||
|
.2byte SPECIES_BULBASAUR, 0x0002
|
||||||
|
.2byte SPECIES_CHARMANDER, 0x0001
|
||||||
|
.2byte SPECIES_SQUIRTLE, 0x0000
|
||||||
|
.2byte SPECIES_CATERPIE, 0x0001
|
||||||
|
.2byte SPECIES_METAPOD, 0x0001
|
||||||
|
.2byte SPECIES_WEEDLE, 0x0001
|
||||||
|
.2byte SPECIES_KAKUNA, 0x0001
|
||||||
|
.2byte SPECIES_RATTATA, 0x0001
|
||||||
|
.2byte SPECIES_RATICATE, 0x0001
|
||||||
|
.2byte SPECIES_PIKACHU, 0x0000
|
||||||
|
.2byte SPECIES_SANDSHREW, 0x0000
|
||||||
|
.2byte SPECIES_NIDORAN_F, 0x0000
|
||||||
|
.2byte SPECIES_NIDORAN_M, 0x0000
|
||||||
|
.2byte SPECIES_CLEFAIRY, 0x0000
|
||||||
|
.2byte SPECIES_VULPIX, 0x0000
|
||||||
|
.2byte SPECIES_JIGGLYPUFF, 0x0002
|
||||||
|
.2byte SPECIES_ODDISH, 0x0002
|
||||||
|
.2byte SPECIES_PARAS, 0x0001
|
||||||
|
.2byte SPECIES_MEOWTH, 0x0000
|
||||||
|
.2byte SPECIES_PSYDUCK, 0x0002
|
||||||
|
.2byte SPECIES_MANKEY, 0x0001
|
||||||
|
.2byte SPECIES_GROWLITHE, 0x0001
|
||||||
|
.2byte SPECIES_POLIWAG, 0x0002
|
||||||
|
.2byte SPECIES_BELLSPROUT, 0x0002
|
||||||
|
.2byte SPECIES_SHELLDER, 0x0001
|
||||||
|
.2byte SPECIES_KRABBY, 0x0001
|
||||||
|
.2byte SPECIES_EXEGGCUTE, 0x0002
|
||||||
|
.2byte SPECIES_CUBONE, 0x0000
|
||||||
|
.2byte SPECIES_DITTO, 0x0002
|
||||||
|
.2byte SPECIES_EEVEE, 0x0000
|
||||||
|
.2byte SPECIES_OMANYTE, 0x0001
|
||||||
|
.2byte SPECIES_KABUTO, 0x0001
|
||||||
|
.2byte SPECIES_CHIKORITA, 0x0002
|
||||||
|
.2byte SPECIES_CYNDAQUIL, 0x0001
|
||||||
|
.2byte SPECIES_TOTODILE, 0x0000
|
||||||
|
.2byte SPECIES_SPINARAK, 0x0001
|
||||||
|
.2byte SPECIES_PICHU, 0x0000
|
||||||
|
.2byte SPECIES_CLEFFA, 0x0000
|
||||||
|
.2byte SPECIES_IGGLYBUFF, 0x0002
|
||||||
|
.2byte SPECIES_TOGEPI, 0x0002
|
||||||
|
.2byte SPECIES_MAREEP, 0x0000
|
||||||
|
.2byte SPECIES_BELLOSSOM, 0x0002
|
||||||
|
.2byte SPECIES_MARILL, 0x0002
|
||||||
|
.2byte SPECIES_SUNKERN, 0x0002
|
||||||
|
.2byte SPECIES_WOOPER, 0x0002
|
||||||
|
.2byte SPECIES_PINECO, 0x0002
|
||||||
|
.2byte SPECIES_SNUBBULL, 0x0000
|
||||||
|
.2byte SPECIES_SHUCKLE, 0x0002
|
||||||
|
.2byte SPECIES_TEDDIURSA, 0x0000
|
||||||
|
.2byte SPECIES_SLUGMA, 0x0002
|
||||||
|
.2byte SPECIES_SWINUB, 0x0000
|
||||||
|
.2byte SPECIES_HOUNDOUR, 0x0001
|
||||||
|
.2byte SPECIES_PHANPY, 0x0000
|
||||||
|
.2byte SPECIES_PORYGON2, 0x0000
|
||||||
|
.2byte SPECIES_TYROGUE, 0x0001
|
||||||
|
.2byte SPECIES_SMOOCHUM, 0x0002
|
||||||
|
.2byte SPECIES_ELEKID, 0x0001
|
||||||
|
.2byte SPECIES_MAGBY, 0x0001
|
||||||
|
.2byte SPECIES_LARVITAR, 0x0001
|
||||||
|
.2byte SPECIES_TREECKO, 0x0001
|
||||||
|
.2byte SPECIES_TORCHIC, 0x0002
|
||||||
|
.2byte SPECIES_MUDKIP, 0x0000
|
||||||
|
.2byte SPECIES_MARSHTOMP, 0x0000
|
||||||
|
.2byte SPECIES_POOCHYENA, 0x0001
|
||||||
|
.2byte SPECIES_ZIGZAGOON, 0x0000
|
||||||
|
.2byte SPECIES_LINOONE, 0x0000
|
||||||
|
.2byte SPECIES_WURMPLE, 0x0001
|
||||||
|
.2byte SPECIES_SILCOON, 0x0002
|
||||||
|
.2byte SPECIES_CASCOON, 0x0002
|
||||||
|
.2byte SPECIES_LOTAD, 0x0002
|
||||||
|
.2byte SPECIES_SEEDOT, 0x0001
|
||||||
|
.2byte SPECIES_RALTS, 0x0000
|
||||||
|
.2byte SPECIES_KIRLIA, 0x0000
|
||||||
|
.2byte SPECIES_SURSKIT, 0x0002
|
||||||
|
.2byte SPECIES_SHROOMISH, 0x0002
|
||||||
|
.2byte SPECIES_NINCADA, 0x0001
|
||||||
|
.2byte SPECIES_WHISMUR, 0x0000
|
||||||
|
.2byte SPECIES_AZURILL, 0x0002
|
||||||
|
.2byte SPECIES_SKITTY, 0x0000
|
||||||
|
.2byte SPECIES_SABLEYE, 0x0000
|
||||||
|
.2byte SPECIES_MAWILE, 0x0000
|
||||||
|
.2byte SPECIES_ARON, 0x0001
|
||||||
|
.2byte SPECIES_MEDITITE, 0x0002
|
||||||
|
.2byte SPECIES_ELECTRIKE, 0x0001
|
||||||
|
.2byte SPECIES_PLUSLE, 0x0001
|
||||||
|
.2byte SPECIES_MINUN, 0x0001
|
||||||
|
.2byte SPECIES_VOLBEAT, 0x0000
|
||||||
|
.2byte SPECIES_ILLUMISE, 0x0000
|
||||||
|
.2byte SPECIES_ROSELIA, 0x0002
|
||||||
|
.2byte SPECIES_GULPIN, 0x0002
|
||||||
|
.2byte SPECIES_NUMEL, 0x0002
|
||||||
|
.2byte SPECIES_TORKOAL, 0x0002
|
||||||
|
.2byte SPECIES_SPOINK, 0x0000
|
||||||
|
.2byte SPECIES_TRAPINCH, 0x0002
|
||||||
|
.2byte SPECIES_CACNEA, 0x0002
|
||||||
|
.2byte SPECIES_ANORITH, 0x0001
|
||||||
|
.2byte SPECIES_WYNAUT, 0x0000
|
||||||
|
.2byte SPECIES_SNORUNT, 0x0000
|
||||||
|
.2byte SPECIES_CLAMPERL, 0x0001
|
||||||
|
.2byte SPECIES_BAGON, 0x0001
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB5F4:: @ 82FB5F4
|
||||||
|
.4byte sub_802B248
|
||||||
|
.4byte sub_802B2D4
|
||||||
|
.4byte sub_802B368
|
||||||
|
.4byte sub_802B3D4
|
||||||
|
.4byte sub_802B4CC
|
||||||
|
.4byte sub_802B5C8
|
||||||
|
.4byte sub_802B664
|
||||||
|
.4byte sub_802B6B8
|
||||||
|
.4byte sub_802B720
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB618:: @ 82FB618
|
||||||
|
.4byte sub_802B29C
|
||||||
|
.4byte sub_802B31C
|
||||||
|
.4byte sub_802B3B4
|
||||||
|
.4byte sub_802B470
|
||||||
|
.4byte sub_802B568
|
||||||
|
.4byte sub_802B628
|
||||||
|
.4byte sub_802B664
|
||||||
|
.4byte sub_802B704
|
||||||
|
.4byte sub_802B720
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB63C:: @ 82FB63C
|
||||||
|
.2byte 0x001a, 0x001f, 0x0024, 0x0029, 0x002e, 0x0033, 0x0038, 0x003d
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB64C:: @ 82FB64C
|
||||||
|
.2byte 0x0000, 0x0001, 0x0001, 0x0002
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB654:: @ 82FB654
|
||||||
|
.2byte 0x005f, 0x0066, 0x00e4, 0x0105
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB65C:: @ 82FB65C
|
||||||
|
.byte 0xfd, 0xfa, 0xf8, 0xf6, 0xf3, 0xf1, 0xef, 0xed
|
||||||
|
.byte 0xeb, 0xe9, 0xe7, 0xe5, 0xe4, 0xe3, 0xe2, 0xe2
|
||||||
|
.byte 0xe2, 0xe4, 0xe5, 0xe6, 0xe7, 0xe9, 0xea, 0xec
|
||||||
|
.byte 0xee, 0xef, 0xf1, 0xf3, 0xf5, 0xf8, 0xfa, 0xfc
|
||||||
|
.byte 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0xfd, 0xfa, 0xf7, 0xf5, 0xf2, 0xf0, 0xee, 0xec
|
||||||
|
.byte 0xea, 0xe8, 0xe6, 0xe4, 0xe3, 0xe2, 0xe2, 0xe4
|
||||||
|
.byte 0xe6, 0xe8, 0xea, 0xec, 0xee, 0xf0, 0xf2, 0xf5
|
||||||
|
.byte 0xf7, 0xfa, 0xfc, 0xff, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0xfd, 0xfa, 0xf7, 0xf5, 0xf3, 0xf1, 0xef, 0xed
|
||||||
|
.byte 0xeb, 0xe9, 0xe7, 0xe5, 0xe4, 0xe3, 0xe2, 0xe2
|
||||||
|
.byte 0xe2, 0xe2, 0xe3, 0xe3, 0xe4, 0xe4, 0xe5, 0xe5
|
||||||
|
.byte 0xe6, 0xe7, 0xe8, 0xea, 0xec, 0xee, 0xf0, 0xf2
|
||||||
|
.byte 0xf4, 0xf5, 0xf7, 0xfa, 0xfc, 0xff, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB6EC:: @ 82FB6EC
|
||||||
|
.4byte 0x00000000, 0x00000000, 0x00000032, 0x00000064
|
||||||
|
.4byte 0x000000c8, 0x000001f4
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB704:: @ 82FB704
|
||||||
|
.2byte 0x008a, 0x008d, 0x008e, 0x008f, 0x0090, 0x0091, 0x0092, 0x0093
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FB714:: @ 82FB714
|
||||||
|
.4byte 0x00001388, 0x00000001, 0x00001f40, 0x00000002
|
||||||
|
.4byte 0x00002ee0, 0x00000003, 0x00003e80, 0x00000004
|
||||||
|
.4byte 0x00004e20, 0x00000005
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpPal1:: @ 82FB73C
|
||||||
|
.incbin "graphics/link_games/pkmnjump_pal1.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpPal2:: @ 82FB75C
|
||||||
|
.incbin "graphics/link_games/pkmnjump_pal2.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpRopeGfx1:: @ 82FB77C
|
||||||
|
.incbin "graphics/link_games/pkmnjump_rope1.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpRopeGfx2:: @ 82FB89C
|
||||||
|
.incbin "graphics/link_games/pkmnjump_rope2.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpRopeGfx3:: @ 82FBA70
|
||||||
|
.incbin "graphics/link_games/pkmnjump_rope3.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpRopeGfx4:: @ 82FBBA0
|
||||||
|
.incbin "graphics/link_games/pkmnjump_rope4.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpStarGfx:: @ 82FBC9C
|
||||||
|
.incbin "graphics/link_games/pkmnjump_star.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBE08:: @ 82FBE08
|
||||||
|
obj_tiles gPkmnJumpRopeGfx1, 0x0600, 0x0005
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
obj_tiles gPkmnJumpRopeGfx2, 0x0c00, 0x0006
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
obj_tiles gPkmnJumpRopeGfx3, 0x0600, 0x0007
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
obj_tiles gPkmnJumpRopeGfx4, 0x0600, 0x0008
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
obj_tiles gPkmnJumpStarGfx, 0x0200, 0x000a
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBE30:: @ 82FBE30
|
||||||
|
obj_pal gPkmnJumpPal1, 0x0005
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
obj_pal gPkmnJumpPal2, 0x0006
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBE40:: @ 82FBE40
|
||||||
|
spr_template 0x0000, 0x0000, gUnknown_082FBEC8, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
gUnknown_082FBE58:: @ 82FBE58
|
||||||
|
.2byte 0x0060, 0x0060, 0x0060, 0x0072, 0x0078, 0x0078, 0x0078, 0x0072
|
||||||
|
.2byte 0x0060, 0x0060, 0x0046, 0x0050, 0x0060, 0x0072, 0x0078, 0x0080
|
||||||
|
.2byte 0x0078, 0x0072, 0x0060, 0x0050, 0x0032, 0x0048, 0x0060, 0x0072
|
||||||
|
.2byte 0x0080, 0x0088, 0x0080, 0x0072, 0x0060, 0x0048, 0x002a, 0x0048
|
||||||
|
.2byte 0x0060, 0x0072, 0x0080, 0x0088, 0x0080, 0x0072, 0x0060, 0x0048
|
||||||
|
|
||||||
|
gUnknown_082FBEA8:: @ 82FBEA8
|
||||||
|
.2byte 0x0010, 0x0028, 0x0048, 0x0068, 0x0088, 0x00a8, 0x00c8, 0x00e0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBEB8:: @ 82FBEB8
|
||||||
|
.4byte gUnknown_082FBF78
|
||||||
|
.4byte gUnknown_082FBF90
|
||||||
|
.4byte gUnknown_082FBFA8
|
||||||
|
.4byte gUnknown_082FBFC0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBEC8:: @ 82FBED0
|
||||||
|
.byte 0x00, 0x00, 0x00, 0xc0, 0x00, 0x08, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBED0:: @ 82FBED0
|
||||||
|
.byte 0x00, 0x80, 0x00, 0x80, 0x00, 0x08, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBED8:: @ 82FBED8
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x80, 0x00, 0x08, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBEE0:: @ 82FBEE0
|
||||||
|
.byte 0x00, 0x40, 0x00, 0x80, 0x00, 0x08, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBEE8:: @ 82FBEE8
|
||||||
|
.2byte 0x0000, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBEF0:: @ 82FBEF0
|
||||||
|
.2byte 0x0008, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBEF8:: @ 82FBEF8
|
||||||
|
.2byte 0x0010, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF00:: @ 82FBF00
|
||||||
|
.2byte 0x0018, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF08:: @ 82FBF08
|
||||||
|
.2byte 0x0020, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF10:: @ 82FBF10
|
||||||
|
.2byte 0x0028, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF18:: @ 82FBF18
|
||||||
|
.2byte 0x0000, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF20:: @ 82FBF20
|
||||||
|
.2byte 0x0010, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF28:: @ 82FBF28
|
||||||
|
.2byte 0x0020, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF30:: @ 82FBF30
|
||||||
|
.2byte 0x0030, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF38:: @ 82FBF38
|
||||||
|
.2byte 0x0040, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF40:: @ 82FBF40
|
||||||
|
.2byte 0x0050, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF48:: @ 82FBF48
|
||||||
|
.4byte gUnknown_082FBEE8
|
||||||
|
.4byte gUnknown_082FBEF0
|
||||||
|
.4byte gUnknown_082FBEF8
|
||||||
|
.4byte gUnknown_082FBF00
|
||||||
|
.4byte gUnknown_082FBF08
|
||||||
|
.4byte gUnknown_082FBF10
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF60:: @ 82FBF60
|
||||||
|
.4byte gUnknown_082FBF18
|
||||||
|
.4byte gUnknown_082FBF20
|
||||||
|
.4byte gUnknown_082FBF28
|
||||||
|
.4byte gUnknown_082FBF30
|
||||||
|
.4byte gUnknown_082FBF38
|
||||||
|
.4byte gUnknown_082FBF40
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF78:: @ 82FBF78
|
||||||
|
spr_template 0x0005, 0x0005, gUnknown_082FBED0, gUnknown_082FBF48, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBF90:: @ 82FBF90
|
||||||
|
spr_template 0x0006, 0x0005, gUnknown_082FBED8, gUnknown_082FBF60, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBFA8:: @ 82FBFA8
|
||||||
|
spr_template 0x0007, 0x0005, gUnknown_082FBEE0, gUnknown_082FBF48, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBFC0:: @ 82FBFC0
|
||||||
|
spr_template 0x0008, 0x0005, gUnknown_082FBEE0, gUnknown_082FBF48, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBFD8:: @ 82FBFD8
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x40, 0x00, 0x04, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBFE0:: @ 82FBFE0
|
||||||
|
.2byte 0x0000, 0x0000
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FBFE8:: @ 82FBFE8
|
||||||
|
.2byte 0x0000, 0x0004
|
||||||
|
.2byte 0x0004, 0x0004
|
||||||
|
.2byte 0x0008, 0x0004
|
||||||
|
.2byte 0x000c, 0x0004
|
||||||
|
.2byte 0xfffd, 0x0001
|
||||||
|
.2byte 0x0000, 0x0004
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FC004:: @ 82FC004
|
||||||
|
.4byte gUnknown_082FBFE0
|
||||||
|
.4byte gUnknown_082FBFE8
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FC00C:: @ 82FC00C
|
||||||
|
spr_template 0x000a, 0x0005, gUnknown_082FBFD8, gUnknown_082FC004, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpPal3:: @ 82FC024
|
||||||
|
.incbin "graphics/link_games/pkmnjump_pal3.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpBgPal:: @ 82FC044
|
||||||
|
.incbin "graphics/link_games/pkmnjump_bg.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpBgGfx:: @ 82FC064
|
||||||
|
.incbin "graphics/link_games/pkmnjump_bg.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpBgTilemap:: @ 82FC290
|
||||||
|
.incbin "graphics/link_games/pkmnjump_bg.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpVenusaurPal:: @ 82FC440
|
||||||
|
.incbin "graphics/link_games/pkmnjump_venusaur.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpVenusaurGfx:: @ 82FC460
|
||||||
|
.incbin "graphics/link_games/pkmnjump_venusaur.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpVenusaurTilemap:: @ 82FCDB0
|
||||||
|
.incbin "graphics/link_games/pkmnjump_venusaur.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpResultsPal:: @ 82FD168
|
||||||
|
.incbin "graphics/link_games/pkmnjump_results.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpResultsGfx:: @ 82FD188
|
||||||
|
.incbin "graphics/link_games/pkmnjump_results.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJumpResultsTilemap:: @ 82FDC38
|
||||||
|
.incbin "graphics/link_games/pkmnjump_results.bin.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE164:: @ 82FE164 struct BgTemplate
|
||||||
|
.4byte 0x000001b0, 0x000025e6, 0x000016c9, 0x000031df
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE174:: @ 82FE174
|
||||||
|
window_template 0x00, 0x13, 0x00, 0x06, 0x02, 0x02, 0x0013
|
||||||
|
window_template 0x00, 0x08, 0x00, 0x06, 0x02, 0x02, 0x001f
|
||||||
|
null_window_template
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE18C:: @ 82FE18C
|
||||||
|
.4byte 0x00000000, sub_802D150
|
||||||
|
.4byte 0x00000001, sub_802D2E4
|
||||||
|
.4byte 0x00000002, sub_802D350
|
||||||
|
.4byte 0x00000003, sub_802D3BC
|
||||||
|
.4byte 0x00000004, sub_802D448
|
||||||
|
.4byte 0x00000005, sub_802D4F4
|
||||||
|
.4byte 0x00000006, sub_802D598
|
||||||
|
.4byte 0x00000007, sub_802D5E4
|
||||||
|
.4byte 0x00000009, sub_802D72C
|
||||||
|
.4byte 0x00000008, sub_802D688
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE1DC:: @ 82FE1DC
|
||||||
|
.byte 0x00, 0x02, 0x03
|
||||||
|
|
||||||
|
gUnknown_082FE1DF:: @ 82FE1DF
|
||||||
|
.byte 0x02, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00
|
||||||
|
.byte 0x00, 0x02, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE1EC:: @ 82FE1EC
|
||||||
|
obj_tiles gUnknown_082FF1F8, 0x0000, 0x0320
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE1F4:: @ 82FE1F4
|
||||||
|
obj_pal gUnknown_082FF1D8, 0x0320
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE1FC:: @ 82FE1FC
|
||||||
|
.2byte 0x0006, 0x0008, 0x0010, 0x0008
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE204:: @ 82FE204
|
||||||
|
.2byte 0x0006, 0x0008, 0x000b, 0x0006, 0x0010, 0x0008
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE210:: @ 82FE210
|
||||||
|
.2byte 0x0002, 0x0006, 0x0006, 0x0008, 0x0010, 0x0008, 0x0014, 0x0006
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE220:: @ 82FE220
|
||||||
|
.2byte 0x0002, 0x0006, 0x0006, 0x0008, 0x000b, 0x0006
|
||||||
|
.2byte 0x0010, 0x0008, 0x0014, 0x0006
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE234:: @ 82FE234
|
||||||
|
.4byte gUnknown_082FE1FC
|
||||||
|
.4byte gUnknown_082FE204
|
||||||
|
.4byte gUnknown_082FE210
|
||||||
|
.4byte gUnknown_082FE220
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE244:: @ 82FE244
|
||||||
|
.2byte 0x0058, 0x0098
|
||||||
|
|
||||||
|
gUnknown_082FE248:: @ 82FE248
|
||||||
|
.2byte 0x0058, 0x0078, 0x0098
|
||||||
|
|
||||||
|
gUnknown_082FE24E:: @ 82FE24E
|
||||||
|
.2byte 0x0038, 0x0058, 0x0098, 0x00b8
|
||||||
|
|
||||||
|
gUnknown_082FE256:: @ 82FE256
|
||||||
|
.2byte 0x0038, 0x0058, 0x0078, 0x0098, 0x00b8
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE260:: @ 82FE260
|
||||||
|
.4byte gUnknown_082FE244
|
||||||
|
.4byte gUnknown_082FE248
|
||||||
|
.4byte gUnknown_082FE24E
|
||||||
|
.4byte gUnknown_082FE256
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE270:: @ 82FE270
|
||||||
|
.4byte 0x1c010100, 0x00010f09
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE278:: @ 82FE278
|
||||||
|
.4byte gText_JumpsInARow
|
||||||
|
.4byte gText_BestScore2
|
||||||
|
.4byte gText_ExcellentsInARow
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJump321StartPal1:: @ 82FE284
|
||||||
|
.incbin "graphics/link_games/pkmnjump_321start1.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJump321StartGfx1:: @ 82FE2A4
|
||||||
|
.incbin "graphics/link_games/pkmnjump_321start1.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE6C8:: @ 82FE6C8
|
||||||
|
obj_tiles gPkmnJump321StartGfx1, 0x0c00, 0x2000
|
||||||
|
null_obj_tiles
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE6D8:: @ 82FE6D8
|
||||||
|
obj_pal gPkmnJump321StartPal1, 0x2000
|
||||||
|
null_obj_pal
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE6E8:: @ 82FE6E8
|
||||||
|
.2byte 0x0000, 0x0000
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE6F0:: @ 82FE6F0
|
||||||
|
.2byte 0x0010, 0x0000
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE6F8:: @ 82FE6F8
|
||||||
|
.2byte 0x0020, 0x0000
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE700:: @ 82FE700
|
||||||
|
.2byte 0x0040, 0x0000
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE708:: @ 82FE708
|
||||||
|
.2byte 0x0030, 0x0000
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE710:: @ 82FE710
|
||||||
|
.2byte 0x0050, 0x0000
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE718:: @ 82FE718
|
||||||
|
.4byte gUnknown_082FE6E8
|
||||||
|
.4byte gUnknown_082FE6F0
|
||||||
|
.4byte gUnknown_082FE6F8
|
||||||
|
.4byte gUnknown_082FE700
|
||||||
|
.4byte gUnknown_082FE708
|
||||||
|
.4byte gUnknown_082FE710
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE730:: @ 82FE730
|
||||||
|
spr_template 0x2000, 0x2000, gUnknown_08524914, gUnknown_082FE718, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FE748:: @ 82FE748
|
||||||
|
.4byte sub_802E83C
|
||||||
|
.4byte sub_802E8C8
|
||||||
|
.4byte sub_802EA50
|
||||||
|
.4byte sub_802EAB0
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJump321StartPal2:: @ 82FE758
|
||||||
|
.incbin "graphics/link_games/pkmnjump_321start2.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gPkmnJump321StartGfx2:: @ 82FE778
|
||||||
|
.incbin "graphics/link_games/pkmnjump_321start2.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEBCC:: @ 82FEBCC
|
||||||
|
obj_tiles gPkmnJump321StartGfx2, 0x0e00, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEBD4:: @ 82FEBD4
|
||||||
|
obj_pal gPkmnJump321StartPal2, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEBDC:: @ 82FEBDC
|
||||||
|
.byte 0x00, 0x03, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEBE4:: @ 82FEBE4
|
||||||
|
.byte 0x00, 0x40, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEBEC:: @ 82FEBEC
|
||||||
|
.2byte 0x0000, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEBF4:: @ 82FEBF4
|
||||||
|
.2byte 0x0010, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEBFC:: @ 82FEBFC
|
||||||
|
.2byte 0x0020, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEC04:: @ 82FEC04
|
||||||
|
.4byte gUnknown_082FEBEC
|
||||||
|
.4byte gUnknown_082FEBF4
|
||||||
|
.4byte gUnknown_082FEBFC
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEC10:: @ 82FEC10
|
||||||
|
.2byte 0x0030, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEC18:: @ 82FEC18
|
||||||
|
.2byte 0x0050, 0x0001
|
||||||
|
.2byte 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEC20:: @ 82FEC20
|
||||||
|
.4byte gUnknown_082FEC10
|
||||||
|
.4byte gUnknown_082FEC18
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEC28:: @ 82FEC28
|
||||||
|
.2byte 0x0100, 0x0100
|
||||||
|
.2byte 0x0000, 0x0000
|
||||||
|
.2byte 0x7fff, 0x0000
|
||||||
|
.2byte 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEC38:: @ 82FEC38
|
||||||
|
.2byte 0x0100, 0x0100
|
||||||
|
.2byte 0x0000, 0x0000
|
||||||
|
.2byte 0x0010, 0xfff0
|
||||||
|
.2byte 0x0800, 0x0000
|
||||||
|
.2byte 0x7fff, 0x0000
|
||||||
|
.2byte 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEC50:: @ 82FEC50
|
||||||
|
.2byte 0xffee, 0x0012
|
||||||
|
.2byte 0x0800, 0x0000
|
||||||
|
.2byte 0x7fff, 0x0000
|
||||||
|
.2byte 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEC60:: @ 82FEC60
|
||||||
|
.2byte 0x0006, 0xfffa
|
||||||
|
.2byte 0x0800, 0x0000
|
||||||
|
.2byte 0xfffc, 0x0004
|
||||||
|
.2byte 0x0800, 0x0000
|
||||||
|
.2byte 0x0100, 0x0100
|
||||||
|
.2byte 0x0000, 0x0000
|
||||||
|
.2byte 0x7fff, 0x0000
|
||||||
|
.2byte 0x0000, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082FEC80:: @ 82FEC80
|
||||||
|
.4byte gUnknown_082FEC28
|
||||||
|
.4byte gUnknown_082FEC38
|
||||||
|
.4byte gUnknown_082FEC50
|
||||||
|
.4byte gUnknown_082FEC60
|
||||||
|
|
||||||
|
gUnknown_082FEC90:: @ 82FEC90
|
||||||
|
spr_template 0x0000, 0x0000, gUnknown_082FEBDC, gUnknown_082FEC04, NULL, gUnknown_082FEC80, SpriteCallbackDummy
|
||||||
|
|
||||||
|
gUnknown_082FECA8:: @ 82FECA8
|
||||||
|
spr_template 0x0000, 0x0000, gUnknown_082FEBE4, gUnknown_082FEC20, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
4385
data/rom_8011DC0.s
4385
data/rom_8011DC0.s
File diff suppressed because it is too large
Load Diff
1808
data/union_room.s
Executable file
1808
data/union_room.s
Executable file
File diff suppressed because it is too large
Load Diff
303
data/union_room_chat.s
Executable file
303
data/union_room_chat.s
Executable file
@ -0,0 +1,303 @@
|
|||||||
|
.include "asm/macros.inc"
|
||||||
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
.section .rodata
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2A7C:: @ 82F2A7C
|
||||||
|
.4byte sub_801DFAC
|
||||||
|
.4byte sub_801E030
|
||||||
|
.4byte sub_801E120
|
||||||
|
.4byte sub_801E240
|
||||||
|
.4byte sub_801E764
|
||||||
|
.4byte sub_801E838
|
||||||
|
.4byte sub_801E460
|
||||||
|
.4byte sub_801E5C4
|
||||||
|
.4byte sub_801E668
|
||||||
|
.4byte sub_801E978
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2AA4:: @ 82F2AA4
|
||||||
|
.byte 0x09, 0x09, 0x09, 0x09
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2AA8:: @ 82F2AA8
|
||||||
|
.byte 0x00, 0x16, 0x17, 0x68, 0x19, 0x1a, 0x1b, 0x1c
|
||||||
|
.byte 0x1d, 0x1e, 0x00, 0x20, 0x21, 0x22, 0x23, 0x24
|
||||||
|
.byte 0x25, 0x26, 0x27, 0x28, 0x29, 0x15, 0x01, 0x02
|
||||||
|
.byte 0x00, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x00
|
||||||
|
.byte 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12
|
||||||
|
.byte 0x13, 0x14, 0x2a, 0x2b, 0x2c, 0x2d, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x35, 0x36, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x53, 0x54, 0x55, 0x56, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x6f, 0x5b, 0x5c, 0x5d, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5a
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x84, 0x85, 0x86, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
.byte 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7
|
||||||
|
.byte 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf
|
||||||
|
.byte 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7
|
||||||
|
.byte 0xb8, 0xb9, 0xba, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9
|
||||||
|
.byte 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0xe0, 0xe1
|
||||||
|
.byte 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9
|
||||||
|
.byte 0xea, 0xeb, 0xec, 0xed, 0xee, 0xbb, 0xbc, 0xbd
|
||||||
|
.byte 0xbe, 0xbf, 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5
|
||||||
|
.byte 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd
|
||||||
|
.byte 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xef
|
||||||
|
.byte 0xf0, 0xf4, 0xf5, 0xf6, 0xf1, 0xf2, 0xf3, 0x00
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2BA8:: @ 82F2BA8
|
||||||
|
.4byte gUnknown_0862B9F9
|
||||||
|
.4byte gUnknown_0862B9FF
|
||||||
|
.4byte gUnknown_0862BA05
|
||||||
|
.4byte gUnknown_0862BA0B
|
||||||
|
.4byte gUnknown_0862BA11
|
||||||
|
.4byte gUnknown_0862BA17
|
||||||
|
.4byte gUnknown_0862BA1D
|
||||||
|
.4byte gUnknown_0862BA23
|
||||||
|
.4byte gUnknown_0862BA29
|
||||||
|
.4byte gUnknown_0862BA2F
|
||||||
|
.4byte gUnknown_0862BA35
|
||||||
|
.4byte gUnknown_0862BA3B
|
||||||
|
.4byte gUnknown_0862BA41
|
||||||
|
.4byte gUnknown_0862BA47
|
||||||
|
.4byte gUnknown_0862BA4D
|
||||||
|
.4byte gUnknown_0862BA53
|
||||||
|
.4byte gUnknown_0862BA59
|
||||||
|
.4byte gUnknown_0862BA5F
|
||||||
|
.4byte gUnknown_0862BA65
|
||||||
|
.4byte gUnknown_0862BA6B
|
||||||
|
.4byte gUnknown_0862BA79
|
||||||
|
.4byte gUnknown_0862BA84
|
||||||
|
.4byte gUnknown_0862BA8F
|
||||||
|
.4byte gUnknown_0862BA9A
|
||||||
|
.4byte gUnknown_0862BAA3
|
||||||
|
.4byte gUnknown_0862BAAE
|
||||||
|
.4byte gUnknown_0862BAB9
|
||||||
|
.4byte gUnknown_0862BAC4
|
||||||
|
.4byte gUnknown_0862BACF
|
||||||
|
.4byte gUnknown_0862BADA
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2C20:: @ 82F2C20
|
||||||
|
.incbin "graphics/interface/unk_palette1.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2C40:: @ 82F2C40
|
||||||
|
.incbin "graphics/interface/unk_palette2.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2C60:: @ 82F2C60 struct BgTemplate
|
||||||
|
.4byte 0x00000070, 0x000011fd, 0x0000217a, 0x000070f7
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2C70:: @ 82F2C70
|
||||||
|
window_template 0x03, 0x08, 0x01, 0x15, 0x13, 0x0f, 0x0001
|
||||||
|
window_template 0x01, 0x09, 0x12, 0x0f, 0x02, 0x0c, 0x007a
|
||||||
|
window_template 0x01, 0x00, 0x02, 0x06, 0x0f, 0x07, 0x0020
|
||||||
|
window_template 0x00, 0x01, 0x02, 0x07, 0x09, 0x0e, 0x0013
|
||||||
|
null_window_template
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2C98:: @ 82F2C98
|
||||||
|
.4byte 0x00000000, sub_801F658
|
||||||
|
.4byte 0x00000003, sub_801F6F8
|
||||||
|
.4byte 0x00000004, sub_801F730
|
||||||
|
.4byte 0x00000005, sub_801F768
|
||||||
|
.4byte 0x00000001, sub_801F7D4
|
||||||
|
.4byte 0x00000006, sub_801F7E0
|
||||||
|
.4byte 0x00000007, sub_801F82C
|
||||||
|
.4byte 0x00000008, sub_801F870
|
||||||
|
.4byte 0x00000009, sub_801F8DC
|
||||||
|
.4byte 0x0000000a, sub_801F984
|
||||||
|
.4byte 0x0000000b, sub_801FA2C
|
||||||
|
.4byte 0x0000000c, sub_801FA68
|
||||||
|
.4byte 0x00000002, sub_801FB44
|
||||||
|
.4byte 0x0000000d, sub_801FB70
|
||||||
|
.4byte 0x00000012, sub_801FBB4
|
||||||
|
.4byte 0x00000013, sub_801FBF8
|
||||||
|
.4byte 0x0000000e, sub_801FC4C
|
||||||
|
.4byte 0x0000000f, sub_801FC9C
|
||||||
|
.4byte 0x00000010, sub_801FCEC
|
||||||
|
.4byte 0x00000011, sub_801FD30
|
||||||
|
.4byte 0x00000014, sub_801FD88
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2D40:: @ 82F2D40
|
||||||
|
.4byte gText_QuitChatting
|
||||||
|
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gText_RegisterTextWhere
|
||||||
|
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gText_RegisterTextHere
|
||||||
|
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gText_InputText
|
||||||
|
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gText_ExitingChat
|
||||||
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gText_LeaderLeftEndingChat
|
||||||
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00
|
||||||
|
|
||||||
|
.4byte gText_RegisteredTextChanged
|
||||||
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
||||||
|
|
||||||
|
.4byte gText_AlreadySavedFile_Unused
|
||||||
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
||||||
|
|
||||||
|
.4byte gText_SavingDontTurnOff_Unused
|
||||||
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
||||||
|
|
||||||
|
.4byte gText_PlayerSavedGame_Unused
|
||||||
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00
|
||||||
|
|
||||||
|
.4byte gText_IfLeaderLeavesChatEnds
|
||||||
|
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gText_Ellipsis:: @ 82F2DC4
|
||||||
|
.string "…$"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2DC8:: @ 82F2DC8
|
||||||
|
.4byte gText_Upper, 0x00000000
|
||||||
|
.4byte gText_Lower, 0x00000000
|
||||||
|
.4byte gText_Symbols, 0x00000000
|
||||||
|
.4byte gText_Register2, 0x00000000
|
||||||
|
.4byte gText_Exit2, 0x00000000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2DF0:: @ 82F2DF0
|
||||||
|
.incbin "graphics/interface/unk_palette3.gbapal"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F2E10:: @ 82F2E10
|
||||||
|
.incbin "graphics/interface/unk_cursor.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3094:: @ 82F3094
|
||||||
|
.incbin "graphics/interface/unk_dash.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F30B4:: @ 82F30B4
|
||||||
|
.incbin "graphics/interface/unk_cursor_arrow.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F30E0:: @ 82F30E0
|
||||||
|
.incbin "graphics/interface/unk_rbutton.4bpp.lz"
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3134:: @ 82F3134
|
||||||
|
.4byte gUnknown_082F2E10
|
||||||
|
.2byte 0x1000, 0x0000
|
||||||
|
|
||||||
|
.4byte gUnknown_082F30B4
|
||||||
|
.2byte 0x0040, 0x0001
|
||||||
|
|
||||||
|
.4byte gUnknown_082F3094
|
||||||
|
.2byte 0x0040, 0x0002
|
||||||
|
|
||||||
|
.4byte gUnknown_082F30E0
|
||||||
|
.2byte 0x0080, 0x0003
|
||||||
|
|
||||||
|
.4byte gUnknown_08DD4CF8
|
||||||
|
.2byte 0x0400, 0x0004
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F315C:: @ 82F315C struct SpritePalette
|
||||||
|
.4byte gUnknown_082F2DF0
|
||||||
|
.2byte 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3164:: @ 82F3164
|
||||||
|
.2byte 0x4000, 0xc000, 0x0400, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F316C:: @ 82F316C
|
||||||
|
.2byte 0x0000, 0x001e, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3174:: @ 82F3174
|
||||||
|
.2byte 0x0020, 0x001e, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F317C:: @ 82F317C
|
||||||
|
.2byte 0x0040, 0x001e, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3184:: @ 82F3184
|
||||||
|
.2byte 0x0060, 0x001e, 0xffff, 0x0000
|
||||||
|
|
||||||
|
gUnknown_082F318C:: @ 82F318C
|
||||||
|
.4byte gUnknown_082F316C
|
||||||
|
.4byte gUnknown_082F3174
|
||||||
|
.4byte gUnknown_082F317C
|
||||||
|
.4byte gUnknown_082F3184
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F319C:: @ 82F319C
|
||||||
|
spr_template 0x0000, 0x0000, gUnknown_082F3164, gUnknown_082F318C, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F31B4:: @ 82F31B4
|
||||||
|
.byte 0x00, 0x80, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F31BC:: @ 82F31BC
|
||||||
|
spr_template 0x0002, 0x0000, gUnknown_082F31B4, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, sub_8020ABC
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F31D4:: @ 82F31D4
|
||||||
|
spr_template 0x0001, 0x0000, gUnknown_082F31B4, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, sub_8020AF4
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F31EC:: @ 82F31EC
|
||||||
|
.byte 0x00, 0x00, 0x00, 0x40, 0x00, 0x08, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F31F4:: @ 82F31F4
|
||||||
|
.byte 0x00, 0x40, 0x00, 0x80, 0x00, 0x08, 0x00, 0x00
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F31FC:: @ 82F31FC
|
||||||
|
.2byte 0x0000, 0x0002, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3204:: @ 82F3204
|
||||||
|
.2byte 0x0008, 0x0002, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F320C:: @ 82F320C
|
||||||
|
.2byte 0x0010, 0x0002, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3214:: @ 82F3214
|
||||||
|
.2byte 0x0018, 0x0002, 0xffff, 0x0000
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F321C:: @ 82F321C
|
||||||
|
.4byte gUnknown_082F31FC
|
||||||
|
.4byte gUnknown_082F3204
|
||||||
|
.4byte gUnknown_082F320C
|
||||||
|
.4byte gUnknown_082F3214
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F322C:: @ 82F322C
|
||||||
|
spr_template 0x0003, 0x0000, gUnknown_082F31EC, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||||
|
|
||||||
|
.align 2
|
||||||
|
gUnknown_082F3244:: @ 82F3244
|
||||||
|
spr_template 0x0004, 0x0000, gUnknown_082F31F4, gUnknown_082F321C, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
@ -467,7 +467,7 @@
|
|||||||
#define MUS_RG_UNION 539 // Union Room
|
#define MUS_RG_UNION 539 // Union Room
|
||||||
#define MUS_RG_NETWORK 540 // Network Center
|
#define MUS_RG_NETWORK 540 // Network Center
|
||||||
#define MUS_RG_OKURIMONO 541 // Mystery Gift
|
#define MUS_RG_OKURIMONO 541 // Mystery Gift
|
||||||
#define MUS_RG_KINOMIKUI 542
|
#define MUS_RG_KINOMIKUI 542 // Dodrio Berry Picking
|
||||||
#define MUS_RG_NANADUNGEON 543 // Sevii Caves/Altering Cave (Mt. Moon)
|
#define MUS_RG_NANADUNGEON 543 // Sevii Caves/Altering Cave (Mt. Moon)
|
||||||
#define MUS_RG_OSHIE_TV 544 // Follow Me!
|
#define MUS_RG_OSHIE_TV 544 // Follow Me!
|
||||||
#define MUS_RG_NANASHIMA 545 // Sevii Islands Routes (Lake of Rage)
|
#define MUS_RG_NANASHIMA 545 // Sevii Islands Routes (Lake of Rage)
|
||||||
|
@ -54,8 +54,19 @@ SECTIONS {
|
|||||||
src/string_util.o(.text);
|
src/string_util.o(.text);
|
||||||
src/link.o(.text);
|
src/link.o(.text);
|
||||||
src/link_rfu.o(.text);
|
src/link_rfu.o(.text);
|
||||||
src/rom_8011DC0.o(.text);
|
src/union_room.o(.text);
|
||||||
asm/rom_8011DC0.o(.text);
|
asm/union_room.o(.text);
|
||||||
|
asm/mevent2.o(.text);
|
||||||
|
asm/mevent_801BAAC.o(.text);
|
||||||
|
asm/mevent_server.o(.text);
|
||||||
|
asm/mevent_server_ish.o(.text);
|
||||||
|
asm/mevent_server_helpers.o(.text);
|
||||||
|
asm/mevent_news.o(.text);
|
||||||
|
asm/union_room_chat.o(.text);
|
||||||
|
asm/berry_crush.o(.text);
|
||||||
|
asm/berry_powder_vendor.o(.text);
|
||||||
|
asm/dodrio_berry_picking.o(.text);
|
||||||
|
asm/pokemon_jump.o(.text);
|
||||||
src/rtc.o(.text);
|
src/rtc.o(.text);
|
||||||
src/main_menu.o(.text);
|
src/main_menu.o(.text);
|
||||||
src/battle_controllers.o(.text);
|
src/battle_controllers.o(.text);
|
||||||
@ -396,8 +407,15 @@ SECTIONS {
|
|||||||
src/string_util.o(.rodata);
|
src/string_util.o(.rodata);
|
||||||
src/link.o(.rodata);
|
src/link.o(.rodata);
|
||||||
src/link_rfu.o(.rodata);
|
src/link_rfu.o(.rodata);
|
||||||
src/rom_8011DC0.o(.rodata);
|
src/union_room.o(.rodata);
|
||||||
data/rom_8011DC0.o(.rodata);
|
data/union_room.o(.rodata);
|
||||||
|
data/mevent2.o(.rodata);
|
||||||
|
data/mevent_server.o(.rodata);
|
||||||
|
data/union_room_chat.o(.rodata);
|
||||||
|
data/berry_crush.o(.rodata);
|
||||||
|
data/berry_powder_vendor.o(.rodata);
|
||||||
|
data/dodrio_berry_picking.o(.rodata);
|
||||||
|
data/pokemon_jump.o(.rodata);
|
||||||
src/rtc.o(.rodata);
|
src/rtc.o(.rodata);
|
||||||
src/main_menu.o(.rodata);
|
src/main_menu.o(.rodata);
|
||||||
src/rom_8034C54.o(.rodata);
|
src/rom_8034C54.o(.rodata);
|
||||||
|
1
porymap.project.cfg
Executable file
1
porymap.project.cfg
Executable file
@ -0,0 +1 @@
|
|||||||
|
base_game_version=pokeemerald
|
@ -525,7 +525,7 @@ enum
|
|||||||
ACTION_OPTION,
|
ACTION_OPTION,
|
||||||
ACTION_MYSTERY_GIFT,
|
ACTION_MYSTERY_GIFT,
|
||||||
ACTION_MYSTERY_EVENTS,
|
ACTION_MYSTERY_EVENTS,
|
||||||
ACTION_UNKNOWN, // TODO: change when rom_8011DC0 decompiled
|
ACTION_EREADER,
|
||||||
ACTION_INVALID
|
ACTION_INVALID
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1033,7 +1033,7 @@ static void Task_HandleMainMenuAPressed(u8 taskId)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
action = ACTION_UNKNOWN;
|
action = ACTION_EREADER;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
@ -1082,7 +1082,7 @@ static void Task_HandleMainMenuAPressed(u8 taskId)
|
|||||||
SetMainCallback2(CB2_InitMysteryEventMenu);
|
SetMainCallback2(CB2_InitMysteryEventMenu);
|
||||||
DestroyTask(taskId);
|
DestroyTask(taskId);
|
||||||
break;
|
break;
|
||||||
case ACTION_UNKNOWN:
|
case ACTION_EREADER:
|
||||||
SetMainCallback2(sub_801867C);
|
SetMainCallback2(sub_801867C);
|
||||||
DestroyTask(taskId);
|
DestroyTask(taskId);
|
||||||
break;
|
break;
|
||||||
|
@ -2474,12 +2474,12 @@ u16 ReadAsU16(const u8 *ptr)
|
|||||||
return (ptr[1] << 8) | (ptr[0]);
|
return (ptr[1] << 8) | (ptr[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sub_8015664(u32 arg0, const u8 *src)
|
void sub_8015664(u32 nextState, const u8 *src)
|
||||||
{
|
{
|
||||||
struct UnkStruct_URoom *data = gUnknown_02022C30.uRoom;
|
struct UnkStruct_URoom *data = gUnknown_02022C30.uRoom;
|
||||||
|
|
||||||
data->state = 8;
|
data->state = 8;
|
||||||
data->stateAfterPrint = arg0;
|
data->stateAfterPrint = nextState;
|
||||||
if (src != gStringVar4)
|
if (src != gStringVar4)
|
||||||
StringExpandPlaceholders(gStringVar4, src);
|
StringExpandPlaceholders(gStringVar4, src);
|
||||||
}
|
}
|
||||||
@ -3023,7 +3023,7 @@ void sub_80156E0(u8 taskId)
|
|||||||
break;
|
break;
|
||||||
case 13:
|
case 13:
|
||||||
sub_8017E00(gStringVar4, gUnknown_02022C2C | 0x40);
|
sub_8017E00(gStringVar4, gUnknown_02022C2C | 0x40);
|
||||||
sub_8015664(0xE, gStringVar4);
|
sub_8015664(14, gStringVar4);
|
||||||
break;
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
sub_800ADF8();
|
sub_800ADF8();
|
@ -7,7 +7,7 @@
|
|||||||
.include "src/sprite.o"
|
.include "src/sprite.o"
|
||||||
.include "src/link.o"
|
.include "src/link.o"
|
||||||
.include "src/link_rfu.o"
|
.include "src/link_rfu.o"
|
||||||
.include "src/rom_8011DC0.o"
|
.include "src/union_room.o"
|
||||||
.include "src/rtc.o"
|
.include "src/rtc.o"
|
||||||
.include "src/main_menu.o"
|
.include "src/main_menu.o"
|
||||||
.include "src/rom_8034C54.o"
|
.include "src/rom_8034C54.o"
|
||||||
|
Loading…
Reference in New Issue
Block a user