Merge branch 'master' into pokedex-area-const-array
@@ -66,6 +66,14 @@ cd ../pokeemerald
|
||||
|
||||
And build the ROM with `make`.
|
||||
|
||||
If the step `./build.sh` in the above list of commands fails with the error `Makefile:1: /opt/devkitpro/devkitARM/base_tools: No such file or directory`, then try installing the pacman package `devkitarm-rules` by executing the command
|
||||
|
||||
```
|
||||
sudo dkp-pacman -S devkitarm-rules
|
||||
```
|
||||
|
||||
Executing `./build.sh` again should now succeed.
|
||||
|
||||
# Faster builds
|
||||
|
||||
After the first build, subsequent builds are faster. You can further speed up the build:
|
||||
|
||||
5948
asm/berry_crush.s
Executable file
11806
asm/dodrio_berry_picking.s
Executable file
@@ -403,6 +403,38 @@
|
||||
.byte \param0
|
||||
.byte \param1
|
||||
.endm
|
||||
|
||||
@ Help macros for 5 uses of moveend command
|
||||
|
||||
@ All cases
|
||||
.macro moveendall
|
||||
setbyte sMOVEEND_STATE, 0
|
||||
moveend 0, 0
|
||||
.endm
|
||||
|
||||
@ Chosen case
|
||||
.macro moveendcase case:req
|
||||
setbyte sMOVEEND_STATE, \case
|
||||
moveend 1, 0
|
||||
.endm
|
||||
|
||||
@ All cases from (inclusive)
|
||||
.macro moveendfrom from:req
|
||||
setbyte sMOVEEND_STATE, \from
|
||||
moveend 0, 0
|
||||
.endm
|
||||
|
||||
@ All cases from 0 to (not inclusive)
|
||||
.macro moveendto to:req
|
||||
setbyte sMOVEEND_STATE, 0
|
||||
moveend 2, \to
|
||||
.endm
|
||||
|
||||
@ Cases from (inclusive) to (not inclusive)
|
||||
.macro moveendfromto from:req, to:req
|
||||
setbyte sMOVEEND_STATE, \from
|
||||
moveend 2, \to
|
||||
.endm
|
||||
|
||||
.macro typecalc2
|
||||
.byte 0x4a
|
||||
|
||||
336
asm/menu_specialized.s
Normal file
@@ -0,0 +1,336 @@
|
||||
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
|
||||
|
||||
|
||||
thumb_func_start DrawLevelUpWindowPg1
|
||||
DrawLevelUpWindowPg1: @ 81D3640
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
mov r5, r8
|
||||
push {r5-r7}
|
||||
sub sp, 0x2C
|
||||
mov r8, r0
|
||||
adds r6, r1, 0
|
||||
adds r5, r2, 0
|
||||
adds r4, r3, 0
|
||||
ldr r3, [sp, 0x4C]
|
||||
ldr r0, [sp, 0x50]
|
||||
mov r9, r0
|
||||
lsls r4, 24
|
||||
lsrs r4, 24
|
||||
lsls r3, 24
|
||||
lsrs r3, 24
|
||||
mov r1, r9
|
||||
lsls r1, 24
|
||||
lsrs r1, 24
|
||||
mov r9, r1
|
||||
mov r0, r8
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
mov r8, r0
|
||||
lsls r1, r4, 4
|
||||
orrs r1, r4
|
||||
lsls r1, 24
|
||||
lsrs r1, 24
|
||||
str r3, [sp, 0x28]
|
||||
bl FillWindowPixelBuffer
|
||||
add r2, sp, 0xC
|
||||
ldrh r0, [r5]
|
||||
ldrh r1, [r6]
|
||||
subs r0, r1
|
||||
strh r0, [r2]
|
||||
ldrh r0, [r5, 0x2]
|
||||
ldrh r1, [r6, 0x2]
|
||||
subs r0, r1
|
||||
strh r0, [r2, 0x2]
|
||||
ldrh r0, [r5, 0x4]
|
||||
ldrh r1, [r6, 0x4]
|
||||
subs r0, r1
|
||||
strh r0, [r2, 0x4]
|
||||
ldrh r0, [r5, 0x8]
|
||||
ldrh r1, [r6, 0x8]
|
||||
subs r0, r1
|
||||
strh r0, [r2, 0x6]
|
||||
ldrh r0, [r5, 0xA]
|
||||
ldrh r1, [r6, 0xA]
|
||||
subs r0, r1
|
||||
strh r0, [r2, 0x8]
|
||||
ldrh r0, [r5, 0x6]
|
||||
ldrh r1, [r6, 0x6]
|
||||
subs r0, r1
|
||||
strh r0, [r2, 0xA]
|
||||
add r0, sp, 0x24
|
||||
strb r4, [r0]
|
||||
ldr r3, [sp, 0x28]
|
||||
strb r3, [r0, 0x1]
|
||||
mov r1, r9
|
||||
strb r1, [r0, 0x2]
|
||||
movs r7, 0
|
||||
mov r10, r0
|
||||
movs r0, 0x1
|
||||
negs r0, r0
|
||||
mov r9, r0
|
||||
add r6, sp, 0x18
|
||||
_081D36CA:
|
||||
lsls r0, r7, 4
|
||||
subs r0, r7
|
||||
lsls r0, 24
|
||||
lsrs r5, r0, 24
|
||||
mov r1, r10
|
||||
str r1, [sp]
|
||||
mov r0, r9
|
||||
str r0, [sp, 0x4]
|
||||
ldr r1, =gUnknown_08625B54
|
||||
lsls r0, r7, 2
|
||||
adds r0, r1
|
||||
ldr r0, [r0]
|
||||
str r0, [sp, 0x8]
|
||||
mov r0, r8
|
||||
movs r1, 0x1
|
||||
movs r2, 0
|
||||
adds r3, r5, 0
|
||||
bl AddTextPrinterParameterized3
|
||||
lsls r0, r7, 1
|
||||
mov r4, sp
|
||||
adds r4, r0
|
||||
adds r4, 0xC
|
||||
movs r1, 0
|
||||
ldrsh r0, [r4, r1]
|
||||
ldr r1, =gText_Dash
|
||||
cmp r0, 0
|
||||
blt _081D3704
|
||||
ldr r1, =gText_UnkCtrlF904
|
||||
_081D3704:
|
||||
adds r0, r6, 0
|
||||
bl StringCopy
|
||||
mov r0, r10
|
||||
str r0, [sp]
|
||||
mov r1, r9
|
||||
str r1, [sp, 0x4]
|
||||
str r6, [sp, 0x8]
|
||||
mov r0, r8
|
||||
movs r1, 0x1
|
||||
movs r2, 0x38
|
||||
adds r3, r5, 0
|
||||
bl AddTextPrinterParameterized3
|
||||
movs r0, 0
|
||||
ldrsh r1, [r4, r0]
|
||||
adds r0, r1, 0
|
||||
cmp r1, 0
|
||||
bge _081D372C
|
||||
negs r0, r1
|
||||
_081D372C:
|
||||
movs r4, 0xC
|
||||
cmp r0, 0x9
|
||||
bgt _081D3734
|
||||
movs r4, 0x12
|
||||
_081D3734:
|
||||
cmp r1, 0
|
||||
bge _081D373A
|
||||
negs r1, r1
|
||||
_081D373A:
|
||||
adds r0, r6, 0
|
||||
movs r2, 0
|
||||
movs r3, 0x2
|
||||
bl ConvertIntToDecimalStringN
|
||||
adds r2, r4, 0
|
||||
adds r2, 0x38
|
||||
mov r1, r10
|
||||
str r1, [sp]
|
||||
mov r0, r9
|
||||
str r0, [sp, 0x4]
|
||||
str r6, [sp, 0x8]
|
||||
mov r0, r8
|
||||
movs r1, 0x1
|
||||
adds r3, r5, 0
|
||||
bl AddTextPrinterParameterized3
|
||||
adds r0, r7, 0x1
|
||||
lsls r0, 16
|
||||
lsrs r7, r0, 16
|
||||
cmp r7, 0x5
|
||||
bls _081D36CA
|
||||
add sp, 0x2C
|
||||
pop {r3-r5}
|
||||
mov r8, r3
|
||||
mov r9, r4
|
||||
mov r10, r5
|
||||
pop {r4-r7}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end DrawLevelUpWindowPg1
|
||||
|
||||
thumb_func_start DrawLevelUpWindowPg2
|
||||
DrawLevelUpWindowPg2: @ 81D3784
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
mov r5, r8
|
||||
push {r5-r7}
|
||||
sub sp, 0x2C
|
||||
mov r8, r0
|
||||
adds r5, r1, 0
|
||||
adds r4, r2, 0
|
||||
adds r6, r3, 0
|
||||
ldr r2, [sp, 0x4C]
|
||||
lsls r4, 24
|
||||
lsrs r4, 24
|
||||
lsls r6, 24
|
||||
lsrs r6, 24
|
||||
lsls r2, 24
|
||||
lsrs r2, 24
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
mov r8, r0
|
||||
lsls r1, r4, 4
|
||||
orrs r1, r4
|
||||
lsls r1, 24
|
||||
lsrs r1, 24
|
||||
str r2, [sp, 0x28]
|
||||
bl FillWindowPixelBuffer
|
||||
add r1, sp, 0xC
|
||||
ldrh r0, [r5]
|
||||
strh r0, [r1]
|
||||
ldrh r0, [r5, 0x2]
|
||||
strh r0, [r1, 0x2]
|
||||
ldrh r0, [r5, 0x4]
|
||||
strh r0, [r1, 0x4]
|
||||
ldrh r0, [r5, 0x8]
|
||||
strh r0, [r1, 0x6]
|
||||
ldrh r0, [r5, 0xA]
|
||||
strh r0, [r1, 0x8]
|
||||
ldrh r0, [r5, 0x6]
|
||||
strh r0, [r1, 0xA]
|
||||
add r0, sp, 0x24
|
||||
strb r4, [r0]
|
||||
strb r6, [r0, 0x1]
|
||||
ldr r2, [sp, 0x28]
|
||||
strb r2, [r0, 0x2]
|
||||
movs r6, 0
|
||||
add r1, sp, 0x18
|
||||
mov r9, r1
|
||||
mov r7, r8
|
||||
mov r10, r0
|
||||
movs r2, 0x1
|
||||
negs r2, r2
|
||||
mov r8, r2
|
||||
_081D37EE:
|
||||
lsls r1, r6, 1
|
||||
mov r0, sp
|
||||
adds r0, r1
|
||||
adds r0, 0xC
|
||||
movs r2, 0
|
||||
ldrsh r0, [r0, r2]
|
||||
movs r4, 0x3
|
||||
cmp r0, 0x63
|
||||
bgt _081D3808
|
||||
movs r4, 0x1
|
||||
cmp r0, 0x9
|
||||
ble _081D3808
|
||||
movs r4, 0x2
|
||||
_081D3808:
|
||||
mov r0, sp
|
||||
adds r0, r1
|
||||
adds r0, 0xC
|
||||
movs r2, 0
|
||||
ldrsh r1, [r0, r2]
|
||||
mov r0, r9
|
||||
movs r2, 0
|
||||
adds r3, r4, 0
|
||||
bl ConvertIntToDecimalStringN
|
||||
movs r0, 0x4
|
||||
subs r0, r4
|
||||
lsls r4, r0, 1
|
||||
adds r4, r0
|
||||
lsls r4, 17
|
||||
lsrs r4, 16
|
||||
lsls r5, r6, 4
|
||||
subs r5, r6
|
||||
lsls r5, 24
|
||||
lsrs r5, 24
|
||||
mov r0, r10
|
||||
str r0, [sp]
|
||||
mov r1, r8
|
||||
str r1, [sp, 0x4]
|
||||
ldr r1, =gUnknown_08625B54
|
||||
lsls r0, r6, 2
|
||||
adds r0, r1
|
||||
ldr r0, [r0]
|
||||
str r0, [sp, 0x8]
|
||||
adds r0, r7, 0
|
||||
movs r1, 0x1
|
||||
movs r2, 0
|
||||
adds r3, r5, 0
|
||||
bl AddTextPrinterParameterized3
|
||||
adds r4, 0x38
|
||||
lsls r4, 24
|
||||
lsrs r4, 24
|
||||
mov r2, r10
|
||||
str r2, [sp]
|
||||
mov r0, r8
|
||||
str r0, [sp, 0x4]
|
||||
mov r1, r9
|
||||
str r1, [sp, 0x8]
|
||||
adds r0, r7, 0
|
||||
movs r1, 0x1
|
||||
adds r2, r4, 0
|
||||
adds r3, r5, 0
|
||||
bl AddTextPrinterParameterized3
|
||||
adds r0, r6, 0x1
|
||||
lsls r0, 16
|
||||
lsrs r6, r0, 16
|
||||
cmp r6, 0x5
|
||||
bls _081D37EE
|
||||
add sp, 0x2C
|
||||
pop {r3-r5}
|
||||
mov r8, r3
|
||||
mov r9, r4
|
||||
mov r10, r5
|
||||
pop {r4-r7}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end DrawLevelUpWindowPg2
|
||||
|
||||
thumb_func_start GetMonLevelUpWindowStats
|
||||
GetMonLevelUpWindowStats: @ 81D388C
|
||||
push {r4,r5,lr}
|
||||
adds r4, r0, 0
|
||||
adds r5, r1, 0
|
||||
movs r1, 0x3A @ MON_DATA_MAX_HP
|
||||
bl GetMonData
|
||||
strh r0, [r5]
|
||||
adds r0, r4, 0
|
||||
movs r1, 0x3B @ MON_DATA_ATK
|
||||
bl GetMonData
|
||||
strh r0, [r5, 0x2]
|
||||
adds r0, r4, 0
|
||||
movs r1, 0x3C @ MON_DATA_DEF
|
||||
bl GetMonData
|
||||
strh r0, [r5, 0x4]
|
||||
adds r0, r4, 0
|
||||
movs r1, 0x3D @ MON_DATA_SPEED
|
||||
bl GetMonData
|
||||
strh r0, [r5, 0x6]
|
||||
adds r0, r4, 0
|
||||
movs r1, 0x3E @ MON_DATA_SPATK
|
||||
bl GetMonData
|
||||
strh r0, [r5, 0x8]
|
||||
adds r0, r4, 0
|
||||
movs r1, 0x3F @ MON_DATA_SPDEF
|
||||
bl GetMonData
|
||||
strh r0, [r5, 0xA]
|
||||
pop {r4,r5}
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end GetMonLevelUpWindowStats
|
||||
|
||||
.align 2, 0 @ Don't pad with nop.
|
||||
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
@@ -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
@@ -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
@@ -10839,7 +10839,7 @@ sub_81CD624: @ 81CD624
|
||||
adds r1, r6, 0
|
||||
movs r2, 0x2D
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
cmp r0, 0
|
||||
beq _081CD690
|
||||
ldr r1, =gText_EggNickname
|
||||
@@ -10854,14 +10854,14 @@ _081CD690:
|
||||
adds r1, r6, 0
|
||||
movs r2, 0x2
|
||||
adds r3, r5, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
adds r0, r5, 0
|
||||
bl StringGetEnd10
|
||||
adds r0, r4, 0
|
||||
adds r1, r6, 0
|
||||
movs r2, 0xB
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
lsls r0, 16
|
||||
lsrs r7, r0, 16
|
||||
cmp r4, 0xE
|
||||
@@ -11328,7 +11328,7 @@ _081CDA5A:
|
||||
adds r1, r7, 0
|
||||
movs r2, 0x16
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
mov r1, r9
|
||||
lsls r5, r1, 2
|
||||
adds r4, r5, r1
|
||||
@@ -11340,7 +11340,7 @@ _081CDA5A:
|
||||
adds r1, r7, 0
|
||||
movs r2, 0x2F
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
ldr r1, =0x00006429
|
||||
add r1, r8
|
||||
adds r1, r4
|
||||
@@ -11349,7 +11349,7 @@ _081CDA5A:
|
||||
adds r1, r7, 0
|
||||
movs r2, 0x21
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
ldr r1, =0x0000642a
|
||||
add r1, r8
|
||||
adds r1, r4
|
||||
@@ -11358,7 +11358,7 @@ _081CDA5A:
|
||||
adds r1, r7, 0
|
||||
movs r2, 0x18
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
ldr r1, =0x0000642b
|
||||
add r1, r8
|
||||
adds r1, r4
|
||||
@@ -11367,7 +11367,7 @@ _081CDA5A:
|
||||
adds r1, r7, 0
|
||||
movs r2, 0x17
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
ldr r1, =0x0000642c
|
||||
add r1, r8
|
||||
adds r1, r4
|
||||
@@ -11381,14 +11381,14 @@ _081CDA5A:
|
||||
adds r1, r7, 0
|
||||
movs r2, 0x30
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
cmp r0, 0xFF
|
||||
beq _081CDB10
|
||||
adds r0, r6, 0
|
||||
adds r1, r7, 0
|
||||
movs r2, 0x30
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
movs r1, 0x1D
|
||||
bl __udivsi3
|
||||
b _081CDB12
|
||||
@@ -11401,7 +11401,7 @@ _081CDB12:
|
||||
adds r1, r7, 0
|
||||
movs r2, 0x8
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
ldr r1, =0x00006783
|
||||
add r1, r8
|
||||
add r1, r9
|
||||
@@ -11498,7 +11498,7 @@ _081CDBD0:
|
||||
adds r1, r6, 0
|
||||
movs r2, 0x41
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
adds r4, r0, 0
|
||||
lsls r4, 16
|
||||
lsrs r4, 16
|
||||
@@ -11506,13 +11506,13 @@ _081CDBD0:
|
||||
adds r1, r6, 0
|
||||
movs r2, 0x1
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
mov r8, r0
|
||||
adds r0, r5, 0
|
||||
adds r1, r6, 0
|
||||
movs r2, 0
|
||||
movs r3, 0
|
||||
bl sub_81D2C68
|
||||
bl GetBoxOrPartyMonData
|
||||
adds r5, r0, 0
|
||||
lsls r0, r4, 3
|
||||
ldr r1, =gMonFrontPicTable
|
||||
|
||||
48288
asm/rom_8011DC0.s
7087
asm/rom_81D1C44.s
2772
asm/union_room_player_avatar.s
Executable file
3431
asm/use_pokeblock.s
114
asmdiff.ps1
Normal file
@@ -0,0 +1,114 @@
|
||||
Param
|
||||
(
|
||||
[Parameter(Position = 0)]
|
||||
[string]$Start,
|
||||
|
||||
[Parameter(Position = 1)]
|
||||
[string]$Offset,
|
||||
|
||||
[Parameter()]
|
||||
[string[]]$DiffTool
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$offset_default_value = "0x100"
|
||||
$diff_tool_default_value = "diff"
|
||||
|
||||
$help = "
|
||||
$($args[0]) [OPTIONS] Start [Offset]
|
||||
|
||||
Performs a diff on the assembly of a function in a rom. 'Start' is the start
|
||||
location of the function, and 'Offset' is the number of bytes to disassemble.
|
||||
The assembly is saved to *.dump files.
|
||||
|
||||
'Offset' is optional, and defaults to $offset_default_value. If this value is
|
||||
very large (0x10000+), objdump may hang / freeze.
|
||||
|
||||
Requirements:
|
||||
- A clean copy of the rom named 'baserom.gba'.
|
||||
- $$ENV:DEVKITARM to point to the installation of devkitpro. By default, it is
|
||||
installed to 'C:\devkitpro\devkitARM'.
|
||||
|
||||
Options:
|
||||
-DiffTool <tool> The tool to use for diffing. Defaults to '$diff_tool_default_value'. For VSCode,
|
||||
you can use -DiffTool 'code --diff'. (Quotes are necessary around 'code --diff')
|
||||
"
|
||||
|
||||
if ((-not (Test-Path variable:Start)) -or [string]::IsNullOrWhiteSpace($Start))
|
||||
{
|
||||
Write-Host $help
|
||||
exit
|
||||
}
|
||||
|
||||
if (-not (Test-Path variable:DiffTool) -or [string]::IsNullOrWhiteSpace($DiffTool))
|
||||
{
|
||||
$DiffTool = $diff_tool_default_value
|
||||
}
|
||||
|
||||
if (-not (Test-Path variable:Offset) -or [string]::IsNullOrWhiteSpace($Offset))
|
||||
{
|
||||
$Offset = $offset_default_value
|
||||
}
|
||||
|
||||
if (-Not (Test-Path env:DEVKITARM))
|
||||
{
|
||||
Write-Host "ENV:DEVKITARM variable not set."
|
||||
Write-Host $help
|
||||
exit
|
||||
}
|
||||
|
||||
if (-Not (Test-Path $env:DEVKITARM))
|
||||
{
|
||||
Write-Host "DEVKITARM path '$env:DEVKITARM' does not exist."
|
||||
Write-Host $help
|
||||
exit
|
||||
}
|
||||
|
||||
if (-Not (Test-Path ".\pokeemerald.gba"))
|
||||
{
|
||||
Write-Host "File 'pokeemerald.gba' not found."
|
||||
Write-Host $help
|
||||
exit
|
||||
}
|
||||
|
||||
if (-Not (Test-Path ".\baserom.gba"))
|
||||
{
|
||||
Write-Host "File 'baserom.gba' not found."
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
$start_num = [System.Convert]::ToUInt64($Start, 16)
|
||||
}
|
||||
catch
|
||||
{
|
||||
Write-Host "Error parsing '$start_num' as a hex number."
|
||||
Write-Host $help
|
||||
exit
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
$offset_num = [System.Convert]::ToUInt64($Offset, 16)
|
||||
}
|
||||
catch
|
||||
{
|
||||
Write-Host "Error parsing '$offset_num' as a hex number."
|
||||
Write-Host $help
|
||||
exit
|
||||
}
|
||||
|
||||
if ($start_num -gt 0x1000000)
|
||||
{
|
||||
Write-Host "Warning: Start address is larger than the ROM file. Hint: ignore the leading number in the address."
|
||||
}
|
||||
|
||||
$end_str = [System.Convert]::ToString($start_num + $offset_num, 16)
|
||||
$end_str = "0x$end_str"
|
||||
|
||||
Write-Host "$Start - $end_str"
|
||||
$objdump = Join-Path -Path $env:DEVKITARM -ChildPath "arm-none-eabi\bin\objdump.exe"
|
||||
&$objdump -D -bbinary -marmv4t -Mforce-thumb --start-address="$Start" --stop-address="$end_str" .\baserom.gba > .\baserom.dump
|
||||
&$objdump -D -bbinary -marmv4t -Mforce-thumb --start-address="$Start" --stop-address="$end_str" .\pokeemerald.gba > .\pokeemerald.dump
|
||||
Invoke-Expression "$DiffTool .\baserom.dump .\pokeemerald.dump"
|
||||
@@ -424,7 +424,7 @@ PLAY_SE = FC 10
|
||||
CLEAR = FC 11
|
||||
SKIP = FC 12
|
||||
CLEAR_TO = FC 13
|
||||
UNKNOWN_14 = FC 14
|
||||
MIN_LETTER_SPACING = FC 14
|
||||
JPN = FC 15
|
||||
ENG = FC 16
|
||||
PAUSE_MUSIC = FC 17
|
||||
|
||||
@@ -284,8 +284,7 @@ BattleScript_HitFromAtkAnimation::
|
||||
seteffectwithchance
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
BattleScript_MoveEnd::
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
end
|
||||
|
||||
BattleScript_MakeMoveMissed::
|
||||
@@ -423,8 +422,7 @@ BattleScript_ExplosionLoop:
|
||||
resultmessage
|
||||
waitmessage 0x40
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifnexttargetvalid BattleScript_ExplosionLoop
|
||||
tryfaintmon BS_ATTACKER, FALSE, NULL
|
||||
end
|
||||
@@ -432,8 +430,7 @@ BattleScript_ExplosionMissed:
|
||||
effectivenesssound
|
||||
resultmessage
|
||||
waitmessage 0x40
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifnexttargetvalid BattleScript_ExplosionLoop
|
||||
tryfaintmon BS_ATTACKER, FALSE, NULL
|
||||
end
|
||||
@@ -514,7 +511,7 @@ BattleScript_EffectStatUp::
|
||||
BattleScript_EffectStatUpAfterAtkCanceler::
|
||||
attackstring
|
||||
ppreduce
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_StatUpEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_StatUpEnd
|
||||
jumpifbyte CMP_NOT_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_StatUpAttackAnim
|
||||
pause 0x20
|
||||
goto BattleScript_StatUpPrintString
|
||||
@@ -560,7 +557,7 @@ BattleScript_EffectStatDown::
|
||||
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
|
||||
attackstring
|
||||
ppreduce
|
||||
statbuffchange 0x1, BattleScript_StatDownEnd
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_StatDownEnd
|
||||
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_StatDownDoAnim
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_StatDownEnd
|
||||
pause 0x20
|
||||
@@ -657,8 +654,7 @@ BattleScript_DoMultiHit::
|
||||
printstring STRINGID_EMPTYSTRING3
|
||||
waitmessage 0x1
|
||||
addbyte sMULTIHIT_STRING + 4, 0x1
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifbyte CMP_COMMON_BITS, gMoveResultFlags, MOVE_RESULT_FOE_ENDURED, BattleScript_MultiHitPrintStrings
|
||||
decrementmultihit BattleScript_MultiHitLoop
|
||||
goto BattleScript_MultiHitPrintStrings
|
||||
@@ -674,10 +670,8 @@ BattleScript_MultiHitPrintStrings::
|
||||
BattleScript_MultiHitEnd::
|
||||
seteffectwithchance
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
setbyte sMOVEEND_STATE, 0x2
|
||||
moveend 0x1, 0x0
|
||||
setbyte sMOVEEND_STATE, 0x4
|
||||
moveend 0x0, 0x0
|
||||
moveendcase ATK49_SYNCHRONIZE_TARGET
|
||||
moveendfrom ATK49_STATUS_IMMUNITY_ABILITIES
|
||||
end
|
||||
|
||||
BattleScript_EffectConversion::
|
||||
@@ -1441,8 +1435,7 @@ BattleScript_DoTripleKickAttack::
|
||||
waitmessage 0x40
|
||||
printstring STRINGID_EMPTYSTRING3
|
||||
waitmessage 0x1
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifbyte CMP_COMMON_BITS, gMoveResultFlags, MOVE_RESULT_FOE_ENDURED, BattleScript_TripleKickPrintStrings
|
||||
decrementmultihit BattleScript_TripleKickLoop
|
||||
goto BattleScript_TripleKickPrintStrings
|
||||
@@ -1461,8 +1454,7 @@ BattleScript_TripleKickPrintStrings::
|
||||
BattleScript_TripleKickEnd::
|
||||
seteffectwithchance
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
setbyte sMOVEEND_STATE, 0xE
|
||||
moveend 0x0, 0x0
|
||||
moveendfrom ATK49_UPDATE_LAST_MOVES
|
||||
end
|
||||
|
||||
BattleScript_EffectThief::
|
||||
@@ -1521,17 +1513,17 @@ BattleScript_CurseTrySpeed::
|
||||
attackanimation
|
||||
waitanimation
|
||||
setstatchanger STAT_SPEED, 1, TRUE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_CurseTryAttack
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CurseTryAttack
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_CurseTryAttack::
|
||||
setstatchanger STAT_ATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_CurseTryDefence
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CurseTryDefence
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_CurseTryDefence::
|
||||
setstatchanger STAT_DEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_CurseEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CurseEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_CurseEnd::
|
||||
@@ -1643,7 +1635,7 @@ BattleScript_EffectSwagger::
|
||||
attackanimation
|
||||
waitanimation
|
||||
setstatchanger STAT_ATK, 2, FALSE
|
||||
statbuffchange 0x1, BattleScript_SwaggerTryConfuse
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_SwaggerTryConfuse
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_SwaggerTryConfuse
|
||||
setgraphicalstatchangevalues
|
||||
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
|
||||
@@ -1842,7 +1834,7 @@ BattleScript_EffectSkullBash::
|
||||
setbyte sTWOTURN_STRINGID, 0x2
|
||||
call BattleScriptFirstChargingTurn
|
||||
setstatchanger STAT_DEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_SkullBashEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_SkullBashEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_SkullBashEnd
|
||||
setgraphicalstatchangevalues
|
||||
playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
|
||||
@@ -1893,8 +1885,7 @@ BattleScript_DoHitAllWithUndergroundBonus::
|
||||
printstring STRINGID_EMPTYSTRING3
|
||||
waitmessage 0x1
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifnexttargetvalid BattleScript_HitsAllWithUndergroundBonusLoop
|
||||
end
|
||||
BattleScript_HitAllWithUndergroundBonusMissed::
|
||||
@@ -1903,8 +1894,7 @@ BattleScript_HitAllWithUndergroundBonusMissed::
|
||||
effectivenesssound
|
||||
resultmessage
|
||||
waitmessage 0x40
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifnexttargetvalid BattleScript_HitsAllWithUndergroundBonusLoop
|
||||
end
|
||||
|
||||
@@ -1995,8 +1985,7 @@ BattleScript_BeatUpAttack::
|
||||
resultmessage
|
||||
waitmessage 0x40
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
goto BattleScript_BeatUpLoop
|
||||
BattleScript_BeatUpEnd::
|
||||
end
|
||||
@@ -2048,7 +2037,7 @@ BattleScript_EffectDefenseCurl::
|
||||
ppreduce
|
||||
setdefensecurlbit
|
||||
setstatchanger STAT_DEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_DefenseCurlDoStatUpAnim
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_DefenseCurlDoStatUpAnim
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_StatUpPrintString
|
||||
attackanimation
|
||||
waitanimation
|
||||
@@ -2189,7 +2178,7 @@ BattleScript_EffectFlatter::
|
||||
attackanimation
|
||||
waitanimation
|
||||
setstatchanger STAT_SPATK, 1, FALSE
|
||||
statbuffchange 0x1, BattleScript_FlatterTryConfuse
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_FlatterTryConfuse
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_FlatterTryConfuse
|
||||
setgraphicalstatchangevalues
|
||||
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
|
||||
@@ -2246,14 +2235,14 @@ BattleScript_EffectMemento::
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, ATK48_STAT_NEGATIVE | ATK48_STAT_BY_TWO | ATK48_ONLY_MULTIPLE
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK, ATK48_STAT_NEGATIVE | ATK48_STAT_BY_TWO
|
||||
setstatchanger STAT_ATK, 2, TRUE
|
||||
statbuffchange 0x1, BattleScript_EffectMementoTrySpAtk
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectMementoTrySpAtk
|
||||
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, 0x1, BattleScript_EffectMementoTrySpAtk
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_EffectMementoTrySpAtk:
|
||||
playstatchangeanimation BS_TARGET, BIT_SPATK, ATK48_STAT_NEGATIVE | ATK48_STAT_BY_TWO
|
||||
setstatchanger STAT_SPATK, 2, TRUE
|
||||
statbuffchange 0x1, BattleScript_EffectMementoTryFaint
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectMementoTryFaint
|
||||
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, 0x1, BattleScript_EffectMementoTryFaint
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
@@ -2617,8 +2606,7 @@ BattleScript_TeeterDanceLoop::
|
||||
resultmessage
|
||||
waitmessage 0x40
|
||||
BattleScript_TeeterDanceDoMoveEndIncrement::
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
BattleScript_TeeterDanceLoopIncrement::
|
||||
addbyte gBattlerTarget, 0x1
|
||||
jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_TeeterDanceLoop
|
||||
@@ -2692,14 +2680,14 @@ BattleScript_TickleDoMoveAnim::
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_DEF, ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK, ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_ATK, 1, TRUE
|
||||
statbuffchange 0x1, BattleScript_TickleTryLowerDef
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_TickleTryLowerDef
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_TickleTryLowerDef
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_TickleTryLowerDef::
|
||||
playstatchangeanimation BS_TARGET, BIT_DEF, ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_DEF, 1, TRUE
|
||||
statbuffchange 0x1, BattleScript_TickleEnd
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_TickleEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_TickleEnd
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
@@ -2725,13 +2713,13 @@ BattleScript_CosmicPowerDoMoveAnim::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, 0x0
|
||||
setstatchanger STAT_DEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_CosmicPowerTrySpDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CosmicPowerTrySpDef
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CosmicPowerTrySpDef
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_CosmicPowerTrySpDef::
|
||||
setstatchanger STAT_SPDEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_CosmicPowerEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CosmicPowerEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CosmicPowerEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@@ -2754,13 +2742,13 @@ BattleScript_BulkUpDoMoveAnim::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_DEF, 0x0
|
||||
setstatchanger STAT_ATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_BulkUpTryDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_BulkUpTryDef
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_BulkUpTryDef
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_BulkUpTryDef::
|
||||
setstatchanger STAT_DEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_BulkUpEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_BulkUpEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_BulkUpEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@@ -2779,13 +2767,13 @@ BattleScript_CalmMindDoMoveAnim::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_SPDEF, 0x0
|
||||
setstatchanger STAT_SPATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_CalmMindTrySpDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CalmMindTrySpDef
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CalmMindTrySpDef
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_CalmMindTrySpDef::
|
||||
setstatchanger STAT_SPDEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_CalmMindEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CalmMindEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CalmMindEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@@ -2811,13 +2799,13 @@ BattleScript_DragonDanceDoMoveAnim::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_SPEED, 0x0
|
||||
setstatchanger STAT_ATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_DragonDanceTrySpeed
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_DragonDanceTrySpeed
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_DragonDanceTrySpeed
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_DragonDanceTrySpeed::
|
||||
setstatchanger STAT_SPEED, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_DragonDanceEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_DragonDanceEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_DragonDanceEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@@ -3140,10 +3128,8 @@ BattleScript_DoSwitchOut::
|
||||
switchinanim BS_ATTACKER, FALSE
|
||||
waitstate
|
||||
switchineffects BS_ATTACKER
|
||||
setbyte sMOVEEND_STATE, 0x4
|
||||
moveend 0x1, 0x0
|
||||
setbyte sMOVEEND_STATE, 0xF
|
||||
moveend 0x1, 0x0
|
||||
moveendcase ATK49_STATUS_IMMUNITY_ABILITIES
|
||||
moveendcase ATK49_MIRROR_MOVE
|
||||
end2
|
||||
|
||||
BattleScript_PursuitDmgOnSwitchOut::
|
||||
@@ -3166,8 +3152,7 @@ BattleScript_PursuitDmgOnSwitchOut::
|
||||
resultmessage
|
||||
waitmessage 0x40
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
setbyte sMOVEEND_STATE, 0x3
|
||||
moveend 0x2, 0x6
|
||||
moveendfromto ATK49_MOVE_END_ABILITIES, ATK49_CHOICE_MOVE
|
||||
various4 BS_TARGET
|
||||
jumpifbyte CMP_EQUAL, gBattleCommunication, 0x0, BattleScript_PursuitDmgOnSwitchOutRet
|
||||
setbyte sGIVEEXP_STATE, 0x0
|
||||
@@ -3395,8 +3380,7 @@ BattleScript_DisabledNoMore::
|
||||
BattleScript_SelectingDisabledMoveInPalace::
|
||||
printstring STRINGID_PKMNMOVEISDISABLED
|
||||
BattleScript_SelectingUnusableMoveInPalace::
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
end
|
||||
|
||||
BattleScript_EncoredNoMore::
|
||||
@@ -3425,8 +3409,7 @@ BattleScript_SpikesOnAttacker::
|
||||
BattleScript_SpikesOnAttackerFainted::
|
||||
setbyte sGIVEEXP_STATE, 0x0
|
||||
getexp BS_ATTACKER
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
goto BattleScript_HandleFaintedMon
|
||||
|
||||
BattleScript_SpikesOnTarget::
|
||||
@@ -3441,8 +3424,7 @@ BattleScript_SpikesOnTarget::
|
||||
BattleScript_SpikesOnTargetFainted::
|
||||
setbyte sGIVEEXP_STATE, 0x0
|
||||
getexp BS_TARGET
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
goto BattleScript_HandleFaintedMon
|
||||
|
||||
BattleScript_SpikesOnFaintedBattler::
|
||||
@@ -3457,8 +3439,7 @@ BattleScript_SpikesOnFaintedBattler::
|
||||
BattleScript_SpikesOnFaintedBattlerFainted::
|
||||
setbyte sGIVEEXP_STATE, 0x0
|
||||
getexp BS_FAINTED
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
goto BattleScript_HandleFaintedMon
|
||||
|
||||
BattleScript_PrintHurtBySpikes::
|
||||
@@ -3490,27 +3471,27 @@ BattleScript_AllStatsUpAtk::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_DEF | BIT_SPEED | BIT_SPATK | BIT_SPDEF, 0x0
|
||||
setstatchanger STAT_ATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_AllStatsUpDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AllStatsUpDef
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_AllStatsUpDef::
|
||||
setstatchanger STAT_DEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_AllStatsUpSpeed
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AllStatsUpSpeed
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_AllStatsUpSpeed::
|
||||
setstatchanger STAT_SPEED, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_AllStatsUpSpAtk
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AllStatsUpSpAtk
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_AllStatsUpSpAtk::
|
||||
setstatchanger STAT_SPATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_AllStatsUpSpDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AllStatsUpSpDef
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_AllStatsUpSpDef::
|
||||
setstatchanger STAT_SPDEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_AllStatsUpRet
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AllStatsUpRet
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_AllStatsUpRet::
|
||||
@@ -3562,10 +3543,8 @@ BattleScript_DoFutureAttackHit::
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
atk24 BattleScript_FutureAttackEnd
|
||||
BattleScript_FutureAttackEnd::
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x1, 0x0
|
||||
setbyte sMOVEEND_STATE, 0xB
|
||||
moveend 0x2, 0xE
|
||||
moveendcase ATK49_RAGE
|
||||
moveendfromto ATK49_ITEM_EFFECTS_ALL, ATK49_UPDATE_LAST_MOVES
|
||||
setbyte gMoveResultFlags, 0
|
||||
end2
|
||||
|
||||
@@ -3659,14 +3638,14 @@ BattleScript_AtkDefDown::
|
||||
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_ATK, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_ATK, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_ATK, 1, TRUE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | 0x1, BattleScript_82DB144
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_82DB144
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_82DB144
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_82DB144::
|
||||
playstatchangeanimation BS_ATTACKER, BIT_DEF, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_DEF, 1, TRUE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | 0x1, BattleScript_82DB167
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_82DB167
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_82DB167
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
@@ -3732,7 +3711,7 @@ BattleScript_SAtkDown2::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_SPATK, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE | ATK48_STAT_BY_TWO
|
||||
setstatchanger STAT_SPATK, 2, TRUE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | 0x1, BattleScript_SAtkDown2End
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_SAtkDown2End
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_SAtkDown2End
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
@@ -4063,7 +4042,7 @@ BattleScript_IntimidateActivatesLoop:
|
||||
jumpifability BS_TARGET, ABILITY_CLEAR_BODY, BattleScript_IntimidatePrevented
|
||||
jumpifability BS_TARGET, ABILITY_HYPER_CUTTER, BattleScript_IntimidatePrevented
|
||||
jumpifability BS_TARGET, ABILITY_WHITE_SMOKE, BattleScript_IntimidatePrevented
|
||||
statbuffchange 0x21, BattleScript_IntimidateActivatesLoopIncrement
|
||||
statbuffchange STAT_CHANGE_NOT_PROTECT_AFFECTED | STAT_CHANGE_BS_PTR, BattleScript_IntimidateActivatesLoopIncrement
|
||||
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, 0x1, BattleScript_IntimidateActivatesLoopIncrement
|
||||
setgraphicalstatchangevalues
|
||||
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
|
||||
@@ -4254,8 +4233,7 @@ BattleScript_AbilityCuredStatus::
|
||||
BattleScript_IgnoresWhileAsleep::
|
||||
printstring STRINGID_PKMNIGNORESASLEEP
|
||||
waitmessage 0x40
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
end
|
||||
|
||||
BattleScript_IgnoresAndUsesRandomMove::
|
||||
@@ -4271,8 +4249,7 @@ BattleScript_MoveUsedLoafingAround::
|
||||
BattleScript_82DB6C7::
|
||||
printfromtable gInobedientStringIds
|
||||
waitmessage 0x40
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
end
|
||||
|
||||
BattleScript_IgnoresAndFallsAsleep::
|
||||
@@ -4280,8 +4257,7 @@ BattleScript_IgnoresAndFallsAsleep::
|
||||
waitmessage 0x40
|
||||
setmoveeffect MOVE_EFFECT_SLEEP | MOVE_EFFECT_AFFECTS_USER
|
||||
seteffectprimary
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
end
|
||||
|
||||
BattleScript_IgnoresAndHitsItself::
|
||||
@@ -4444,7 +4420,7 @@ BattleScript_BerryConfuseHealEnd2::
|
||||
|
||||
BattleScript_BerryStatRaiseEnd2::
|
||||
playanimation BS_ATTACKER, B_ANIM_ITEM_EFFECT, NULL
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_82DB85B
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_82DB85B
|
||||
BattleScript_82DB85B::
|
||||
setbyte cMULTISTRING_CHOOSER, 0x4
|
||||
call BattleScript_StatUp
|
||||
|
||||
363
data/berry_crush.s
Executable file
@@ -0,0 +1,363 @@
|
||||
.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
|
||||
.byte 0xff, 0x00
|
||||
.byte 0x01, 0x01
|
||||
|
||||
gUnknown_082F41D2::
|
||||
.byte 0x00, 0x00
|
||||
.byte 0xf0, 0xfc
|
||||
.byte 0x10, 0xfc
|
||||
.byte 0xf8, 0xfe
|
||||
.byte 0x08, 0xfe
|
||||
.byte 0xe8, 0xf8
|
||||
.byte 0x18, 0xf8
|
||||
.byte 0xe0, 0xf4
|
||||
.byte 0x20, 0xf4
|
||||
.byte 0xd8, 0xf0
|
||||
.byte 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
|
||||
36
data/berry_powder.s
Executable file
@@ -0,0 +1,36 @@
|
||||
.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
@@ -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
|
||||
@@ -3,200 +3,6 @@
|
||||
|
||||
.section .rodata
|
||||
|
||||
gUnknown_086253E8:: @ 86253E8
|
||||
.4byte 0x8010100
|
||||
.4byte 0x80F02
|
||||
.4byte 0x8011500
|
||||
.4byte 0x180F12
|
||||
.4byte 0xB010100
|
||||
.4byte 0x180F08
|
||||
|
||||
gUnknown_08625400:: @ 8625400
|
||||
.byte 1, 2, 3
|
||||
|
||||
gUnknown_08625403:: @ 8625403
|
||||
.byte 0xFF
|
||||
|
||||
gUnknown_08625404:: @ 8625404
|
||||
.byte 0x40, 0, 0, 4, 1, 0, 0x60, 0xA6, 1, 0, 0, 0
|
||||
|
||||
gUnknown_08625410:: @ 8625410
|
||||
.byte 4, 5, 6, 7, 8, 9, 9, 0xA, 0xA, 0xB, 0xB, 0xC, 0xC, 0xD, 0xD, 0xD, 0xD, 0xE, 0xE, 0xE, 0xE, 0xF, 0xF, 0xF, 0xF, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x1A, 0x1A, 0x1A, 0x1A, 0x1A, 0x1A, 0x1A, 0x1A, 0x1A, 0x1A, 0x1A, 0x1A, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1D, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1E, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x23
|
||||
|
||||
gUnknown_08625510:: @ 8625510
|
||||
.4byte 0x10010101
|
||||
.4byte 0xA0F0C
|
||||
.4byte 0x10010101
|
||||
.4byte 0xCA0F0C
|
||||
.4byte 0xA011301
|
||||
.4byte 0x18A0F0C
|
||||
.4byte 0x160F0401
|
||||
.4byte 0x2020F04
|
||||
.4byte 0x5081600
|
||||
.4byte 0x25A0F04
|
||||
.4byte 0xFF
|
||||
.4byte NULL
|
||||
|
||||
gUnknown_08625540:: @ 8625540
|
||||
.4byte 0x5081600
|
||||
.4byte 0x25A0F04
|
||||
|
||||
gUnknown_08625548:: @ 8625548
|
||||
.4byte NULL
|
||||
.4byte sub_81D2BD0
|
||||
.4byte NULL
|
||||
.2byte 0
|
||||
.2byte 0
|
||||
.byte 2
|
||||
.byte 0
|
||||
.byte 8
|
||||
.byte 0
|
||||
.4byte 0x1003121
|
||||
|
||||
gUnknown_08625560:: @ 8625560
|
||||
.incbin "graphics/pokenav/pokeball.4bpp"
|
||||
|
||||
gUnknown_08625660:: @ 8625660
|
||||
.incbin "graphics/pokenav/8625660.4bpp"
|
||||
|
||||
gUnknown_08625680:: @ 8625680
|
||||
.incbin "graphics/pokenav/sparkle.gbapal"
|
||||
|
||||
gUnknown_086256A0:: @ 86255A0
|
||||
.incbin "graphics/pokenav/sparkle.4bpp"
|
||||
|
||||
gUnknown_08625A20:: @ 8625A20
|
||||
.2byte 0
|
||||
.2byte 0xC000
|
||||
.2byte 0x400
|
||||
.2byte 0
|
||||
|
||||
gUnknown_08625A28:: @ 8625A28
|
||||
.2byte 0
|
||||
.2byte 0x4000
|
||||
.2byte 0x800
|
||||
.2byte 0
|
||||
|
||||
gUnknown_08625A30:: @ 8625A30
|
||||
.2byte 0
|
||||
.2byte 5
|
||||
.2byte 0xFFFF
|
||||
.2byte 0
|
||||
|
||||
gUnknown_08625A38:: @ 8625A38
|
||||
.2byte 4
|
||||
.2byte 5
|
||||
.2byte 0xFFFF
|
||||
.2byte 0
|
||||
|
||||
gUnknown_08625A40:: @ 8625A40
|
||||
.4byte gUnknown_08625A30
|
||||
.4byte gUnknown_08625A38
|
||||
|
||||
gUnknown_08625A48:: @ 8625A48
|
||||
.4byte NULL
|
||||
.4byte 0x640800
|
||||
|
||||
gUnknown_08625A50:: @ 8625A50
|
||||
spr_template 0x64, 0x64, gUnknown_08625A20, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
gUnknown_08625A68:: @ 8625A68
|
||||
.4byte NULL
|
||||
.4byte 0x64
|
||||
|
||||
gUnknown_08625A70:: @ 8625A70
|
||||
.4byte gUnknown_08625560
|
||||
.byte 0, 1, 0x65, 0
|
||||
.4byte gUnknown_08625660
|
||||
.2byte 0x20, 0x67
|
||||
.4byte gPokenavConditionCancel_Gfx
|
||||
.byte 0, 1, 0x66, 0
|
||||
.4byte NULL, NULL
|
||||
|
||||
gUnknown_08625A90:: @ 8625A90
|
||||
.4byte gPokenavConditionCancel_Pal + 0x0
|
||||
.byte 0x65, 0, 0, 0
|
||||
.4byte gPokenavConditionCancel_Pal + 0x20
|
||||
.byte 0x66, 0, 0, 0
|
||||
.4byte NULL, NULL
|
||||
|
||||
gUnknown_08625AA8:: @ 8625AA8
|
||||
spr_template 0x65, 0x65, gUnknown_08625A28, gUnknown_08625A40, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
gUnknown_08625AC0:: @ 8625AC0
|
||||
.4byte gUnknown_086256A0
|
||||
.byte 0x80, 3, 0x68, 0
|
||||
|
||||
gUnknown_08625AC8:: @ 8625AC8
|
||||
.4byte gUnknown_08625680
|
||||
.byte 0x68, 0, 0, 0
|
||||
|
||||
gUnknown_08625AD0:: @ 8625AD0
|
||||
.2byte 0
|
||||
.2byte 0x4000
|
||||
.2byte 0
|
||||
.2byte 0
|
||||
|
||||
gUnknown_08625AD8:: @ 8625AD8
|
||||
.2byte 0
|
||||
.2byte 5
|
||||
.2byte 4
|
||||
.2byte 5
|
||||
|
||||
gUnknown_08625AE0:: @ 8625AE0
|
||||
.2byte 8
|
||||
.2byte 5
|
||||
.2byte 12
|
||||
.2byte 5
|
||||
|
||||
gUnknown_08625AE8:: @ 8625AE8
|
||||
.2byte 16
|
||||
.2byte 5
|
||||
.2byte 20
|
||||
.2byte 5
|
||||
|
||||
gUnknown_08625AF0:: @ 8625AF0
|
||||
.2byte 24
|
||||
.2byte 5
|
||||
.2byte 0xFFFF
|
||||
.2byte 0
|
||||
|
||||
gUnknown_08625AF8:: @ 8625AF8
|
||||
.4byte gUnknown_08625AD8
|
||||
.4byte gUnknown_08625AE0
|
||||
|
||||
gUnknown_08625B00:: @ 8625B00
|
||||
.4byte gUnknown_08625AE8
|
||||
.4byte gUnknown_08625AF0
|
||||
|
||||
gUnknown_08625B08:: @ 8625B08
|
||||
.4byte gUnknown_08625AF8
|
||||
.4byte gUnknown_08625B00
|
||||
.4byte gUnknown_08625B08
|
||||
|
||||
gUnknown_08625B14:: @ 8625B14
|
||||
spr_template 0x68, 0x68, gUnknown_08625AD0, gUnknown_08625AF8, NULL gDummySpriteAffineAnimTable, sub_81D3564
|
||||
|
||||
gUnknown_08625B2C:: @ 8625B2C
|
||||
.2byte 0, 0xFFDD
|
||||
.2byte 20, 0xFFE4
|
||||
.2byte 33, 0xFFF6
|
||||
.2byte 33, 10
|
||||
.2byte 20, 28
|
||||
.2byte 0, 35
|
||||
.2byte 0xFFEC, 28
|
||||
.2byte 0xFFDF, 10
|
||||
.2byte 0xFFDF, 0xFFF6
|
||||
.2byte 0xFFEC, 0xFFE4
|
||||
|
||||
gUnknown_08625B54:: @ 8625B54
|
||||
.4byte gUnknown_085EEA46
|
||||
.4byte gUnknown_085EEA4E
|
||||
.4byte gUnknown_085EEA55
|
||||
.4byte gUnknown_085EEA63
|
||||
.4byte gUnknown_085EEA6B
|
||||
.4byte gUnknown_085EEA5D
|
||||
|
||||
gUnknown_08625B6C:: @ 8625B6C
|
||||
@ apparently e-reader trainer data? idk
|
||||
.byte 0x6f, 0x57, 0x54, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x0c, 0x01, 0x00, 0x00, 0x00, 0x2e, 0x14, 0x0c, 0x0e, 0x23, 0x10, 0x47, 0x0a, 0x1f, 0x06, 0x24, 0x0e, 0x48, 0x0a, 0x0f, 0x06
|
||||
@@ -240,12 +46,3 @@ gUnknown_08625B6C:: @ 8625B6C
|
||||
.byte 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x4b, 0x01, 0xc6, 0x00, 0x39, 0x00, 0xf2, 0x00, 0x26, 0x00, 0x59, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x10
|
||||
.byte 0xa5, 0x94, 0x52, 0x0a, 0x96, 0x00, 0x00, 0x00, 0x5b, 0x72, 0x6a, 0x91, 0xae, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7a, 0x01, 0x8d, 0x00, 0x5e, 0x00, 0xf7, 0x00, 0x55, 0x00, 0x05, 0x01
|
||||
.byte 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x10, 0xa5, 0x94, 0x52, 0x0a, 0x96, 0x00, 0x00, 0x00, 0x8d, 0x85, 0x9e, 0xa0, 0x60, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
||||
|
||||
gUnknown_0862608C:: @ 862608C
|
||||
.2byte 21, 16
|
||||
.2byte 25, 16
|
||||
.2byte 16, 17
|
||||
.2byte 20, 20
|
||||
|
||||
gUnknown_0862609C:: @ 862609C
|
||||
.incbin "data/unknown_jp_62609C.bin"
|
||||
7
data/ereader_screen.s
Executable file
@@ -0,0 +1,7 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
gUnknown_0862609C:: @ 862609C
|
||||
.incbin "data/unknown_jp_62609C.bin"
|
||||
@@ -442,28 +442,28 @@ gStdScripts_End:: @ 81DC2CC
|
||||
EventScript_SecretBasePC:: @ 823B4BB
|
||||
lockall
|
||||
playse SE_PC_LOGIN
|
||||
message Text_276805
|
||||
message Text_SecretBaseBootUpPC
|
||||
dofieldeffect FLDEFF_PCTURN_ON
|
||||
waitstate
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
playse SE_SELECT
|
||||
goto EventScript_23B4D3
|
||||
goto EventScript_SecretBasePCShowMainMenu
|
||||
end
|
||||
|
||||
EventScript_23B4D3:: @ 823B4D3
|
||||
message Text_27681A
|
||||
EventScript_SecretBasePCShowMainMenu:: @ 823B4D3
|
||||
message Text_SecretBasePCStartMenu
|
||||
waitmessage
|
||||
goto_if_set FLAG_DECORATION_16, EventScript_23B4EF
|
||||
goto_if_set FLAG_DECORATION_16, EventScript_SecretBasePCMainMenuChoice
|
||||
goto EventScript_23B531
|
||||
end
|
||||
|
||||
gUnknown_0823B4E8:: @ 823B4E8
|
||||
gUnknown_0823B4E8:: @ 823B4E8 ;EventScript_SecretBasePCCancel?
|
||||
lockall
|
||||
goto EventScript_23B4D3
|
||||
goto EventScript_SecretBasePCShowMainMenu
|
||||
end
|
||||
|
||||
EventScript_23B4EF:: @ 823B4EF
|
||||
EventScript_SecretBasePCMainMenuChoice:: @ 823B4EF
|
||||
multichoice 0, 0, 6, 0
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_23B581
|
||||
@@ -485,7 +485,7 @@ EventScript_23B531:: @ 823B531
|
||||
EventScript_23B568:: @ 823B568
|
||||
msgbox Text_2766AA, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq EventScript_23B4D3
|
||||
goto_if_eq EventScript_SecretBasePCShowMainMenu
|
||||
closemessage
|
||||
special sub_80E9AC0
|
||||
releaseall
|
||||
@@ -501,7 +501,7 @@ EventScript_23B585:: @ 823B585
|
||||
|
||||
EventScript_RecordMixingSecretBasePC:: @ 823B589
|
||||
lockall
|
||||
message Text_276805
|
||||
message Text_SecretBaseBootUpPC
|
||||
playse SE_PC_LOGIN
|
||||
dofieldeffect FLDEFF_PCTURN_ON
|
||||
waitstate
|
||||
@@ -512,7 +512,7 @@ EventScript_RecordMixingSecretBasePC:: @ 823B589
|
||||
end
|
||||
|
||||
EventScript_23B5A1:: @ 823B5A1
|
||||
message Text_27681A
|
||||
message Text_SecretBasePCStartMenu
|
||||
waitmessage
|
||||
multichoice 0, 0, 7, 0
|
||||
switch VAR_RESULT
|
||||
@@ -533,7 +533,7 @@ EventScript_23B5F0:: @ 823B5F0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq EventScript_23B62F
|
||||
compare VAR_RESULT, 2
|
||||
goto_if_eq EventScript_23B652
|
||||
goto_if_eq EventScript_CantRegisterTooManyBases
|
||||
special sub_80E980C
|
||||
msgbox Text_276707, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
@@ -554,8 +554,8 @@ EventScript_23B62F:: @ 823B62F
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_23B652:: @ 823B652
|
||||
msgbox Text_27676F, MSGBOX_SIGN
|
||||
EventScript_CantRegisterTooManyBases:: @ 823B652
|
||||
msgbox Text_TooManyBasesDeleteSome, MSGBOX_SIGN
|
||||
special DoSecretBasePCTurnOffEffect
|
||||
closemessage
|
||||
releaseall
|
||||
@@ -1099,7 +1099,7 @@ EverGrandeCity_HallOfFame_EventScript_2717C1:: @ 82717C1
|
||||
compare VAR_FOSSIL_MANIAC_STATE, 0
|
||||
call_if_eq EverGrandeCity_HallOfFame_EventScript_271839
|
||||
clearflag FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS
|
||||
call EverGrandeCity_HallOfFame_EventScript_2718CC
|
||||
call EverGrandeCity_HallOfFame_EventScript_ResetEliteFour
|
||||
setflag FLAG_HIDE_SLATEPORT_CITY_STERNS_SHIPYARD_MR_BRINEY
|
||||
clearflag FLAG_HIDE_SS_TIDAL_CORRIDOR_MR_BRINEY
|
||||
clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_INVISIBLE_NINJA_BOY
|
||||
@@ -1147,7 +1147,7 @@ EverGrandeCity_HallOfFame_EventScript_271851:: @ 8271851
|
||||
return
|
||||
|
||||
EventScript_WhiteOut:: @ 8271857
|
||||
call EverGrandeCity_HallOfFame_EventScript_2718CC
|
||||
call EverGrandeCity_HallOfFame_EventScript_ResetEliteFour
|
||||
goto EventScript_ResetMrBriney
|
||||
end
|
||||
|
||||
@@ -1192,7 +1192,7 @@ EventScript_MoveMrBrineyToRoute108:: @ 82718B3
|
||||
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
|
||||
end
|
||||
|
||||
EverGrandeCity_HallOfFame_EventScript_2718CC:: @ 82718CC
|
||||
EverGrandeCity_HallOfFame_EventScript_ResetEliteFour:: @ 82718CC
|
||||
clearflag FLAG_DEFEATED_ELITE_4_SYDNEY
|
||||
clearflag FLAG_DEFEATED_ELITE_4_PHOEBE
|
||||
clearflag FLAG_DEFEATED_ELITE_4_GLACIA
|
||||
@@ -1337,13 +1337,13 @@ OldaleTown_PokemonCenter_1F_EventScript_271A19:: @ 8271A19
|
||||
OldaleTown_PokemonCenter_1F_EventScript_271A43:: @ 8271A43
|
||||
specialvar VAR_RESULT, IsPokerusInParty
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq OldaleTown_PokemonCenter_1F_EventScript_271A5F
|
||||
goto_if_eq OldaleTown_PokemonCenter_1F_EventScript_Explain_Pokerus
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq OldaleTown_PokemonCenter_1F_EventScript_2719B1
|
||||
end
|
||||
|
||||
OldaleTown_PokemonCenter_1F_EventScript_271A5F:: @ 8271A5F
|
||||
message gUnknown_08272F07
|
||||
OldaleTown_PokemonCenter_1F_EventScript_Explain_Pokerus:: @ 8271A5F
|
||||
message gText_PokerusExplanation
|
||||
setflag FLAG_POKERUS_EXPLAINED
|
||||
return
|
||||
|
||||
@@ -1437,7 +1437,7 @@ EventScript_271B85:: @ 8271B85
|
||||
EventScript_271B95:: @ 8271B95
|
||||
message gUnknown_08272A78
|
||||
waitfanfare
|
||||
msgbox gUnknown_08272A9A, MSGBOX_DEFAULT
|
||||
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
||||
setvar VAR_RESULT, 1
|
||||
return
|
||||
|
||||
@@ -1491,13 +1491,13 @@ Std_FindItem:: @ 8271BFD
|
||||
checkitemtype VAR_0x8000
|
||||
call EventScript_271B08
|
||||
compare VAR_0x8007, 1
|
||||
call_if_eq EventScript_271C3A
|
||||
call_if_eq EventScript_PickItemUp
|
||||
compare VAR_0x8007, 0
|
||||
call_if_eq EventScript_271CA1
|
||||
release
|
||||
return
|
||||
|
||||
EventScript_271C3A:: @ 8271C3A
|
||||
EventScript_PickItemUp:: @ 8271C3A
|
||||
removeobject VAR_LAST_TALKED
|
||||
giveitem VAR_0x8004, VAR_0x8005
|
||||
specialvar VAR_RESULT, sub_81398C0
|
||||
@@ -1513,20 +1513,20 @@ EventScript_271C3A:: @ 8271C3A
|
||||
special CallBattlePyramidFunction
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq EventScript_271C86
|
||||
msgbox gUnknown_08272A9A, MSGBOX_DEFAULT
|
||||
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
EventScript_271C86:: @ 8271C86
|
||||
msgbox gUnknown_08272AEA, MSGBOX_DEFAULT
|
||||
msgbox gText_PlayerPutItemInBag, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
EventScript_271C8F:: @ 8271C8F
|
||||
bufferitemnameplural 0, VAR_0x8004, VAR_0x8005
|
||||
message gUnknown_082731A9
|
||||
message gText_PlayerFoundOneItemTwoLines
|
||||
return
|
||||
|
||||
EventScript_271C9B:: @ 8271C9B
|
||||
message gUnknown_08272ABF
|
||||
message gText_PlayerFoundOneItem
|
||||
return
|
||||
|
||||
EventScript_271CA1:: @ 8271CA1
|
||||
@@ -1561,12 +1561,12 @@ EventScript_271CE8:: @ 8271CE8
|
||||
|
||||
EventScript_271D0E:: @ 8271D0E
|
||||
bufferitemnameplural 0, VAR_0x8004, 1
|
||||
message gUnknown_082731A9
|
||||
message gText_PlayerFoundOneItemTwoLines
|
||||
goto EventScript_271D2A
|
||||
end
|
||||
|
||||
EventScript_271D1F:: @ 8271D1F
|
||||
message gUnknown_08272ABF
|
||||
message gText_PlayerFoundOneItem
|
||||
goto EventScript_271D2A
|
||||
end
|
||||
|
||||
@@ -1575,14 +1575,14 @@ EventScript_271D2A:: @ 8271D2A
|
||||
waitfanfare
|
||||
bufferitemnameplural 1, VAR_0x8004, 1
|
||||
copyvar VAR_0x8004, VAR_0x8008
|
||||
msgbox gUnknown_08272A9A, MSGBOX_DEFAULT
|
||||
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
||||
special sub_80EDCE8
|
||||
special SetFlagInVar
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_271D47:: @ 8271D47
|
||||
msgbox gUnknown_08272ABF, MSGBOX_DEFAULT
|
||||
msgbox gText_PlayerFoundOneItem, MSGBOX_DEFAULT
|
||||
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
|
||||
setvar VAR_RESULT, 0
|
||||
releaseall
|
||||
@@ -1591,7 +1591,7 @@ EventScript_271D47:: @ 8271D47
|
||||
EventScript_271D5E:: @ 8271D5E
|
||||
lock
|
||||
faceplayer
|
||||
msgbox Text_27260D, MSGBOX_YESNO
|
||||
msgbox Text_WouldYouLikeToMixRecords, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq EventScript_271D83
|
||||
compare VAR_RESULT, 0
|
||||
@@ -1605,7 +1605,7 @@ EventScript_271D83:: @ 8271D83
|
||||
faceplayer
|
||||
|
||||
EventScript_271D89:: @ 8271D89
|
||||
message Text_272640
|
||||
message Text_WouldNotLikeToMixRecords
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
release
|
||||
@@ -1616,7 +1616,7 @@ EventScript_PC:: @ 8271D92
|
||||
setvar VAR_0x8004, 0
|
||||
special DoPCTurnOnEffect
|
||||
playse SE_PC_ON
|
||||
msgbox Text_27265A, MSGBOX_DEFAULT
|
||||
msgbox Text_BootUpPC, MSGBOX_DEFAULT
|
||||
goto EventScript_271DAC
|
||||
end
|
||||
|
||||
@@ -1639,7 +1639,7 @@ EventScript_271DBC:: @ 8271DBC
|
||||
|
||||
EventScript_271DF9:: @ 8271DF9
|
||||
playse SE_PC_LOGIN
|
||||
msgbox gUnknown_082726C2, MSGBOX_DEFAULT
|
||||
msgbox gText_AccessedPlayersPC, MSGBOX_DEFAULT
|
||||
special PlayerPC
|
||||
waitstate
|
||||
goto EventScript_271DAC
|
||||
@@ -1649,18 +1649,18 @@ EventScript_271E0E:: @ 8271E0E
|
||||
playse SE_PC_LOGIN
|
||||
call_if_unset FLAG_SYS_PC_LANETTE, EventScript_271E35
|
||||
call_if_set FLAG_SYS_PC_LANETTE, EventScript_271E3E
|
||||
msgbox gUnknown_082726A3, MSGBOX_DEFAULT
|
||||
msgbox gText_StorageSystemOpened, MSGBOX_DEFAULT
|
||||
special ShowPokemonStorageSystemPC
|
||||
waitstate
|
||||
goto EventScript_271DAC
|
||||
end
|
||||
|
||||
EventScript_271E35:: @ 8271E35
|
||||
msgbox gUnknown_0827268C, MSGBOX_DEFAULT
|
||||
msgbox gText_AccessedSomeonesPC, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
EventScript_271E3E:: @ 8271E3E
|
||||
msgbox gUnknown_082726D4, MSGBOX_DEFAULT
|
||||
msgbox gText_AccessedLanettesPC, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
EventScript_271E47:: @ 8271E47
|
||||
@@ -1717,20 +1717,20 @@ Route109_EventScript_271E95:: @ 8271E95
|
||||
EventScript_UseSurf:: @ 8271EA0
|
||||
checkpartymove MOVE_SURF
|
||||
compare VAR_RESULT, 6
|
||||
goto_if_eq EventScript_271ED6
|
||||
goto_if_eq EventScript_CantSurf
|
||||
bufferpartymonnick 0, VAR_RESULT
|
||||
setfieldeffectargument 0, VAR_RESULT
|
||||
lockall
|
||||
msgbox gUnknown_08272FD6, MSGBOX_YESNO
|
||||
msgbox gText_WantToUseSurf, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq EventScript_271ED5
|
||||
msgbox gUnknown_0827300D, MSGBOX_DEFAULT
|
||||
goto_if_eq EventScript_CancelSurf
|
||||
msgbox gText_PlayerUsedSurf, MSGBOX_DEFAULT
|
||||
dofieldeffect FLDEFF_USE_SURF
|
||||
|
||||
EventScript_271ED5:: @ 8271ED5
|
||||
EventScript_CancelSurf:: @ 8271ED5
|
||||
releaseall
|
||||
|
||||
EventScript_271ED6:: @ 8271ED6
|
||||
EventScript_CantSurf:: @ 8271ED6
|
||||
end
|
||||
|
||||
Common_EventScript_SetupRivalGender:: @ 8271ED7
|
||||
@@ -2464,56 +2464,56 @@ Movement_2725CB:: @ 82725CB
|
||||
step_end
|
||||
|
||||
EventScript_PictureBookShelf:: @ 82725CE
|
||||
msgbox Text_2A81E5, MSGBOX_SIGN
|
||||
msgbox Text_PictureBookShelf, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
EventScript_BookShelf:: @ 82725D7
|
||||
msgbox Text_2A820D, MSGBOX_SIGN
|
||||
msgbox Text_BookShelf, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
EventScript_PokemonCenterBookshelf:: @ 82725E0
|
||||
msgbox Text_2A8232, MSGBOX_SIGN
|
||||
EventScript_PokemonCenterBookShelf:: @ 82725E0
|
||||
msgbox Text_PokemonCenterBookShelf, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
EventScript_Vase:: @ 82725E9
|
||||
msgbox Text_2A8276, MSGBOX_SIGN
|
||||
msgbox Text_Vase, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
EventScript_TrashCan:: @ 82725F2
|
||||
msgbox Text_2A82B3, MSGBOX_SIGN
|
||||
EventScript_EmptyTrashCan:: @ 82725F2
|
||||
msgbox Text_EmptyTrashCan, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
EventScript_ShopShelf:: @ 82725FB
|
||||
msgbox Text_2A82BF, MSGBOX_SIGN
|
||||
msgbox Text_ShopShelf, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
EventScript_Blueprint:: @ 8272604
|
||||
msgbox Text_2A82F7, MSGBOX_SIGN
|
||||
msgbox Text_Blueprint, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Text_27260D: @ 827260D
|
||||
Text_WouldYouLikeToMixRecords: @ 827260D
|
||||
.string "Would you like to mix records with\n"
|
||||
.string "other TRAINERS?$"
|
||||
|
||||
Text_272640: @ 8272640
|
||||
Text_WouldNotLikeToMixRecords: @ 8272640
|
||||
.string "We hope to see you again!$"
|
||||
|
||||
Text_27265A: @ 827265A
|
||||
Text_BootUpPC: @ 827265A
|
||||
.string "{PLAYER} booted up the PC.$"
|
||||
|
||||
gText_WhichPCShouldBeAccessed:: @ 827266F
|
||||
.string "Which PC should be accessed?$"
|
||||
|
||||
gUnknown_0827268C:: @ 827268C
|
||||
gText_AccessedSomeonesPC:: @ 827268C
|
||||
.string "Accessed SOMEONE'S PC.$"
|
||||
|
||||
gUnknown_082726A3:: @ 82726A3
|
||||
gText_StorageSystemOpened:: @ 82726A3
|
||||
.string "POKéMON Storage System opened.$"
|
||||
|
||||
gUnknown_082726C2:: @ 82726C2
|
||||
gText_AccessedPlayersPC:: @ 82726C2
|
||||
.string "Accessed {PLAYER}'s PC.$"
|
||||
|
||||
gUnknown_082726D4:: @ 82726D4
|
||||
gText_AccessedLanettesPC:: @ 82726D4
|
||||
.string "Accessed LANETTE's PC.$"
|
||||
|
||||
gUnknown_082726EB:: @ 82726EB
|
||||
@@ -2561,16 +2561,16 @@ gUnknown_08272A78:: @ 8272A78
|
||||
gUnknown_08272A89:: @ 8272A89
|
||||
.string "The BAG is full…$"
|
||||
|
||||
gUnknown_08272A9A:: @ 8272A9A
|
||||
gText_PutItemInPocket:: @ 8272A9A
|
||||
.string "{PLAYER} put away the {STR_VAR_2}\nin the {STR_VAR_3} POCKET.$"
|
||||
|
||||
gUnknown_08272ABF:: @ 8272ABF
|
||||
gText_PlayerFoundOneItem:: @ 8272ABF
|
||||
.string "{PLAYER} found one {STR_VAR_2}!$"
|
||||
|
||||
gText_TooBadBagIsFull:: @ 8272AD0
|
||||
.string "Too bad!\nThe BAG is full…$"
|
||||
|
||||
gUnknown_08272AEA:: @ 8272AEA
|
||||
gText_PlayerPutItemInBag:: @ 8272AEA
|
||||
.string "{PLAYER} put away the {STR_VAR_2}\nin the BAG.$"
|
||||
|
||||
gUnknown_08272B09:: @ 8272B09
|
||||
@@ -2597,13 +2597,13 @@ gUnknown_08272C1D:: @ 8272C1D
|
||||
gUnknown_08272C5F:: @ 8272C5F
|
||||
.string "The sandstorm is vicious.\nIt's impossible to keep going.$"
|
||||
|
||||
gUnknown_08272C98:: @ 8272C98
|
||||
gText_SelectWithoutRegisteredItem:: @ 8272C98
|
||||
.string "An item in the BAG can be\nregistered to SELECT for easy use.$"
|
||||
|
||||
gUnknown_08272CD5:: @ 8272CD5
|
||||
.string "There's an e-mail from POKéMON TRAINER\nSCHOOL.\p… … … … … …\pA POKéMON may learn up to four moves.\pA TRAINER's expertise is tested on the\nmove sets chosen for POKéMON.\p… … … … … …$"
|
||||
|
||||
gUnknown_08272D87:: @ 8272D87
|
||||
gText_PlayerHouseBootPC:: @ 8272D87
|
||||
.string "{PLAYER} booted up the PC.$"
|
||||
|
||||
gUnknown_08272D9C:: @ 8272D9C
|
||||
@@ -2615,13 +2615,13 @@ gUnknown_08272DB3:: @ 8272DB3
|
||||
gUnknown_08272DE3:: @ 8272DE3
|
||||
.string "{PLAYER} is out of usable\nPOKéMON!\p{PLAYER} whited out!$"
|
||||
|
||||
gUnknown_08272E0F:: @ 8272E0F
|
||||
gText_RegisteredTrainerinPokeNav:: @ 8272E0F
|
||||
.string "Registered {STR_VAR_1} {STR_VAR_2}\nin the POKéNAV.$"
|
||||
|
||||
gUnknown_08272E30:: @ 8272E30
|
||||
.string "Do you know the TM SECRET POWER?\pOur group, we love the TM SECRET\nPOWER.\pOne of our members will give it to you.\nCome back and show me if you get it.\pWe'll accept you as a member and sell\nyou good stuff in secrecy.$"
|
||||
|
||||
gUnknown_08272F07:: @ 8272F07
|
||||
gText_PokerusExplanation:: @ 8272F07
|
||||
.string "Your POKéMON may be infected with\nPOKéRUS.\pLittle is known about the POKéRUS\nexcept that they are microscopic life-\lforms that attach to POKéMON.\pWhile infected, POKéMON are said to\ngrow exceptionally well.$"
|
||||
|
||||
.include "data/text/surf.inc"
|
||||
@@ -2650,13 +2650,13 @@ gUnknown_08273161:: @ 8273161
|
||||
gUnknown_08273178:: @ 8273178
|
||||
.string "Thank you for accessing the\nMYSTERY GIFT System.$"
|
||||
|
||||
gUnknown_082731A9:: @ 82731A9
|
||||
gText_PlayerFoundOneItemTwoLines:: @ 82731A9
|
||||
.string "{PLAYER} found one {STR_VAR_1}\n{STR_VAR_2}!$"
|
||||
|
||||
gUnknown_082731BD:: @ 82731BD
|
||||
gText_Sudowoodo_Attacked:: @ 82731BD
|
||||
.string "The weird tree doesn't like the\nWAILMER PAIL!\pThe weird tree attacked!$"
|
||||
|
||||
gUnknown_08273204:: @ 8273204
|
||||
gText_LegendaryFlewAway:: @ 8273204
|
||||
.string "The {STR_VAR_1} flew away!$"
|
||||
|
||||
gText_PkmnTransferredSomeonesPC:: @ 8273216
|
||||
@@ -2674,7 +2674,7 @@ gText_PkmnBoxLanettesPCFull:: @ 82732D9
|
||||
gUnknown_0827331C:: @ 827331C
|
||||
.string "There's no more room for POKéMON!\pThe POKéMON BOXES are full and\ncan't accept any more!$"
|
||||
|
||||
gUnknown_08273374:: @ 8273374
|
||||
gText_NicknameThisPokemon:: @ 8273374
|
||||
.string "Do you want to give a nickname to\nthis {STR_VAR_1}?$"
|
||||
|
||||
gUnknown_0827339F:: @ 827339F
|
||||
@@ -2707,8 +2707,8 @@ gText_UnusualWeatherEnded_Rain:: @ 8273656
|
||||
gText_UnusualWeatherEnded_Sun:: @ 8273684
|
||||
.string "The intense sunshine appears to\nhave subsided…$"
|
||||
|
||||
EventScript_2736B3:: @ 82736B3
|
||||
msgbox gUnknown_08272C98, MSGBOX_SIGN
|
||||
EventScript_SelectWithoutRegisteredItem:: @ 82736B3
|
||||
msgbox gText_SelectWithoutRegisteredItem, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
EventScript_Poison:: @ 82736BC
|
||||
@@ -2862,7 +2862,7 @@ TerraCave_End_EventScript_273776:: @ 8273776
|
||||
removeobject VAR_LAST_TALKED
|
||||
fadescreenswapbuffers 0
|
||||
bufferspeciesname 0, VAR_0x8004
|
||||
msgbox gUnknown_08273204, MSGBOX_DEFAULT
|
||||
msgbox gText_LegendaryFlewAway, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -3433,7 +3433,7 @@ Std_RegisteredInMatchCall:: @ 82742C9
|
||||
closemessage
|
||||
delay 30
|
||||
playfanfare MUS_ME_TORE_EYE
|
||||
msgbox gUnknown_08272E0F, MSGBOX_DEFAULT
|
||||
msgbox gText_RegisteredTrainerinPokeNav, MSGBOX_DEFAULT
|
||||
waitfanfare
|
||||
closemessage
|
||||
delay 30
|
||||
@@ -4207,31 +4207,31 @@ MauvilleCity_GameCorner_EventScript_2A5B0D:: @ 82A5B0D
|
||||
.include "data/text/berries.inc"
|
||||
.include "data/text/shoal_cave.inc"
|
||||
|
||||
Text_2A81E5: @ 82A81E5
|
||||
Text_PictureBookShelf: @ 82A81E5
|
||||
.string "There's a set of POKéMON picture books.$"
|
||||
|
||||
Text_2A820D: @ 82A820D
|
||||
Text_BookShelf: @ 82A820D
|
||||
.string "It's filled with all sorts of books.$"
|
||||
|
||||
Text_2A8232: @ 82A8232
|
||||
Text_PokemonCenterBookShelf: @ 82A8232
|
||||
.string "POKéMON magazines!\n"
|
||||
.string "POKéMON PAL…\p"
|
||||
.string "POKéMON HANDBOOK…\n"
|
||||
.string "ADORABLE POKéMON…$"
|
||||
|
||||
Text_2A8276: @ 82A8276
|
||||
Text_Vase: @ 82A8276
|
||||
.string "This vase looks expensive…\n"
|
||||
.string "Peered inside…\p"
|
||||
.string "But, it was empty.$"
|
||||
|
||||
Text_2A82B3: @ 82A82B3
|
||||
Text_EmptyTrashCan: @ 82A82B3
|
||||
.string "It's empty.$"
|
||||
|
||||
Text_2A82BF: @ 82A82BF
|
||||
Text_ShopShelf: @ 82A82BF
|
||||
.string "The shelves brim with all sorts of\n"
|
||||
.string "POKéMON merchandise.$"
|
||||
|
||||
Text_2A82F7: @ 82A82F7
|
||||
Text_Blueprint: @ 82A82F7
|
||||
.string "A blueprint of some sort?\n"
|
||||
.string "It's too complicated!$"
|
||||
|
||||
|
||||
@@ -16,26 +16,26 @@ gFieldEffectScriptPointers:: @ 82DB9D4
|
||||
.4byte gFieldEffectScript_SurfBlob
|
||||
.4byte gFieldEffectScript_UseSurf
|
||||
.4byte gFieldEffectScript_GroundImpactDust
|
||||
.4byte gFieldEffectScript_Unknown11
|
||||
.4byte gFieldEffectScript_UseSecretPowerCave
|
||||
.4byte gFieldEffectScript_BikeHopTallGrass
|
||||
.4byte gFieldEffectScript_SandFootprints
|
||||
.4byte gFieldEffectScript_BikeHopBigSplash
|
||||
.4byte gFieldEffectScript_Splash
|
||||
.4byte gFieldEffectScript_BikeHopSmallSplash
|
||||
.4byte gFieldEffectScript_LongGrass
|
||||
.4byte gFieldEffectScript_Unknown18
|
||||
.4byte gFieldEffectScript_JumpLongGrass
|
||||
.4byte gFieldEffectScript_Unknown19
|
||||
.4byte gFieldEffectScript_Unknown20
|
||||
.4byte gFieldEffectScript_Unknown21
|
||||
.4byte gFieldEffectScript_Unknown22
|
||||
.4byte gFieldEffectScript_BerryTreeGrowthSparkle
|
||||
.4byte gFieldEffectScript_DeepSandFootprints
|
||||
.4byte gFieldEffectScript_Unknown25
|
||||
.4byte gFieldEffectScript_Unknown26
|
||||
.4byte gFieldEffectScript_Unknown27
|
||||
.4byte gFieldEffectScript_PokeCenterHeal
|
||||
.4byte gFieldEffectScript_UseSecretPowerTree
|
||||
.4byte gFieldEffectScript_UseSecretPowerShrub
|
||||
.4byte gFieldEffectScript_TreeDisguise
|
||||
.4byte gFieldEffectScript_MountainDisguise
|
||||
.4byte gFieldEffectScript_Unknown30
|
||||
.4byte gFieldEffectScript_NPCUseFly
|
||||
.4byte gFieldEffectScript_UseFly
|
||||
.4byte gFieldEffectScript_FlyIn
|
||||
.4byte gFieldEffectScript_QuestionMarkIcon
|
||||
@@ -43,35 +43,35 @@ gFieldEffectScriptPointers:: @ 82DB9D4
|
||||
.4byte gFieldEffectScript_BikeTireTracks
|
||||
.4byte gFieldEffectScript_SandDisguisePlaceholder
|
||||
.4byte gFieldEffectScript_UseRockSmash
|
||||
.4byte gFieldEffectScript_Unknown38
|
||||
.4byte gFieldEffectScript_Unknown39
|
||||
.4byte gFieldEffectScript_Unknown40
|
||||
.4byte gFieldEffectScript_UseDig
|
||||
.4byte gFieldEffectScript_SandPile
|
||||
.4byte gFieldEffectScript_UseStrength
|
||||
.4byte gFieldEffectScript_ShortGrass
|
||||
.4byte gFieldEffectScript_HotSpringsWater
|
||||
.4byte gFieldEffectScript_Unknown43
|
||||
.4byte gFieldEffectScript_Unknown44
|
||||
.4byte gFieldEffectScript_Unknown45
|
||||
.4byte gFieldEffectScript_UseWaterfall
|
||||
.4byte gFieldEffectScript_UseDive
|
||||
.4byte gFieldEffectScript_Pokeball
|
||||
.4byte gFieldEffectScript_HeartIcon
|
||||
.4byte gFieldEffectScript_Unknown47
|
||||
.4byte gFieldEffectScript_Unknown48
|
||||
.4byte gFieldEffectScript_JumpOutOfAsh
|
||||
.4byte gFieldEffectScript_Unknown50
|
||||
.4byte gFieldEffectScript_Unknown51
|
||||
.4byte gFieldEffectScript_Unknown52
|
||||
.4byte gFieldEffectScript_LavaridgeGymWarp
|
||||
.4byte gFieldEffectScript_SweetScent
|
||||
.4byte gFieldEffectScript_SandPillar
|
||||
.4byte gFieldEffectScript_Bubbles
|
||||
.4byte gFieldEffectScript_Unknown54
|
||||
.4byte gFieldEffectScript_Unknown55
|
||||
.4byte gFieldEffectScript_Unknown56
|
||||
.4byte gFieldEffectScript_Unknown57
|
||||
.4byte gFieldEffectScript_Unknown58
|
||||
.4byte gFieldEffectScript_Sparkle
|
||||
.4byte gFieldEffectScript_ShowSecretPowerCave
|
||||
.4byte gFieldEffectScript_ShowSecretPowerTree
|
||||
.4byte gFieldEffectScript_ShowSecretPowerShrub
|
||||
.4byte gFieldEffectScript_ShowCutGrass
|
||||
.4byte gFieldEffectScript_FieldMoveShowMonInit
|
||||
.4byte gFieldEffectScript_UsePuzzleEffect
|
||||
.4byte gFieldEffectScript_Unknown61
|
||||
.4byte gFieldEffectScript_Unknown62
|
||||
.4byte gFieldEffectScript_Unknown63
|
||||
.4byte gFieldEffectScript_SecretBaseBootPC
|
||||
.4byte gFieldEffectScript_HallOfFameRecord
|
||||
.4byte gFieldEffectScript_UseTeleport
|
||||
.4byte gFieldEffectScript_Rayquaza
|
||||
.4byte gFieldEffectScript_Unknown65
|
||||
.4byte gFieldEffectScript_Unknown66
|
||||
.4byte gFieldEffectScript_MoveDeoxysRock
|
||||
|
||||
gFieldEffectScript_ExclamationMarkIcon1:: @ 82DBAE0
|
||||
field_eff_callnative FldEff_ExclamationMarkIcon
|
||||
@@ -117,7 +117,7 @@ gFieldEffectScript_GroundImpactDust:: @ 82DBB28
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo0, FldEff_Dust
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown11:: @ 82DBB32
|
||||
gFieldEffectScript_UseSecretPowerCave:: @ 82DBB32
|
||||
field_eff_callnative FldEff_UseSecretPowerCave
|
||||
field_eff_end
|
||||
|
||||
@@ -145,7 +145,7 @@ gFieldEffectScript_LongGrass:: @ 82DBB6A
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo1, FldEff_LongGrass
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown18:: @ 82DBB74
|
||||
gFieldEffectScript_JumpLongGrass:: @ 82DBB74
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo1, FldEff_JumpLongGrass
|
||||
field_eff_end
|
||||
|
||||
@@ -173,16 +173,16 @@ gFieldEffectScript_DeepSandFootprints:: @ 82DBBAC
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo0, FldEff_DeepSandFootprints
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown25:: @ 82DBBB6
|
||||
gFieldEffectScript_PokeCenterHeal:: @ 82DBBB6
|
||||
field_eff_loadfadedpal gFieldEffectObjectPaletteInfo4
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo0, FldEff_PokecenterHeal
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown26:: @ 82DBBC5
|
||||
gFieldEffectScript_UseSecretPowerTree:: @ 82DBBC5
|
||||
field_eff_callnative FldEff_UseSecretPowerTree
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown27:: @ 82DBBCB
|
||||
gFieldEffectScript_UseSecretPowerShrub:: @ 82DBBCB
|
||||
field_eff_callnative FldEff_UseSecretPowerShrub
|
||||
field_eff_end
|
||||
|
||||
@@ -194,7 +194,7 @@ gFieldEffectScript_MountainDisguise:: @ 82DBBD7
|
||||
field_eff_callnative ShowMountainDisguiseFieldEffect
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown30:: @ 82DBBDD
|
||||
gFieldEffectScript_NPCUseFly:: @ 82DBBDD
|
||||
field_eff_callnative FldEff_NPCFlyOut
|
||||
field_eff_end
|
||||
|
||||
@@ -226,15 +226,15 @@ gFieldEffectScript_UseRockSmash:: @ 82DBC0F
|
||||
field_eff_callnative FldEff_UseRockSmash
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown40:: @ 82DBC15
|
||||
gFieldEffectScript_UseStrength:: @ 82DBC15
|
||||
field_eff_callnative sub_8145E2C
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown38:: @ 82DBC1B
|
||||
gFieldEffectScript_UseDig:: @ 82DBC1B
|
||||
field_eff_callnative FldEff_UseDig
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown39:: @ 82DBC21
|
||||
gFieldEffectScript_SandPile:: @ 82DBC21
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo0, FldEff_SandPile
|
||||
field_eff_end
|
||||
|
||||
@@ -246,15 +246,15 @@ gFieldEffectScript_HotSpringsWater:: @ 82DBC35
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo1, FldEff_HotSpringsWater
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown43:: @ 82DBC3F
|
||||
gFieldEffectScript_UseWaterfall:: @ 82DBC3F
|
||||
field_eff_callnative FldEff_UseWaterfall
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown44:: @ 82DBC45
|
||||
gFieldEffectScript_UseDive:: @ 82DBC45
|
||||
field_eff_callnative FldEff_UseDive
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown45:: @ 82DBC4B
|
||||
gFieldEffectScript_Pokeball:: @ 82DBC4B
|
||||
field_eff_loadpal gFieldEffectObjectPaletteInfo10
|
||||
field_eff_callnative FldEff_Pokeball
|
||||
field_eff_end
|
||||
@@ -275,15 +275,15 @@ gFieldEffectScript_JumpOutOfAsh:: @ 82DBC6C
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo2, FldEff_PopOutOfAsh
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown50:: @ 82DBC76
|
||||
gFieldEffectScript_LavaridgeGymWarp:: @ 82DBC76
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo2, FldEff_LavaridgeGymWarp
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown51:: @ 82DBC80
|
||||
gFieldEffectScript_SweetScent:: @ 82DBC80
|
||||
field_eff_callnative FldEff_SweetScent
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown52:: @ 82DBC86
|
||||
gFieldEffectScript_SandPillar:: @ 82DBC86
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo9, FldEff_SandPillar
|
||||
field_eff_end
|
||||
|
||||
@@ -291,23 +291,23 @@ gFieldEffectScript_Bubbles:: @ 82DBC90
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo0, FldEff_Bubbles
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown54:: @ 82DBC9A
|
||||
gFieldEffectScript_Sparkle:: @ 82DBC9A
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo3, FldEff_Sparkle
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown55:: @ 82DBCA4
|
||||
gFieldEffectScript_ShowSecretPowerCave:: @ 82DBCA4
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo7, FldEff_SecretPowerCave
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown56:: @ 82DBCAE
|
||||
gFieldEffectScript_ShowSecretPowerTree:: @ 82DBCAE
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo8, FldEff_SecretPowerTree
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown57:: @ 82DBCB8
|
||||
gFieldEffectScript_ShowSecretPowerShrub:: @ 82DBCB8
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo8, FldEff_SecretPowerShrub
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown58:: @ 82DBCC2
|
||||
gFieldEffectScript_ShowCutGrass:: @ 82DBCC2
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo6, FldEff_CutGrass
|
||||
field_eff_end
|
||||
|
||||
@@ -319,16 +319,16 @@ gFieldEffectScript_UsePuzzleEffect:: @ 82DBCD2
|
||||
field_eff_callnative FldEff_UsePuzzleEffect
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown61:: @ 82DBCD8
|
||||
gFieldEffectScript_SecretBaseBootPC:: @ 82DBCD8
|
||||
field_eff_callnative FldEff_SecretBasePCTurnOn
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown62:: @ 82DBCDE
|
||||
gFieldEffectScript_HallOfFameRecord:: @ 82DBCDE
|
||||
field_eff_loadfadedpal gFieldEffectObjectPaletteInfo4
|
||||
field_eff_loadfadedpal_callnative gFieldEffectObjectPaletteInfo5, FldEff_HallOfFameRecord
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown63:: @ 82DBCED
|
||||
gFieldEffectScript_UseTeleport:: @ 82DBCED
|
||||
field_eff_callnative FldEff_UseTeleport
|
||||
field_eff_end
|
||||
|
||||
@@ -340,6 +340,6 @@ gFieldEffectScript_Unknown65:: @ 82DBCF9
|
||||
field_eff_callnative sub_80B9ADC
|
||||
field_eff_end
|
||||
|
||||
gFieldEffectScript_Unknown66:: @ 82DBCFF
|
||||
gFieldEffectScript_MoveDeoxysRock:: @ 82DBCFF
|
||||
field_eff_callnative Fldeff_MoveDeoxysRock
|
||||
field_eff_end
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE",
|
||||
"name": "BattleFrontier_BattlePyramidEmptySquare",
|
||||
"layout": "LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_BATTLE_FRONTIER",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP",
|
||||
"name": "BattleFrontier_BattlePyramidTop",
|
||||
"layout": "LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_BATTLE_FRONTIER",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -121,7 +121,7 @@ BattleFrontier_OutsideEast_EventScript_242CFC:: @ 8242CFC
|
||||
playse 269
|
||||
applymovement 14, BattleFrontier_OutsideEast_Movement_242D69
|
||||
waitmovement 0
|
||||
msgbox gUnknown_082731BD, MSGBOX_DEFAULT
|
||||
msgbox gText_Sudowoodo_Attacked, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
waitse
|
||||
playmoncry SPECIES_SUDOWOODO, 2
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE01",
|
||||
"name": "BattlePyramidSquare01",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE01",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE02",
|
||||
"name": "BattlePyramidSquare02",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE02",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE03",
|
||||
"name": "BattlePyramidSquare03",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE03",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE04",
|
||||
"name": "BattlePyramidSquare04",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE04",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE05",
|
||||
"name": "BattlePyramidSquare05",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE05",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE06",
|
||||
"name": "BattlePyramidSquare06",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE06",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE07",
|
||||
"name": "BattlePyramidSquare07",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE07",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE08",
|
||||
"name": "BattlePyramidSquare08",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE08",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE09",
|
||||
"name": "BattlePyramidSquare09",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE09",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE10",
|
||||
"name": "BattlePyramidSquare10",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE10",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE11",
|
||||
"name": "BattlePyramidSquare11",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE11",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE12",
|
||||
"name": "BattlePyramidSquare12",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE12",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE13",
|
||||
"name": "BattlePyramidSquare13",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE13",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE14",
|
||||
"name": "BattlePyramidSquare14",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE14",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE15",
|
||||
"name": "BattlePyramidSquare15",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE15",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BATTLE_PYRAMID_SQUARE16",
|
||||
"name": "BattlePyramidSquare16",
|
||||
"layout": "LAYOUT_BATTLE_PYRAMID_SQUARE16",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BIRTH_ISLAND_EXTERIOR",
|
||||
"name": "BirthIsland_Exterior",
|
||||
"layout": "LAYOUT_BIRTH_ISLAND_EXTERIOR",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_BIRTH_ISLAND_2",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_BIRTH_ISLAND_HARBOR",
|
||||
"name": "BirthIsland_Harbor",
|
||||
"layout": "LAYOUT_ISLAND_HARBOR",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_BIRTH_ISLAND_2",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_CAVE_OF_ORIGIN_B1F",
|
||||
"name": "CaveOfOrigin_B1F",
|
||||
"layout": "LAYOUT_CAVE_OF_ORIGIN_B1F",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_CAVE_OF_ORIGIN",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_FOG_1",
|
||||
|
||||
@@ -37,7 +37,7 @@ FallarborTown_House2_EventScript_2013D6:: @ 82013D6
|
||||
|
||||
FallarborTown_House2_EventScript_20140C:: @ 820140C
|
||||
msgbox FallarborTown_House2_Text_2015C3, MSGBOX_DEFAULT
|
||||
special TeachMoveTutorMove
|
||||
special TeachMoveRelearnerMove
|
||||
waitstate
|
||||
compare VAR_0x8004, 0
|
||||
goto_if_eq FallarborTown_House2_EventScript_2013D6
|
||||
|
||||
@@ -38,7 +38,7 @@ FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E
|
||||
return
|
||||
|
||||
FarawayIsland_Interior_MapScript1_267D72: @ 8267D72
|
||||
setvar VAR_NEVER_READ_0x403A, 0
|
||||
setvar VAR_FARAWAY_ISLAND_STEP_COUNTER, 0
|
||||
setvar VAR_TEMP_1, 1
|
||||
call_if_unset FLAG_CAUGHT_MEW, FarawayIsland_Interior_EventScript_267D86
|
||||
end
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "MAP_INSIDE_OF_TRUCK",
|
||||
"name": "InsideOfTruck",
|
||||
"layout": "LAYOUT_INSIDE_OF_TRUCK",
|
||||
"music": "65535",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_INSIDE_OF_TRUCK",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
|
||||
@@ -151,7 +151,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
|
||||
giveitem VAR_TEMP_0, 1
|
||||
bufferitemname 1, VAR_TEMP_0
|
||||
bufferstdstring 2, 14
|
||||
msgbox gUnknown_08272A9A, MSGBOX_DEFAULT
|
||||
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
||||
random 64
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_220436
|
||||
@@ -163,7 +163,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
|
||||
giveitem VAR_TEMP_0, 1
|
||||
bufferitemname 1, VAR_TEMP_0
|
||||
bufferstdstring 2, 14
|
||||
msgbox gUnknown_08272A9A, MSGBOX_DEFAULT
|
||||
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
||||
random 64
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_220436
|
||||
@@ -175,7 +175,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
|
||||
giveitem VAR_TEMP_0, 1
|
||||
bufferitemname 1, VAR_TEMP_0
|
||||
bufferstdstring 2, 14
|
||||
msgbox gUnknown_08272A9A, MSGBOX_DEFAULT
|
||||
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
||||
goto LilycoveCity_DepartmentStoreRooftop_EventScript_220436
|
||||
end
|
||||
|
||||
|
||||
@@ -257,7 +257,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F8626:: @ 81F8626
|
||||
setvar VAR_0x8004, 1
|
||||
special DoPCTurnOnEffect
|
||||
playse SE_PC_ON
|
||||
msgbox gUnknown_08272D87, MSGBOX_DEFAULT
|
||||
msgbox gText_PlayerHouseBootPC, MSGBOX_DEFAULT
|
||||
special BedroomPC
|
||||
waitstate
|
||||
releaseall
|
||||
|
||||
@@ -315,7 +315,7 @@ LittlerootTown_MaysHouse_2F_EventScript_1F9576:: @ 81F9576
|
||||
setvar VAR_0x8004, 2
|
||||
special DoPCTurnOnEffect
|
||||
playse SE_PC_ON
|
||||
msgbox gUnknown_08272D87, MSGBOX_DEFAULT
|
||||
msgbox gText_PlayerHouseBootPC, MSGBOX_DEFAULT
|
||||
special BedroomPC
|
||||
waitstate
|
||||
releaseall
|
||||
|
||||
@@ -347,7 +347,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA06C:: @ 81FA06C
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA0A1:: @ 81FA0A1
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
|
||||
removeobject 4
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA0FD
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_27378B
|
||||
@@ -358,7 +358,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA0A1:: @ 81FA0A1
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA0CC:: @ 81FA0CC
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
|
||||
removeobject 4
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA0F2
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_273797
|
||||
@@ -392,7 +392,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA10D:: @ 81FA10D
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA142:: @ 81FA142
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
|
||||
removeobject 5
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA19E
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_27378B
|
||||
@@ -403,7 +403,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA142:: @ 81FA142
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA16D:: @ 81FA16D
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
|
||||
removeobject 5
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA193
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_273797
|
||||
@@ -437,7 +437,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA1AE:: @ 81FA1AE
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA1E3:: @ 81FA1E3
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
|
||||
removeobject 6
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA23F
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_27378B
|
||||
@@ -448,7 +448,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA1E3:: @ 81FA1E3
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA20E:: @ 81FA20E
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
|
||||
removeobject 6
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA234
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_273797
|
||||
|
||||
@@ -95,7 +95,7 @@ MossdeepCity_StevensHouse_EventScript_222865:: @ 8222865
|
||||
|
||||
MossdeepCity_StevensHouse_EventScript_222895:: @ 8222895
|
||||
call MossdeepCity_StevensHouse_EventScript_2228EB
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MossdeepCity_StevensHouse_EventScript_222901
|
||||
call MossdeepCity_StevensHouse_EventScript_27378B
|
||||
@@ -105,7 +105,7 @@ MossdeepCity_StevensHouse_EventScript_222895:: @ 8222895
|
||||
|
||||
MossdeepCity_StevensHouse_EventScript_2228BD:: @ 82228BD
|
||||
call MossdeepCity_StevensHouse_EventScript_2228EB
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MossdeepCity_StevensHouse_EventScript_2228E0
|
||||
call MossdeepCity_StevensHouse_EventScript_273797
|
||||
|
||||
@@ -45,7 +45,7 @@ Route110_TrickHouseEnd_EventScript_26AD17:: @ 826AD17
|
||||
faceplayer
|
||||
msgbox Route110_TrickHouseEnd_Text_26B08D, MSGBOX_DEFAULT
|
||||
setvar VAR_TEMP_2, 1
|
||||
switch VAR_0x4044
|
||||
switch VAR_TRICK_HOUSE_LEVEL
|
||||
case 0, Route110_TrickHouseEnd_EventScript_26AD84
|
||||
case 1, Route110_TrickHouseEnd_EventScript_26ADC0
|
||||
case 2, Route110_TrickHouseEnd_EventScript_26ADFC
|
||||
@@ -196,7 +196,7 @@ Route110_TrickHouseEnd_EventScript_26AFCF:: @ 826AFCF
|
||||
applymovement 1, Route110_TrickHouseEnd_Movement_269E3F
|
||||
waitmovement 0
|
||||
removeobject 1
|
||||
addvar VAR_0x4044, 1
|
||||
addvar VAR_TRICK_HOUSE_LEVEL, 1
|
||||
return
|
||||
|
||||
Route110_TrickHouseEnd_EventScript_26AFEF:: @ 826AFEF
|
||||
|
||||
@@ -27,7 +27,7 @@ Route110_TrickHouseEntrance_MapScript1_269A60: @ 8269A60
|
||||
|
||||
Route110_TrickHouseEntrance_EventScript_269AD7:: @ 8269AD7
|
||||
setvar VAR_TRICK_HOUSE_ENTRANCE_STATE_1, 1
|
||||
compare VAR_0x4044, 8
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 8
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_269AED
|
||||
setvar VAR_TRICK_HOUSE_ENTRANCE_STATE_3, 2
|
||||
end
|
||||
@@ -44,21 +44,21 @@ Route110_TrickHouseEntrance_EventScript_269AF3:: @ 8269AF3
|
||||
|
||||
Route110_TrickHouseEntrance_EventScript_269B03:: @ 8269B03
|
||||
setvar VAR_TRICK_HOUSE_ENTRANCE_STATE_3, 0
|
||||
compare VAR_0x4044, 1
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 1
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269B61
|
||||
compare VAR_0x4044, 2
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 2
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269B6B
|
||||
compare VAR_0x4044, 3
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 3
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269B75
|
||||
compare VAR_0x4044, 4
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 4
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269B7F
|
||||
compare VAR_0x4044, 5
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 5
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269B89
|
||||
compare VAR_0x4044, 6
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 6
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269B93
|
||||
compare VAR_0x4044, 7
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 7
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269B9D
|
||||
compare VAR_0x4044, 8
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 8
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269BA7
|
||||
return
|
||||
|
||||
@@ -139,7 +139,7 @@ Route110_TrickHouseEntrance_EventScript_269C15:: @ 8269C15
|
||||
Route110_TrickHouseEntrance_EventScript_269C26:: @ 8269C26
|
||||
addobject 1
|
||||
hideobjectat 1, MAP_ROUTE110_TRICK_HOUSE_ENTRANCE
|
||||
switch VAR_0x4044
|
||||
switch VAR_TRICK_HOUSE_LEVEL
|
||||
case 0, Route110_TrickHouseEntrance_EventScript_269C8C
|
||||
case 1, Route110_TrickHouseEntrance_EventScript_269C94
|
||||
case 2, Route110_TrickHouseEntrance_EventScript_269C9C
|
||||
@@ -205,7 +205,7 @@ Route110_TrickHouseEntrance_MapScript2_269CEE: @ 8269CEE
|
||||
Route110_TrickHouseEntrance_EventScript_269CF8:: @ 8269CF8
|
||||
lockall
|
||||
delay 20
|
||||
compare VAR_0x4044, 0
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269E48
|
||||
msgbox Route110_TrickHouseEntrance_Text_26A78C, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
@@ -240,21 +240,21 @@ Route110_TrickHouseEntrance_EventScript_269D6E:: @ 8269D6E
|
||||
waitmovement 0
|
||||
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_Delay48
|
||||
waitmovement 0
|
||||
compare VAR_0x4044, 0
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269DEE
|
||||
compare VAR_0x4044, 1
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 1
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269DF7
|
||||
compare VAR_0x4044, 2
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 2
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269E00
|
||||
compare VAR_0x4044, 3
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 3
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269E09
|
||||
compare VAR_0x4044, 4
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 4
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269E12
|
||||
compare VAR_0x4044, 5
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 5
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269E1B
|
||||
compare VAR_0x4044, 6
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 6
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269E24
|
||||
compare VAR_0x4044, 7
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 7
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_269E2D
|
||||
closemessage
|
||||
setvar VAR_TRICK_HOUSE_ENTRANCE_STATE_2, 1
|
||||
@@ -343,19 +343,19 @@ Route110_TrickHouseEntrance_EventScript_269E8F:: @ 8269E8F
|
||||
applymovement 1, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox Route110_TrickHouseEntrance_Text_26AA82, MSGBOX_DEFAULT
|
||||
compare VAR_0x4044, 1
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 1
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_269EEF
|
||||
compare VAR_0x4044, 2
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 2
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_269F1B
|
||||
compare VAR_0x4044, 3
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 3
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_269F47
|
||||
compare VAR_0x4044, 4
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 4
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_269F73
|
||||
compare VAR_0x4044, 5
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 5
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_269F9F
|
||||
compare VAR_0x4044, 6
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 6
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_269FCB
|
||||
compare VAR_0x4044, 7
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 7
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_269FF7
|
||||
end
|
||||
|
||||
@@ -510,7 +510,7 @@ Route110_TrickHouseEntrance_EventScript_26A126:: @ 826A126
|
||||
waitmovement 0
|
||||
applymovement EVENT_OBJ_ID_PLAYER, Route110_TrickHouseEntrance_Movement_26A1A7
|
||||
waitmovement 0
|
||||
switch VAR_0x4044
|
||||
switch VAR_TRICK_HOUSE_LEVEL
|
||||
case 0, Route110_TrickHouseEntrance_EventScript_26A1A9
|
||||
case 1, Route110_TrickHouseEntrance_EventScript_26A1B4
|
||||
case 2, Route110_TrickHouseEntrance_EventScript_26A1BF
|
||||
@@ -579,7 +579,7 @@ Route110_TrickHouseEntrance_EventScript_26A201:: @ 826A201
|
||||
end
|
||||
|
||||
Route110_TrickHouseEntrance_EventScript_26A20B:: @ 826A20B
|
||||
compare VAR_0x4044, 8
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 8
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_26A220
|
||||
msgbox Route110_TrickHouseEntrance_Text_26A878, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
@@ -592,7 +592,7 @@ Route110_TrickHouseEntrance_EventScript_26A220:: @ 826A220
|
||||
|
||||
Route110_TrickHouseEntrance_EventScript_26A22A:: @ 826A22A
|
||||
lockall
|
||||
switch VAR_0x4044
|
||||
switch VAR_TRICK_HOUSE_LEVEL
|
||||
case 0, Route110_TrickHouseEntrance_EventScript_26A289
|
||||
case 1, Route110_TrickHouseEntrance_EventScript_26A2B2
|
||||
case 2, Route110_TrickHouseEntrance_EventScript_26A2DB
|
||||
@@ -727,11 +727,11 @@ Route110_TrickHouseEntrance_EventScript_26A3F8:: @ 826A3F8
|
||||
lockall
|
||||
msgbox Route110_TrickHouseEntrance_Text_26A474, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
compare VAR_0x4044, 0
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_26A429
|
||||
compare VAR_0x4044, 1
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 1
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_26A439
|
||||
compare VAR_0x4044, 2
|
||||
compare VAR_TRICK_HOUSE_LEVEL, 2
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_26A449
|
||||
setvar VAR_TRICK_HOUSE_ENTRANCE_STATE_1, 1
|
||||
end
|
||||
|
||||
@@ -94,7 +94,7 @@ Route119_WeatherInstitute_2F_EventScript_27004D:: @ 827004D
|
||||
|
||||
Route119_WeatherInstitute_2F_EventScript_270085:: @ 8270085
|
||||
call Route119_WeatherInstitute_2F_EventScript_2700DB
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route119_WeatherInstitute_2F_EventScript_2700EA
|
||||
call Route119_WeatherInstitute_2F_EventScript_27378B
|
||||
@@ -104,7 +104,7 @@ Route119_WeatherInstitute_2F_EventScript_270085:: @ 8270085
|
||||
|
||||
Route119_WeatherInstitute_2F_EventScript_2700AD:: @ 82700AD
|
||||
call Route119_WeatherInstitute_2F_EventScript_2700DB
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route119_WeatherInstitute_2F_EventScript_2700D0
|
||||
call Route119_WeatherInstitute_2F_EventScript_273797
|
||||
|
||||
@@ -167,7 +167,7 @@ RustboroCity_DevonCorp_2F_EventScript_211A3E:: @ 8211A3E
|
||||
|
||||
RustboroCity_DevonCorp_2F_EventScript_211A6E:: @ 8211A6E
|
||||
call RustboroCity_DevonCorp_2F_EventScript_211AC4
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211AD7
|
||||
call RustboroCity_DevonCorp_2F_EventScript_27378B
|
||||
@@ -177,7 +177,7 @@ RustboroCity_DevonCorp_2F_EventScript_211A6E:: @ 8211A6E
|
||||
|
||||
RustboroCity_DevonCorp_2F_EventScript_211A96:: @ 8211A96
|
||||
call RustboroCity_DevonCorp_2F_EventScript_211AC4
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211AB9
|
||||
call RustboroCity_DevonCorp_2F_EventScript_273797
|
||||
@@ -216,7 +216,7 @@ RustboroCity_DevonCorp_2F_EventScript_211AE1:: @ 8211AE1
|
||||
|
||||
RustboroCity_DevonCorp_2F_EventScript_211B11:: @ 8211B11
|
||||
call RustboroCity_DevonCorp_2F_EventScript_211B67
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211B7A
|
||||
call RustboroCity_DevonCorp_2F_EventScript_27378B
|
||||
@@ -226,7 +226,7 @@ RustboroCity_DevonCorp_2F_EventScript_211B11:: @ 8211B11
|
||||
|
||||
RustboroCity_DevonCorp_2F_EventScript_211B39:: @ 8211B39
|
||||
call RustboroCity_DevonCorp_2F_EventScript_211B67
|
||||
msgbox gUnknown_08273374, MSGBOX_YESNO
|
||||
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211B5C
|
||||
call RustboroCity_DevonCorp_2F_EventScript_273797
|
||||
|
||||
@@ -87,7 +87,7 @@ SkyPillar_Top_EventScript_239785:: @ 8239785
|
||||
removeobject VAR_LAST_TALKED
|
||||
fadescreenswapbuffers 0
|
||||
bufferspeciesname 0, VAR_0x8004
|
||||
msgbox gUnknown_08273204, MSGBOX_DEFAULT
|
||||
msgbox gText_LegendaryFlewAway, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
|
||||
@@ -732,11 +732,11 @@ SlateportCity_EventScript_1DD36E:: @ 81DD36E
|
||||
|
||||
SlateportCity_EventScript_1DD39A:: @ 81DD39A
|
||||
setvar VAR_0x8004, 1
|
||||
specialvar VAR_RESULT, sub_80246D4
|
||||
specialvar VAR_RESULT, HasEnoughBerryPowder
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SlateportCity_EventScript_1DD3C0
|
||||
msgbox SlateportCity_Text_1DEE40, MSGBOX_DEFAULT
|
||||
special sub_80248B0
|
||||
special DisplayBerryPowderVendorMenu
|
||||
goto SlateportCity_EventScript_1DD3CA
|
||||
end
|
||||
|
||||
@@ -846,7 +846,7 @@ SlateportCity_EventScript_1DD536:: @ 81DD536
|
||||
|
||||
SlateportCity_EventScript_1DD54A:: @ 81DD54A
|
||||
msgbox SlateportCity_Text_1DEFBC, MSGBOX_DEFAULT
|
||||
special sub_8024918
|
||||
special RemoveBerryPowderVendorMenu
|
||||
release
|
||||
end
|
||||
|
||||
@@ -855,26 +855,26 @@ SlateportCity_EventScript_1DD557:: @ 81DD557
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SlateportCity_EventScript_1DD3CA
|
||||
copyvar VAR_0x8004, VAR_0x8009
|
||||
specialvar VAR_RESULT, sub_80246D4
|
||||
specialvar VAR_RESULT, HasEnoughBerryPowder
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SlateportCity_EventScript_1DD5CE
|
||||
giveitem_std VAR_0x8008
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SlateportCity_EventScript_1DD5C1
|
||||
copyvar VAR_0x8004, VAR_0x8009
|
||||
special sub_802477C
|
||||
special sub_802488C
|
||||
special TakeBerryPowder
|
||||
special PrintPlayerBerryPowderAmount
|
||||
msgbox SlateportCity_Text_1DEEF7, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq SlateportCity_EventScript_1DD3CA
|
||||
msgbox SlateportCity_Text_1DEF79, MSGBOX_DEFAULT
|
||||
special sub_8024918
|
||||
special RemoveBerryPowderVendorMenu
|
||||
release
|
||||
end
|
||||
|
||||
SlateportCity_EventScript_1DD5C1:: @ 81DD5C1
|
||||
msgbox gUnknown_08272A89, MSGBOX_DEFAULT
|
||||
special sub_8024918
|
||||
special RemoveBerryPowderVendorMenu
|
||||
release
|
||||
end
|
||||
|
||||
|
||||
72
data/menu_specialized.s
Normal file
@@ -0,0 +1,72 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
|
||||
|
||||
gUnknown_08625AD0:: @ 8625AD0
|
||||
.2byte 0
|
||||
.2byte 0x4000
|
||||
.2byte 0
|
||||
.2byte 0
|
||||
|
||||
gUnknown_08625AD8:: @ 8625AD8
|
||||
.2byte 0
|
||||
.2byte 5
|
||||
.2byte 4
|
||||
.2byte 5
|
||||
|
||||
gUnknown_08625AE0:: @ 8625AE0
|
||||
.2byte 8
|
||||
.2byte 5
|
||||
.2byte 12
|
||||
.2byte 5
|
||||
|
||||
gUnknown_08625AE8:: @ 8625AE8
|
||||
.2byte 16
|
||||
.2byte 5
|
||||
.2byte 20
|
||||
.2byte 5
|
||||
|
||||
gUnknown_08625AF0:: @ 8625AF0
|
||||
.2byte 24
|
||||
.2byte 5
|
||||
.2byte 0xFFFF
|
||||
.2byte 0
|
||||
|
||||
gUnknown_08625AF8:: @ 8625AF8
|
||||
.4byte gUnknown_08625AD8
|
||||
.4byte gUnknown_08625AE0
|
||||
|
||||
gUnknown_08625B00:: @ 8625B00
|
||||
.4byte gUnknown_08625AE8
|
||||
.4byte gUnknown_08625AF0
|
||||
|
||||
gUnknown_08625B08:: @ 8625B08
|
||||
.4byte gUnknown_08625AF8
|
||||
.4byte gUnknown_08625B00
|
||||
.4byte gUnknown_08625B08
|
||||
|
||||
gUnknown_08625B14:: @ 8625B14
|
||||
spr_template 0x68, 0x68, gUnknown_08625AD0, gUnknown_08625AF8, NULL gDummySpriteAffineAnimTable, sub_81D3564
|
||||
|
||||
gUnknown_08625B2C:: @ 8625B2C
|
||||
.2byte 0, 0xFFDD
|
||||
.2byte 20, 0xFFE4
|
||||
.2byte 33, 0xFFF6
|
||||
.2byte 33, 10
|
||||
.2byte 20, 28
|
||||
.2byte 0, 35
|
||||
.2byte 0xFFEC, 28
|
||||
.2byte 0xFFDF, 10
|
||||
.2byte 0xFFDF, 0xFFF6
|
||||
.2byte 0xFFEC, 0xFFE4
|
||||
|
||||
gUnknown_08625B54:: @ 8625B54
|
||||
.4byte gUnknown_085EEA46
|
||||
.4byte gUnknown_085EEA4E
|
||||
.4byte gUnknown_085EEA55
|
||||
.4byte gUnknown_085EEA63
|
||||
.4byte gUnknown_085EEA6B
|
||||
.4byte gUnknown_085EEA5D
|
||||
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
@@ -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
@@ -1052,7 +1052,7 @@ Text_276731: @ 8276731
|
||||
.string "This data is already registered.\n"
|
||||
.string "Would you like to delete it?$"
|
||||
|
||||
Text_27676F: @ 827676F
|
||||
Text_TooManyBasesDeleteSome: @ 827676F
|
||||
.string "Up to 10 locations can be registered.\p"
|
||||
.string "Delete a location if you want to\n"
|
||||
.string "register another location.$"
|
||||
@@ -1063,10 +1063,10 @@ Text_2767D1: @ 82767D1
|
||||
Text_2767E9: @ 82767E9
|
||||
.string "Data has been unregistered.$"
|
||||
|
||||
Text_276805: @ 8276805
|
||||
Text_SecretBaseBootUpPC: @ 8276805
|
||||
.string "{PLAYER} booted up the PC.$"
|
||||
|
||||
Text_27681A: @ 827681A
|
||||
Text_SecretBasePCStartMenu: @ 827681A
|
||||
.string "What would you like to do?$"
|
||||
|
||||
Text_276835: @ 8276835
|
||||
|
||||
@@ -235,7 +235,7 @@ gSpecials:: @ 81DBA64
|
||||
def_special sub_81B9770
|
||||
def_special sub_81B9718
|
||||
def_special sub_81B96D0
|
||||
def_special TeachMoveTutorMove
|
||||
def_special TeachMoveRelearnerMove
|
||||
def_special GetRecordedCyclingRoadResults
|
||||
def_special Special_BeginCyclingRoadChallenge
|
||||
def_special GetPlayerAvatarBike
|
||||
@@ -471,11 +471,11 @@ gSpecials:: @ 81DBA64
|
||||
def_special sub_813AA04
|
||||
def_special sub_813AA18
|
||||
def_special sub_813AA44
|
||||
def_special sub_80248B0
|
||||
def_special sub_8024918
|
||||
def_special sub_80246D4
|
||||
def_special sub_802477C
|
||||
def_special sub_802488C
|
||||
def_special DisplayBerryPowderVendorMenu
|
||||
def_special RemoveBerryPowderVendorMenu
|
||||
def_special HasEnoughBerryPowder
|
||||
def_special TakeBerryPowder
|
||||
def_special PrintPlayerBerryPowderAmount
|
||||
def_special sub_813A820
|
||||
def_special sub_813A854
|
||||
def_special sub_813B7D8
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
gUnknown_08272FD6:: @ 8272FD6
|
||||
gText_WantToUseSurf:: @ 8272FD6
|
||||
.string "The water is dyed a deep blue…\nWould you like to SURF?$"
|
||||
|
||||
gUnknown_0827300D:: @ 827300D
|
||||
gText_PlayerUsedSurf:: @ 827300D
|
||||
.string "{STR_VAR_1} used SURF!$"
|
||||
|
||||
259
data/union_room_chat.s
Executable file
@@ -0,0 +1,259 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
.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, gUnknown_0862B9FF, gUnknown_0862BA05, gUnknown_0862BA0B, gUnknown_0862BA11, gUnknown_0862BA17, gUnknown_0862BA1D, gUnknown_0862BA23, gUnknown_0862BA29, gUnknown_0862BA2F
|
||||
.4byte gUnknown_0862BA35, gUnknown_0862BA3B, gUnknown_0862BA41, gUnknown_0862BA47, gUnknown_0862BA4D, gUnknown_0862BA53, gUnknown_0862BA59, gUnknown_0862BA5F, gUnknown_0862BA65, gUnknown_0862BA6B
|
||||
.4byte gUnknown_0862BA79, gUnknown_0862BA84, gUnknown_0862BA8F, gUnknown_0862BA9A, gUnknown_0862BAA3, gUnknown_0862BAAE, gUnknown_0862BAB9, gUnknown_0862BAC4, gUnknown_0862BACF, 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
|
||||
99
data/union_room_player_avatar.s
Executable file
@@ -0,0 +1,99 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
.align 2
|
||||
gUnknown_082F072C:: @ 82F072C
|
||||
.byte 0x21, 0x2c, 0x1f, 0x23, 0x25, 0x24, 0x41, 0x42
|
||||
.byte 0x00, 0x00, 0x22, 0x28, 0x20, 0x2f, 0x2f, 0x0e
|
||||
.byte 0x14, 0x2d, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F0740:: @ 82F0740
|
||||
.2byte 0x0004, 0x0006, 0x000d, 0x0008
|
||||
.2byte 0x000a, 0x0006, 0x0001, 0x0008
|
||||
.2byte 0x000d, 0x0004, 0x0007, 0x0004
|
||||
.2byte 0x0001, 0x0004, 0x0007, 0x0008
|
||||
|
||||
.align 2
|
||||
gUnknown_082F0760:: @ 82F0760
|
||||
.byte 0x00, 0x00, 0x01, 0x00, 0x00, 0xff, 0xff, 0x00
|
||||
.byte 0x00, 0x01
|
||||
|
||||
gUnknown_082F076A:: @ 82F076A
|
||||
.byte 0x00, 0x02, 0x01, 0x04, 0x03
|
||||
|
||||
gUnknown_082F076F:: @ 82F076F
|
||||
.byte 0x01, 0x03, 0x01, 0x04, 0x02
|
||||
|
||||
gUnknown_082F0774:: @ 82F0774
|
||||
.byte 0x09, 0x08, 0x07, 0x02, 0x06, 0x05, 0x04, 0x03
|
||||
.byte 0xbf, 0x02, 0xc0, 0x02, 0xc1, 0x02, 0xc2, 0x02
|
||||
.byte 0xc3, 0x02, 0xc4, 0x02, 0xc5, 0x02, 0xc6, 0x02
|
||||
|
||||
gUnknown_082F078C:: @ 82F078C
|
||||
.byte 0x9c, 0xfe
|
||||
|
||||
gUnknown_082F078E:: @ 82F078E
|
||||
.byte 0x9d, 0xfe
|
||||
|
||||
.align 2
|
||||
gWirelessInfoScreenPal:: @ 82F0790
|
||||
.incbin "graphics/interface/wireless_info_screen.gbapal"
|
||||
|
||||
.align 2
|
||||
gWirelessInfoScreenGfx:: @ 82F0990
|
||||
.incbin "graphics/interface/wireless_info_screen.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gWirelessInfoScreenTilemap:: @ 82F0BA0
|
||||
.incbin "graphics/interface/wireless_info_screen.bin.lz"
|
||||
|
||||
.align 2
|
||||
gUnknown_082F0D34:: @ 82F0D34
|
||||
.4byte 0x000001f8
|
||||
.4byte 0x00001081
|
||||
|
||||
.align 2
|
||||
gUnknown_082F0D3C:: @ 82F0D3C
|
||||
window_template 0x00, 0x03, 0x00, 0x18, 0x03, 0x0f, 0x0001
|
||||
window_template 0x00, 0x03, 0x04, 0x15, 0x0f, 0x0f, 0x0049
|
||||
window_template 0x00, 0x18, 0x04, 0x03, 0x0f, 0x0f, 0x0184
|
||||
null_window_template
|
||||
|
||||
.align 2
|
||||
gUnknown_082F0D5C:: @ 82F0D5C
|
||||
.4byte gText_WirelessCommStatus
|
||||
.4byte gText_PeopleTrading
|
||||
.4byte gText_PeopleBattling
|
||||
.4byte gText_PeopleInUnionRoom
|
||||
.4byte gText_PeopleCommunicating
|
||||
|
||||
.align 2
|
||||
gUnknown_082F0D70:: @ 82F0D70
|
||||
.byte 0x01, 0x01, 0x02, 0x02, 0x01, 0x02, 0x03, 0x01
|
||||
.byte 0x04, 0x04, 0x00, 0x02, 0x06, 0x03, 0x02, 0x07
|
||||
.byte 0x03, 0x02, 0x09, 0x03, 0x00, 0x0a, 0x03, 0x00
|
||||
.byte 0x0b, 0x03, 0x00, 0x0c, 0xff, 0x00, 0x0d, 0x00
|
||||
.byte 0x00, 0x10, 0x03, 0x00, 0x0f, 0x03, 0x00, 0x40
|
||||
.byte 0x02, 0x01, 0x41, 0x02, 0x02, 0x44, 0x02, 0x02
|
||||
.byte 0x45, 0x02, 0x00, 0x48, 0x02, 0x02, 0x54, 0x02
|
||||
.byte 0x01, 0x53, 0x02, 0x02, 0x51, 0x02, 0x01, 0x52
|
||||
.byte 0x02, 0x01, 0x15, 0x03, 0x02, 0x16, 0x03, 0x02
|
||||
.byte 0x17, 0x03, 0x00, 0x18, 0x03, 0x00, 0x19, 0x03
|
||||
.byte 0x00, 0x1a, 0x03, 0x00, 0x1b, 0x03, 0x00, 0x1c
|
||||
.byte 0x01, 0x02, 0x0e, 0x01, 0x02, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F0DD0:: @ 82F0DD0
|
||||
.4byte 0x000001FC
|
||||
|
||||
.align 2
|
||||
gUnknown_082F0DD4:: @ 82F0DD4
|
||||
window_template 0x00, 0x03, 0x0f, 0x18, 0x04, 0x0e, 0x0014
|
||||
null_window_template
|
||||
|
||||
.align 2
|
||||
gUnknown_082F0DE4:: @ 82F0DE4
|
||||
.byte 0x01, 0x02, 0x03
|
||||
@@ -48,10 +48,10 @@ sContestStatNames:: @ 85DFD04
|
||||
.4byte gText_Cuteness
|
||||
.4byte gText_Beauty3
|
||||
|
||||
gUnknown_085DFD18:: @ 85DFD18
|
||||
gSpriteSheet_ConditionUpDown:: @ 85DFD18
|
||||
obj_tiles gUsePokeblockUpDown_Gfx, 0x200, 0
|
||||
|
||||
gUnknown_085DFD20:: @ 85DFD20
|
||||
gSpritePalette_ConditionUpDown:: @ 85DFD20
|
||||
obj_pal gUsePokeblockUpDown_Pal, 0
|
||||
|
||||
gUnknown_085DFD28:: @ 85DFD28
|
||||
@@ -79,7 +79,7 @@ gUnknown_085DFD54:: @ 85DFD54
|
||||
.4byte gUnknown_085DFD44
|
||||
.4byte gUnknown_085DFD4C
|
||||
|
||||
gUnknown_085DFD5C:: @ 85DFD5C
|
||||
gSpriteTemplate_085DFD5C:: @ 85DFD5C
|
||||
spr_template 0, 0, gUnknown_085DFD3C, gUnknown_085DFD54, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
gUnknown_085DFD74:: @ 85DFD74
|
||||
|
||||
|
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 698 B |
|
Before Width: | Height: | Size: 616 B After Width: | Height: | Size: 616 B |
|
Before Width: | Height: | Size: 94 B After Width: | Height: | Size: 94 B |
|
Before Width: | Height: | Size: 585 B After Width: | Height: | Size: 585 B |
|
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 327 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 673 B After Width: | Height: | Size: 673 B |
|
Before Width: | Height: | Size: 102 B After Width: | Height: | Size: 102 B |
|
Before Width: | Height: | Size: 890 B After Width: | Height: | Size: 890 B |
|
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 371 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 602 B |
|
Before Width: | Height: | Size: 92 B After Width: | Height: | Size: 92 B |
|
Before Width: | Height: | Size: 923 B After Width: | Height: | Size: 923 B |
|
Before Width: | Height: | Size: 369 B After Width: | Height: | Size: 369 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 860 B After Width: | Height: | Size: 860 B |
|
Before Width: | Height: | Size: 102 B After Width: | Height: | Size: 102 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 367 B |