Merge with master, add defines to atk49 and statbuffchange commands
This commit is contained in:
commit
17e74756cb
7233
asm/berry_crush.s
Executable file
7233
asm/berry_crush.s
Executable file
File diff suppressed because it is too large
Load Diff
11806
asm/dodrio_berry_picking.s
Executable file
11806
asm/dodrio_berry_picking.s
Executable file
File diff suppressed because it is too large
Load Diff
@ -400,6 +400,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 sethealblock ptr
|
||||
.byte 0x4a
|
||||
|
||||
534
asm/mevent_server.s
Executable file
534
asm/mevent_server.s
Executable file
@ -0,0 +1,534 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
thumb_func_start mevent_srv_init_wnews
|
||||
mevent_srv_init_wnews: @ 801D07C
|
||||
push {r4,lr}
|
||||
ldr r4, =gUnknown_02022C7C
|
||||
movs r0, 0x60
|
||||
bl AllocZeroed
|
||||
str r0, [r4]
|
||||
ldr r1, =gUnknown_082F298C
|
||||
movs r2, 0
|
||||
movs r3, 0x1
|
||||
bl mevent_srv_init_common
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end mevent_srv_init_wnews
|
||||
|
||||
thumb_func_start mevent_srv_new_wcard
|
||||
mevent_srv_new_wcard: @ 801D0A0
|
||||
push {r4,lr}
|
||||
ldr r4, =gUnknown_02022C7C
|
||||
movs r0, 0x60
|
||||
bl AllocZeroed
|
||||
str r0, [r4]
|
||||
ldr r1, =gUnknown_082F29EC
|
||||
movs r2, 0
|
||||
movs r3, 0x1
|
||||
bl mevent_srv_init_common
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end mevent_srv_new_wcard
|
||||
|
||||
thumb_func_start sub_801D0C4
|
||||
sub_801D0C4: @ 801D0C4
|
||||
push {r4-r6,lr}
|
||||
adds r6, r0, 0
|
||||
ldr r4, =gUnknown_02022C7C
|
||||
ldr r0, [r4]
|
||||
cmp r0, 0
|
||||
bne _0801D0D8
|
||||
movs r0, 0x3
|
||||
b _0801D0F8
|
||||
.pool
|
||||
_0801D0D8:
|
||||
bl mevent_dispatch_08145600
|
||||
adds r5, r0, 0
|
||||
cmp r5, 0x3
|
||||
bne _0801D0F6
|
||||
ldr r0, [r4]
|
||||
ldr r1, [r0, 0x4]
|
||||
strh r1, [r6]
|
||||
bl mevent_srv_free_resources
|
||||
ldr r0, [r4]
|
||||
bl Free
|
||||
movs r0, 0
|
||||
str r0, [r4]
|
||||
_0801D0F6:
|
||||
adds r0, r5, 0
|
||||
_0801D0F8:
|
||||
pop {r4-r6}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D0C4
|
||||
|
||||
thumb_func_start mevent_srv_init_common
|
||||
mevent_srv_init_common: @ 801D100
|
||||
push {r4-r6,lr}
|
||||
mov r6, r9
|
||||
mov r5, r8
|
||||
push {r5,r6}
|
||||
adds r4, r0, 0
|
||||
adds r6, r1, 0
|
||||
mov r8, r2
|
||||
mov r9, r3
|
||||
movs r5, 0
|
||||
str r5, [r4]
|
||||
str r5, [r4, 0x8]
|
||||
movs r0, 0xA6
|
||||
lsls r0, 1
|
||||
bl AllocZeroed
|
||||
str r0, [r4, 0x18]
|
||||
movs r0, 0xDE
|
||||
lsls r0, 1
|
||||
bl AllocZeroed
|
||||
str r0, [r4, 0x1C]
|
||||
movs r0, 0x80
|
||||
lsls r0, 3
|
||||
bl AllocZeroed
|
||||
str r0, [r4, 0x14]
|
||||
movs r0, 0x64
|
||||
bl AllocZeroed
|
||||
str r0, [r4, 0x20]
|
||||
str r6, [r4, 0x10]
|
||||
str r5, [r4, 0xC]
|
||||
adds r4, 0x38
|
||||
adds r0, r4, 0
|
||||
mov r1, r8
|
||||
mov r2, r9
|
||||
bl sub_801D8D8
|
||||
pop {r3,r4}
|
||||
mov r8, r3
|
||||
mov r9, r4
|
||||
pop {r4-r6}
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end mevent_srv_init_common
|
||||
|
||||
thumb_func_start mevent_srv_free_resources
|
||||
mevent_srv_free_resources: @ 801D158
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
ldr r0, [r4, 0x18]
|
||||
bl Free
|
||||
ldr r0, [r4, 0x1C]
|
||||
bl Free
|
||||
ldr r0, [r4, 0x14]
|
||||
bl Free
|
||||
ldr r0, [r4, 0x20]
|
||||
bl Free
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end mevent_srv_free_resources
|
||||
|
||||
thumb_func_start mevent_srv_814501C
|
||||
mevent_srv_814501C: @ 801D17C
|
||||
push {lr}
|
||||
adds r0, 0x38
|
||||
bl sub_801D904
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end mevent_srv_814501C
|
||||
|
||||
thumb_func_start sub_801D188
|
||||
sub_801D188: @ 801D188
|
||||
push {lr}
|
||||
cmp r0, 0
|
||||
bne _0801D190
|
||||
adds r0, r1, 0
|
||||
_0801D190:
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D188
|
||||
|
||||
thumb_func_start sub_801D194
|
||||
sub_801D194: @ 801D194
|
||||
push {lr}
|
||||
cmp r1, r0
|
||||
bcs _0801D19E
|
||||
movs r0, 0
|
||||
b _0801D1A8
|
||||
_0801D19E:
|
||||
cmp r1, r0
|
||||
beq _0801D1A6
|
||||
movs r0, 0x2
|
||||
b _0801D1A8
|
||||
_0801D1A6:
|
||||
movs r0, 0x1
|
||||
_0801D1A8:
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D194
|
||||
|
||||
thumb_func_start sub_801D1AC
|
||||
sub_801D1AC: @ 801D1AC
|
||||
movs r1, 0x4
|
||||
str r1, [r0, 0x8]
|
||||
movs r0, 0
|
||||
bx lr
|
||||
thumb_func_end sub_801D1AC
|
||||
|
||||
thumb_func_start sub_801D1B4
|
||||
sub_801D1B4: @ 801D1B4
|
||||
movs r0, 0x3
|
||||
bx lr
|
||||
thumb_func_end sub_801D1B4
|
||||
|
||||
thumb_func_start sub_801D1B8
|
||||
sub_801D1B8: @ 801D1B8
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
adds r0, 0x38
|
||||
bl sub_801D8C0
|
||||
cmp r0, 0
|
||||
beq _0801D1CA
|
||||
movs r0, 0x4
|
||||
str r0, [r4, 0x8]
|
||||
_0801D1CA:
|
||||
movs r0, 0x1
|
||||
pop {r4}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D1B8
|
||||
|
||||
thumb_func_start sub_801D1D4
|
||||
sub_801D1D4: @ 801D1D4
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
adds r0, 0x38
|
||||
bl sub_801D8CC
|
||||
cmp r0, 0
|
||||
beq _0801D1E6
|
||||
movs r0, 0x4
|
||||
str r0, [r4, 0x8]
|
||||
_0801D1E6:
|
||||
movs r0, 0x1
|
||||
pop {r4}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D1D4
|
||||
|
||||
thumb_func_start sub_801D1F0
|
||||
sub_801D1F0: @ 801D1F0
|
||||
push {r4,r5,lr}
|
||||
adds r5, r0, 0
|
||||
ldr r0, [r5, 0xC]
|
||||
lsls r1, r0, 1
|
||||
adds r1, r0
|
||||
lsls r1, 2
|
||||
ldr r2, [r5, 0x10]
|
||||
adds r3, r2, r1
|
||||
adds r0, 0x1
|
||||
str r0, [r5, 0xC]
|
||||
ldr r0, [r3]
|
||||
cmp r0, 0x1E
|
||||
bls _0801D20C
|
||||
b _0801D464
|
||||
_0801D20C:
|
||||
lsls r0, 2
|
||||
ldr r1, =_0801D21C
|
||||
adds r0, r1
|
||||
ldr r0, [r0]
|
||||
mov pc, r0
|
||||
.pool
|
||||
.align 2, 0
|
||||
_0801D21C:
|
||||
.4byte _0801D298
|
||||
.4byte _0801D2A2
|
||||
.4byte _0801D2A8
|
||||
.4byte _0801D2E2
|
||||
.4byte _0801D2D8
|
||||
.4byte _0801D2BA
|
||||
.4byte _0801D2C6
|
||||
.4byte _0801D2EC
|
||||
.4byte _0801D300
|
||||
.4byte _0801D308
|
||||
.4byte _0801D31E
|
||||
.4byte _0801D32E
|
||||
.4byte _0801D33A
|
||||
.4byte _0801D360
|
||||
.4byte _0801D348
|
||||
.4byte _0801D390
|
||||
.4byte _0801D378
|
||||
.4byte _0801D3DC
|
||||
.4byte _0801D3A8
|
||||
.4byte _0801D3C0
|
||||
.4byte _0801D3CE
|
||||
.4byte _0801D406
|
||||
.4byte _0801D3EA
|
||||
.4byte _0801D3F8
|
||||
.4byte _0801D40E
|
||||
.4byte _0801D418
|
||||
.4byte _0801D422
|
||||
.4byte _0801D43C
|
||||
.4byte _0801D450
|
||||
.4byte _0801D458
|
||||
.4byte _0801D2CC
|
||||
_0801D298:
|
||||
movs r0, 0x1
|
||||
str r0, [r5, 0x8]
|
||||
ldr r0, [r3, 0x4]
|
||||
str r0, [r5, 0x4]
|
||||
b _0801D464
|
||||
_0801D2A2:
|
||||
movs r0, 0x3
|
||||
str r0, [r5, 0x8]
|
||||
b _0801D464
|
||||
_0801D2A8:
|
||||
adds r0, r5, 0
|
||||
adds r0, 0x38
|
||||
ldr r1, [r3, 0x4]
|
||||
ldr r2, [r5, 0x14]
|
||||
bl sub_801D928
|
||||
movs r0, 0x2
|
||||
str r0, [r5, 0x8]
|
||||
b _0801D464
|
||||
_0801D2BA:
|
||||
ldr r0, [r5, 0x20]
|
||||
ldr r1, [r5, 0x14]
|
||||
movs r2, 0x64
|
||||
bl memcpy
|
||||
b _0801D464
|
||||
_0801D2C6:
|
||||
ldr r0, [r5, 0x20]
|
||||
movs r1, 0
|
||||
b _0801D2D0
|
||||
_0801D2CC:
|
||||
ldr r0, [r5, 0x20]
|
||||
movs r1, 0x1
|
||||
_0801D2D0:
|
||||
bl sub_801B6A0
|
||||
str r0, [r5, 0x4]
|
||||
b _0801D464
|
||||
_0801D2D8:
|
||||
ldr r1, [r5, 0x4]
|
||||
ldr r0, [r3, 0x4]
|
||||
cmp r1, r0
|
||||
beq _0801D2E2
|
||||
b _0801D464
|
||||
_0801D2E2:
|
||||
movs r0, 0
|
||||
str r0, [r5, 0xC]
|
||||
ldr r0, [r3, 0x8]
|
||||
str r0, [r5, 0x10]
|
||||
b _0801D464
|
||||
_0801D2EC:
|
||||
ldr r0, [r3, 0x8]
|
||||
ldr r1, [r5, 0x18]
|
||||
bl sub_801D188
|
||||
adds r2, r0, 0
|
||||
ldr r1, [r5, 0x20]
|
||||
bl sub_801B6EC
|
||||
str r0, [r5, 0x4]
|
||||
b _0801D464
|
||||
_0801D300:
|
||||
ldr r0, [r5, 0x14]
|
||||
ldr r0, [r0]
|
||||
str r0, [r5, 0x4]
|
||||
b _0801D464
|
||||
_0801D308:
|
||||
ldr r0, [r3, 0x8]
|
||||
adds r1, r5, 0
|
||||
adds r1, 0x34
|
||||
bl sub_801D188
|
||||
adds r2, r0, 0
|
||||
ldr r1, [r5, 0x20]
|
||||
bl sub_801B708
|
||||
str r0, [r5, 0x4]
|
||||
b _0801D464
|
||||
_0801D31E:
|
||||
ldr r0, [r5, 0x20]
|
||||
ldr r1, [r3, 0x4]
|
||||
bl sub_801B784
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
str r0, [r5, 0x4]
|
||||
b _0801D464
|
||||
_0801D32E:
|
||||
ldr r0, [r5, 0x20]
|
||||
ldr r1, [r3, 0x8]
|
||||
bl sub_801B748
|
||||
str r0, [r5, 0x4]
|
||||
b _0801D464
|
||||
_0801D33A:
|
||||
ldr r0, [r3, 0x8]
|
||||
ldr r1, [r5, 0x14]
|
||||
ldr r1, [r1]
|
||||
bl sub_801D194
|
||||
str r0, [r5, 0x4]
|
||||
b _0801D464
|
||||
_0801D348:
|
||||
ldr r0, [r3, 0x8]
|
||||
ldr r1, [r5, 0x1C]
|
||||
bl sub_801D188
|
||||
adds r2, r0, 0
|
||||
movs r3, 0xDE
|
||||
lsls r3, 1
|
||||
adds r0, r5, 0
|
||||
movs r1, 0x17
|
||||
bl mevent_srv_814501C
|
||||
b _0801D464
|
||||
_0801D360:
|
||||
ldr r0, [r3, 0x8]
|
||||
ldr r1, [r5, 0x18]
|
||||
bl sub_801D188
|
||||
adds r2, r0, 0
|
||||
movs r3, 0xA6
|
||||
lsls r3, 1
|
||||
adds r0, r5, 0
|
||||
movs r1, 0x16
|
||||
bl mevent_srv_814501C
|
||||
b _0801D464
|
||||
_0801D378:
|
||||
ldr r0, [r3, 0x8]
|
||||
adds r1, r5, 0
|
||||
adds r1, 0x34
|
||||
bl sub_801D188
|
||||
adds r2, r0, 0
|
||||
adds r0, r5, 0
|
||||
movs r1, 0x18
|
||||
movs r3, 0x4
|
||||
bl mevent_srv_814501C
|
||||
b _0801D464
|
||||
_0801D390:
|
||||
ldr r2, [r3, 0x8]
|
||||
cmp r2, 0
|
||||
bne _0801D39C
|
||||
ldr r2, [r5, 0x24]
|
||||
ldr r3, [r5, 0x28]
|
||||
b _0801D39E
|
||||
_0801D39C:
|
||||
ldr r3, [r3, 0x4]
|
||||
_0801D39E:
|
||||
adds r0, r5, 0
|
||||
movs r1, 0x19
|
||||
bl mevent_srv_814501C
|
||||
b _0801D464
|
||||
_0801D3A8:
|
||||
ldr r2, [r3, 0x8]
|
||||
cmp r2, 0
|
||||
bne _0801D3B4
|
||||
ldr r2, [r5, 0x2C]
|
||||
ldr r3, [r5, 0x30]
|
||||
b _0801D3B6
|
||||
_0801D3B4:
|
||||
ldr r3, [r3, 0x4]
|
||||
_0801D3B6:
|
||||
adds r0, r5, 0
|
||||
movs r1, 0x10
|
||||
bl mevent_srv_814501C
|
||||
b _0801D464
|
||||
_0801D3C0:
|
||||
ldr r2, [r3, 0x8]
|
||||
adds r0, r5, 0
|
||||
movs r1, 0x1A
|
||||
movs r3, 0xBC
|
||||
bl mevent_srv_814501C
|
||||
b _0801D464
|
||||
_0801D3CE:
|
||||
ldr r2, [r3, 0x8]
|
||||
ldr r3, [r3, 0x4]
|
||||
adds r0, r5, 0
|
||||
movs r1, 0x15
|
||||
bl mevent_srv_814501C
|
||||
b _0801D464
|
||||
_0801D3DC:
|
||||
ldr r2, [r3, 0x8]
|
||||
ldr r3, [r3, 0x4]
|
||||
adds r0, r5, 0
|
||||
movs r1, 0x1C
|
||||
bl mevent_srv_814501C
|
||||
b _0801D464
|
||||
_0801D3EA:
|
||||
ldr r0, [r5, 0x18]
|
||||
ldr r1, [r3, 0x8]
|
||||
movs r2, 0xA6
|
||||
lsls r2, 1
|
||||
bl memcpy
|
||||
b _0801D464
|
||||
_0801D3F8:
|
||||
ldr r0, [r5, 0x1C]
|
||||
ldr r1, [r3, 0x8]
|
||||
movs r2, 0xDE
|
||||
lsls r2, 1
|
||||
bl memcpy
|
||||
b _0801D464
|
||||
_0801D406:
|
||||
ldr r0, [r3, 0x8]
|
||||
ldr r0, [r0]
|
||||
str r0, [r5, 0x34]
|
||||
b _0801D464
|
||||
_0801D40E:
|
||||
ldr r0, [r3, 0x8]
|
||||
str r0, [r5, 0x24]
|
||||
ldr r0, [r3, 0x4]
|
||||
str r0, [r5, 0x28]
|
||||
b _0801D464
|
||||
_0801D418:
|
||||
ldr r0, [r3, 0x8]
|
||||
str r0, [r5, 0x2C]
|
||||
ldr r0, [r3, 0x4]
|
||||
str r0, [r5, 0x30]
|
||||
b _0801D464
|
||||
_0801D422:
|
||||
ldr r4, [r5, 0x18]
|
||||
bl sav1_get_mevent_buffer_1
|
||||
adds r1, r0, 0
|
||||
movs r2, 0xA6
|
||||
lsls r2, 1
|
||||
adds r0, r4, 0
|
||||
bl memcpy
|
||||
ldr r0, [r5, 0x18]
|
||||
bl sub_801B3C0
|
||||
b _0801D464
|
||||
_0801D43C:
|
||||
ldr r4, [r5, 0x1C]
|
||||
bl sub_801B00C
|
||||
adds r1, r0, 0
|
||||
movs r2, 0xDE
|
||||
lsls r2, 1
|
||||
adds r0, r4, 0
|
||||
bl memcpy
|
||||
b _0801D464
|
||||
_0801D450:
|
||||
bl sub_8099244
|
||||
str r0, [r5, 0x24]
|
||||
b _0801D464
|
||||
_0801D458:
|
||||
ldr r2, [r3, 0x8]
|
||||
ldr r3, [r3, 0x4]
|
||||
adds r0, r5, 0
|
||||
movs r1, 0x1B
|
||||
bl mevent_srv_814501C
|
||||
_0801D464:
|
||||
movs r0, 0x1
|
||||
pop {r4,r5}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D1F0
|
||||
|
||||
thumb_func_start mevent_dispatch_08145600
|
||||
mevent_dispatch_08145600: @ 801D46C
|
||||
push {lr}
|
||||
ldr r2, =gUnknown_082F2548
|
||||
ldr r1, [r0, 0x8]
|
||||
lsls r1, 2
|
||||
adds r1, r2
|
||||
ldr r1, [r1]
|
||||
bl _call_via_r1
|
||||
pop {r1}
|
||||
bx r1
|
||||
.pool
|
||||
thumb_func_end mevent_dispatch_08145600
|
||||
|
||||
.align 2, 0 @ don't pad with nop
|
||||
373
asm/mevent_server_helpers.s
Executable file
373
asm/mevent_server_helpers.s
Executable file
@ -0,0 +1,373 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
thumb_func_start sub_801D8C0
|
||||
sub_801D8C0: @ 801D8C0
|
||||
push {lr}
|
||||
ldr r1, [r0, 0x20]
|
||||
bl _call_via_r1
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D8C0
|
||||
|
||||
thumb_func_start sub_801D8CC
|
||||
sub_801D8CC: @ 801D8CC
|
||||
push {lr}
|
||||
ldr r1, [r0, 0x24]
|
||||
bl _call_via_r1
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D8CC
|
||||
|
||||
thumb_func_start sub_801D8D8
|
||||
sub_801D8D8: @ 801D8D8
|
||||
movs r3, 0
|
||||
strb r1, [r0, 0x4]
|
||||
strb r2, [r0, 0x5]
|
||||
str r3, [r0]
|
||||
strh r3, [r0, 0x12]
|
||||
strh r3, [r0, 0x14]
|
||||
strh r3, [r0, 0x10]
|
||||
strh r3, [r0, 0xA]
|
||||
strh r3, [r0, 0xC]
|
||||
strh r3, [r0, 0x8]
|
||||
str r3, [r0, 0x1C]
|
||||
str r3, [r0, 0x18]
|
||||
ldr r1, =sub_801DA5C
|
||||
str r1, [r0, 0x24]
|
||||
ldr r1, =sub_801D988
|
||||
str r1, [r0, 0x20]
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end sub_801D8D8
|
||||
|
||||
thumb_func_start sub_801D904
|
||||
sub_801D904: @ 801D904
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
movs r0, 0
|
||||
str r0, [r4]
|
||||
strh r1, [r4, 0xE]
|
||||
strh r0, [r4, 0x10]
|
||||
strh r0, [r4, 0x12]
|
||||
cmp r3, 0
|
||||
beq _0801D91A
|
||||
strh r3, [r4, 0x14]
|
||||
b _0801D920
|
||||
_0801D91A:
|
||||
movs r0, 0x80
|
||||
lsls r0, 3
|
||||
strh r0, [r4, 0x14]
|
||||
_0801D920:
|
||||
str r2, [r4, 0x1C]
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_801D904
|
||||
|
||||
thumb_func_start sub_801D928
|
||||
sub_801D928: @ 801D928
|
||||
movs r3, 0
|
||||
str r3, [r0]
|
||||
strh r1, [r0, 0x6]
|
||||
strh r3, [r0, 0x8]
|
||||
strh r3, [r0, 0xA]
|
||||
strh r3, [r0, 0xC]
|
||||
str r2, [r0, 0x18]
|
||||
bx lr
|
||||
thumb_func_end sub_801D928
|
||||
|
||||
thumb_func_start sub_801D938
|
||||
sub_801D938: @ 801D938
|
||||
push {lr}
|
||||
adds r3, r0, 0
|
||||
adds r0, r1, 0
|
||||
lsls r3, 8
|
||||
ldr r1, =gBlockRecvBuffer
|
||||
adds r3, r1
|
||||
adds r1, r3, 0
|
||||
bl memcpy
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_801D938
|
||||
|
||||
thumb_func_start sub_801D954
|
||||
sub_801D954: @ 801D954
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
bl GetBlockReceivedStatus
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
asrs r0, r4
|
||||
movs r1, 0x1
|
||||
ands r0, r1
|
||||
cmp r0, 0
|
||||
bne _0801D96E
|
||||
movs r0, 0
|
||||
b _0801D970
|
||||
_0801D96E:
|
||||
movs r0, 0x1
|
||||
_0801D970:
|
||||
pop {r4}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D954
|
||||
|
||||
thumb_func_start sub_801D978
|
||||
sub_801D978: @ 801D978
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
bl ResetBlockReceivedFlag
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_801D978
|
||||
|
||||
thumb_func_start sub_801D988
|
||||
sub_801D988: @ 801D988
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x8
|
||||
adds r5, r0, 0
|
||||
ldr r6, [r5]
|
||||
cmp r6, 0x1
|
||||
beq _0801D9EC
|
||||
cmp r6, 0x1
|
||||
bgt _0801D99E
|
||||
cmp r6, 0
|
||||
beq _0801D9A4
|
||||
b _0801DA52
|
||||
_0801D99E:
|
||||
cmp r6, 0x2
|
||||
beq _0801DA38
|
||||
b _0801DA52
|
||||
_0801D9A4:
|
||||
ldrb r0, [r5, 0x5]
|
||||
bl sub_801D954
|
||||
cmp r0, 0
|
||||
beq _0801DA52
|
||||
ldrb r0, [r5, 0x5]
|
||||
mov r4, sp
|
||||
mov r1, sp
|
||||
movs r2, 0x8
|
||||
bl sub_801D938
|
||||
ldrh r1, [r4, 0x4]
|
||||
strh r1, [r5, 0xC]
|
||||
ldrh r0, [r4, 0x2]
|
||||
strh r0, [r5, 0xA]
|
||||
lsls r1, 16
|
||||
movs r0, 0x80
|
||||
lsls r0, 19
|
||||
cmp r1, r0
|
||||
bls _0801D9D2
|
||||
_0801D9CC:
|
||||
bl sub_8010198
|
||||
b _0801DA52
|
||||
_0801D9D2:
|
||||
mov r1, sp
|
||||
ldrh r0, [r5, 0x6]
|
||||
ldrh r1, [r1]
|
||||
cmp r0, r1
|
||||
bne _0801D9CC
|
||||
strh r6, [r5, 0x8]
|
||||
ldrb r0, [r5, 0x5]
|
||||
bl sub_801D978
|
||||
ldr r0, [r5]
|
||||
adds r0, 0x1
|
||||
str r0, [r5]
|
||||
b _0801DA52
|
||||
_0801D9EC:
|
||||
ldrb r0, [r5, 0x5]
|
||||
bl sub_801D954
|
||||
cmp r0, 0
|
||||
beq _0801DA52
|
||||
ldrh r0, [r5, 0x8]
|
||||
lsls r1, r0, 6
|
||||
subs r1, r0
|
||||
lsls r3, r1, 2
|
||||
ldrh r0, [r5, 0xC]
|
||||
subs r2, r0, r3
|
||||
cmp r2, 0xFC
|
||||
bhi _0801DA1E
|
||||
ldrb r0, [r5, 0x5]
|
||||
ldr r1, [r5, 0x18]
|
||||
adds r1, r3
|
||||
bl sub_801D938
|
||||
ldrh r0, [r5, 0x8]
|
||||
adds r0, 0x1
|
||||
strh r0, [r5, 0x8]
|
||||
ldr r0, [r5]
|
||||
adds r0, 0x1
|
||||
str r0, [r5]
|
||||
b _0801DA30
|
||||
_0801DA1E:
|
||||
ldrb r0, [r5, 0x5]
|
||||
ldr r1, [r5, 0x18]
|
||||
adds r1, r3
|
||||
movs r2, 0xFC
|
||||
bl sub_801D938
|
||||
ldrh r0, [r5, 0x8]
|
||||
adds r0, 0x1
|
||||
strh r0, [r5, 0x8]
|
||||
_0801DA30:
|
||||
ldrb r0, [r5, 0x5]
|
||||
bl sub_801D978
|
||||
b _0801DA52
|
||||
_0801DA38:
|
||||
ldr r0, [r5, 0x18]
|
||||
ldrh r1, [r5, 0xC]
|
||||
bl CalcCRC16WithTable
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldrh r1, [r5, 0xA]
|
||||
cmp r0, r1
|
||||
bne _0801D9CC
|
||||
movs r0, 0
|
||||
str r0, [r5]
|
||||
movs r0, 0x1
|
||||
b _0801DA54
|
||||
_0801DA52:
|
||||
movs r0, 0
|
||||
_0801DA54:
|
||||
add sp, 0x8
|
||||
pop {r4-r6}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D988
|
||||
|
||||
thumb_func_start sub_801DA5C
|
||||
sub_801DA5C: @ 801DA5C
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x8
|
||||
adds r4, r0, 0
|
||||
ldr r5, [r4]
|
||||
cmp r5, 0x1
|
||||
beq _0801DAC8
|
||||
cmp r5, 0x1
|
||||
bgt _0801DA72
|
||||
cmp r5, 0
|
||||
beq _0801DA7C
|
||||
b _0801DB5E
|
||||
_0801DA72:
|
||||
cmp r5, 0x2
|
||||
beq _0801DB1C
|
||||
cmp r5, 0x3
|
||||
beq _0801DB46
|
||||
b _0801DB5E
|
||||
_0801DA7C:
|
||||
bl IsLinkTaskFinished
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _0801DB5E
|
||||
ldrh r1, [r4, 0xE]
|
||||
ldr r2, =0xffff0000
|
||||
ldr r0, [sp]
|
||||
ands r0, r2
|
||||
orrs r0, r1
|
||||
str r0, [sp]
|
||||
ldrh r1, [r4, 0x14]
|
||||
ldr r0, [sp, 0x4]
|
||||
ands r0, r2
|
||||
orrs r0, r1
|
||||
str r0, [sp, 0x4]
|
||||
ldr r0, [r4, 0x1C]
|
||||
bl CalcCRC16WithTable
|
||||
lsls r0, 16
|
||||
ldr r2, =0x0000ffff
|
||||
ldr r1, [sp]
|
||||
ands r1, r2
|
||||
orrs r1, r0
|
||||
str r1, [sp]
|
||||
lsrs r1, 16
|
||||
strh r1, [r4, 0x12]
|
||||
strh r5, [r4, 0x10]
|
||||
movs r0, 0
|
||||
mov r1, sp
|
||||
movs r2, 0x8
|
||||
bl SendBlock
|
||||
b _0801DB3E
|
||||
.pool
|
||||
_0801DAC8:
|
||||
bl IsLinkTaskFinished
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _0801DB5E
|
||||
ldrb r0, [r4, 0x4]
|
||||
bl sub_801D954
|
||||
cmp r0, 0
|
||||
beq _0801DB5E
|
||||
ldrb r0, [r4, 0x4]
|
||||
bl sub_801D978
|
||||
ldrh r1, [r4, 0x10]
|
||||
lsls r0, r1, 6
|
||||
subs r0, r1
|
||||
lsls r3, r0, 2
|
||||
ldrh r0, [r4, 0x14]
|
||||
subs r0, r3
|
||||
cmp r0, 0xFC
|
||||
bhi _0801DB08
|
||||
ldr r1, [r4, 0x1C]
|
||||
adds r1, r3
|
||||
lsls r2, r0, 16
|
||||
lsrs r2, 16
|
||||
movs r0, 0
|
||||
bl SendBlock
|
||||
ldrh r0, [r4, 0x10]
|
||||
adds r0, 0x1
|
||||
strh r0, [r4, 0x10]
|
||||
b _0801DB3E
|
||||
_0801DB08:
|
||||
ldr r1, [r4, 0x1C]
|
||||
adds r1, r3
|
||||
movs r0, 0
|
||||
movs r2, 0xFC
|
||||
bl SendBlock
|
||||
ldrh r0, [r4, 0x10]
|
||||
adds r0, 0x1
|
||||
strh r0, [r4, 0x10]
|
||||
b _0801DB5E
|
||||
_0801DB1C:
|
||||
bl IsLinkTaskFinished
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _0801DB5E
|
||||
ldr r0, [r4, 0x1C]
|
||||
ldrh r1, [r4, 0x14]
|
||||
bl CalcCRC16WithTable
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
ldrh r1, [r4, 0x12]
|
||||
cmp r0, r1
|
||||
beq _0801DB3E
|
||||
bl sub_8010198
|
||||
b _0801DB5E
|
||||
_0801DB3E:
|
||||
ldr r0, [r4]
|
||||
adds r0, 0x1
|
||||
str r0, [r4]
|
||||
b _0801DB5E
|
||||
_0801DB46:
|
||||
ldrb r0, [r4, 0x4]
|
||||
bl sub_801D954
|
||||
cmp r0, 0
|
||||
beq _0801DB5E
|
||||
ldrb r0, [r4, 0x4]
|
||||
bl sub_801D978
|
||||
movs r0, 0
|
||||
str r0, [r4]
|
||||
movs r0, 0x1
|
||||
b _0801DB60
|
||||
_0801DB5E:
|
||||
movs r0, 0
|
||||
_0801DB60:
|
||||
add sp, 0x8
|
||||
pop {r4,r5}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801DA5C
|
||||
|
||||
.align 2, 0 @ don't pad with nop
|
||||
567
asm/mevent_server_ish.s
Executable file
567
asm/mevent_server_ish.s
Executable file
@ -0,0 +1,567 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
thumb_func_start sub_801D484
|
||||
sub_801D484: @ 801D484
|
||||
push {r4,r5,lr}
|
||||
adds r5, r0, 0
|
||||
ldr r4, =gUnknown_02022C80
|
||||
movs r0, 0x50
|
||||
bl AllocZeroed
|
||||
str r0, [r4]
|
||||
movs r1, 0x1
|
||||
movs r2, 0
|
||||
bl mevent_srv_ish_init
|
||||
ldr r0, [r4]
|
||||
str r5, [r0, 0x4C]
|
||||
pop {r4,r5}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_801D484
|
||||
|
||||
thumb_func_start sub_801D4A8
|
||||
sub_801D4A8: @ 801D4A8
|
||||
push {r4-r6,lr}
|
||||
adds r6, r0, 0
|
||||
ldr r4, =gUnknown_02022C80
|
||||
ldr r0, [r4]
|
||||
cmp r0, 0
|
||||
bne _0801D4BC
|
||||
movs r0, 0x6
|
||||
b _0801D4DC
|
||||
.pool
|
||||
_0801D4BC:
|
||||
bl mevent_srv_ish_exec
|
||||
adds r5, r0, 0
|
||||
cmp r5, 0x6
|
||||
bne _0801D4DA
|
||||
ldr r0, [r4]
|
||||
ldr r1, [r0, 0x4]
|
||||
strh r1, [r6]
|
||||
bl sub_801D55C
|
||||
ldr r0, [r4]
|
||||
bl Free
|
||||
movs r0, 0
|
||||
str r0, [r4]
|
||||
_0801D4DA:
|
||||
adds r0, r5, 0
|
||||
_0801D4DC:
|
||||
pop {r4-r6}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D4A8
|
||||
|
||||
thumb_func_start sub_801D4E4
|
||||
sub_801D4E4: @ 801D4E4
|
||||
ldr r0, =gUnknown_02022C80
|
||||
ldr r1, [r0]
|
||||
ldr r0, [r1, 0xC]
|
||||
adds r0, 0x1
|
||||
str r0, [r1, 0xC]
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end sub_801D4E4
|
||||
|
||||
thumb_func_start sub_801D4F4
|
||||
sub_801D4F4: @ 801D4F4
|
||||
ldr r0, =gUnknown_02022C80
|
||||
ldr r0, [r0]
|
||||
ldr r0, [r0, 0x20]
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end sub_801D4F4
|
||||
|
||||
thumb_func_start sub_801D500
|
||||
sub_801D500: @ 801D500
|
||||
ldr r1, =gUnknown_02022C80
|
||||
ldr r1, [r1]
|
||||
str r0, [r1, 0x4]
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end sub_801D500
|
||||
|
||||
thumb_func_start mevent_srv_ish_init
|
||||
mevent_srv_ish_init: @ 801D50C
|
||||
push {r4-r6,lr}
|
||||
mov r6, r8
|
||||
push {r6}
|
||||
adds r4, r0, 0
|
||||
adds r6, r1, 0
|
||||
mov r8, r2
|
||||
movs r0, 0
|
||||
str r0, [r4]
|
||||
str r0, [r4, 0x8]
|
||||
str r0, [r4, 0xC]
|
||||
movs r5, 0x80
|
||||
lsls r5, 3
|
||||
adds r0, r5, 0
|
||||
bl AllocZeroed
|
||||
str r0, [r4, 0x14]
|
||||
adds r0, r5, 0
|
||||
bl AllocZeroed
|
||||
str r0, [r4, 0x18]
|
||||
adds r0, r5, 0
|
||||
bl AllocZeroed
|
||||
str r0, [r4, 0x1C]
|
||||
movs r0, 0x40
|
||||
bl AllocZeroed
|
||||
str r0, [r4, 0x20]
|
||||
adds r4, 0x24
|
||||
adds r0, r4, 0
|
||||
adds r1, r6, 0
|
||||
mov r2, r8
|
||||
bl sub_801D8D8
|
||||
pop {r3}
|
||||
mov r8, r3
|
||||
pop {r4-r6}
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end mevent_srv_ish_init
|
||||
|
||||
thumb_func_start sub_801D55C
|
||||
sub_801D55C: @ 801D55C
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
ldr r0, [r4, 0x14]
|
||||
bl Free
|
||||
ldr r0, [r4, 0x18]
|
||||
bl Free
|
||||
ldr r0, [r4, 0x1C]
|
||||
bl Free
|
||||
ldr r0, [r4, 0x20]
|
||||
bl Free
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_801D55C
|
||||
|
||||
thumb_func_start sub_801D580
|
||||
sub_801D580: @ 801D580
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
ldr r0, [r4, 0x1C]
|
||||
ldr r1, [r4, 0x18]
|
||||
movs r2, 0x80
|
||||
lsls r2, 3
|
||||
bl memcpy
|
||||
movs r0, 0
|
||||
str r0, [r4, 0x10]
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_801D580
|
||||
|
||||
thumb_func_start sub_801D59C
|
||||
sub_801D59C: @ 801D59C
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x4
|
||||
adds r4, r0, 0
|
||||
adds r6, r1, 0
|
||||
adds r5, r2, 0
|
||||
movs r0, 0
|
||||
str r0, [sp]
|
||||
ldr r1, [r4, 0x14]
|
||||
ldr r2, =0x05000100
|
||||
mov r0, sp
|
||||
bl CpuSet
|
||||
ldr r2, [r4, 0x14]
|
||||
str r5, [r2]
|
||||
adds r4, 0x24
|
||||
adds r0, r4, 0
|
||||
adds r1, r6, 0
|
||||
movs r3, 0x4
|
||||
bl sub_801D904
|
||||
add sp, 0x4
|
||||
pop {r4-r6}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_801D59C
|
||||
|
||||
thumb_func_start sub_801D5D0
|
||||
sub_801D5D0: @ 801D5D0
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
ldr r0, [r4, 0x1C]
|
||||
ldr r1, =gUnknown_082F2598
|
||||
movs r2, 0x80
|
||||
lsls r2, 3
|
||||
bl memcpy
|
||||
movs r1, 0
|
||||
str r1, [r4, 0x10]
|
||||
movs r0, 0x4
|
||||
str r0, [r4, 0x8]
|
||||
str r1, [r4, 0xC]
|
||||
movs r0, 0
|
||||
pop {r4}
|
||||
pop {r1}
|
||||
bx r1
|
||||
.pool
|
||||
thumb_func_end sub_801D5D0
|
||||
|
||||
thumb_func_start sub_801D5F8
|
||||
sub_801D5F8: @ 801D5F8
|
||||
movs r0, 0x6
|
||||
bx lr
|
||||
thumb_func_end sub_801D5F8
|
||||
|
||||
thumb_func_start sub_801D5FC
|
||||
sub_801D5FC: @ 801D5FC
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
adds r0, 0x24
|
||||
bl sub_801D8C0
|
||||
cmp r0, 0
|
||||
beq _0801D612
|
||||
movs r0, 0x4
|
||||
str r0, [r4, 0x8]
|
||||
movs r0, 0
|
||||
str r0, [r4, 0xC]
|
||||
_0801D612:
|
||||
movs r0, 0x1
|
||||
pop {r4}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D5FC
|
||||
|
||||
thumb_func_start sub_801D61C
|
||||
sub_801D61C: @ 801D61C
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
adds r0, 0x24
|
||||
bl sub_801D8CC
|
||||
cmp r0, 0
|
||||
beq _0801D632
|
||||
movs r0, 0x4
|
||||
str r0, [r4, 0x8]
|
||||
movs r0, 0
|
||||
str r0, [r4, 0xC]
|
||||
_0801D632:
|
||||
movs r0, 0x1
|
||||
pop {r4}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D61C
|
||||
|
||||
thumb_func_start sub_801D63C
|
||||
sub_801D63C: @ 801D63C
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
ldr r0, [r4, 0x10]
|
||||
lsls r2, r0, 3
|
||||
ldr r1, [r4, 0x1C]
|
||||
adds r2, r1, r2
|
||||
adds r0, 0x1
|
||||
str r0, [r4, 0x10]
|
||||
ldr r0, [r2]
|
||||
cmp r0, 0x15
|
||||
bls _0801D654
|
||||
b _0801D804
|
||||
_0801D654:
|
||||
lsls r0, 2
|
||||
ldr r1, =_0801D664
|
||||
adds r0, r1
|
||||
ldr r0, [r0]
|
||||
mov pc, r0
|
||||
.pool
|
||||
.align 2, 0
|
||||
_0801D664:
|
||||
.4byte _0801D804
|
||||
.4byte _0801D6BC
|
||||
.4byte _0801D6C4
|
||||
.4byte _0801D6D4
|
||||
.4byte _0801D70E
|
||||
.4byte _0801D716
|
||||
.4byte _0801D6FE
|
||||
.4byte _0801D708
|
||||
.4byte _0801D764
|
||||
.4byte _0801D790
|
||||
.4byte _0801D788
|
||||
.4byte _0801D72C
|
||||
.4byte _0801D742
|
||||
.4byte _0801D758
|
||||
.4byte _0801D77C
|
||||
.4byte _0801D7B8
|
||||
.4byte _0801D7BC
|
||||
.4byte _0801D7C4
|
||||
.4byte _0801D7D0
|
||||
.4byte _0801D6EA
|
||||
.4byte _0801D6D8
|
||||
.4byte _0801D7F0
|
||||
_0801D6BC:
|
||||
ldr r0, [r2, 0x4]
|
||||
str r0, [r4, 0x4]
|
||||
movs r0, 0x1
|
||||
b _0801D7FE
|
||||
_0801D6C4:
|
||||
adds r0, r4, 0
|
||||
adds r0, 0x24
|
||||
ldr r1, [r2, 0x4]
|
||||
ldr r2, [r4, 0x18]
|
||||
bl sub_801D928
|
||||
movs r0, 0x2
|
||||
b _0801D7FE
|
||||
_0801D6D4:
|
||||
movs r0, 0x3
|
||||
b _0801D7FE
|
||||
_0801D6D8:
|
||||
adds r0, r4, 0
|
||||
adds r0, 0x24
|
||||
ldr r2, [r4, 0x14]
|
||||
movs r1, 0x14
|
||||
movs r3, 0
|
||||
bl sub_801D904
|
||||
movs r0, 0x3
|
||||
b _0801D7FE
|
||||
_0801D6EA:
|
||||
ldrb r0, [r2, 0x4]
|
||||
bl GetGameStat
|
||||
adds r2, r0, 0
|
||||
adds r0, r4, 0
|
||||
movs r1, 0x12
|
||||
bl sub_801D59C
|
||||
movs r0, 0x3
|
||||
b _0801D7FE
|
||||
_0801D6FE:
|
||||
ldr r0, [r4, 0x4]
|
||||
cmp r0, 0
|
||||
beq _0801D706
|
||||
b _0801D804
|
||||
_0801D706:
|
||||
b _0801D70E
|
||||
_0801D708:
|
||||
ldr r0, [r4, 0x4]
|
||||
cmp r0, 0x1
|
||||
bne _0801D804
|
||||
_0801D70E:
|
||||
adds r0, r4, 0
|
||||
bl sub_801D580
|
||||
b _0801D804
|
||||
_0801D716:
|
||||
ldr r0, [r4, 0x20]
|
||||
ldr r1, [r4, 0x18]
|
||||
movs r2, 0x40
|
||||
bl memcpy
|
||||
movs r0, 0x5
|
||||
str r0, [r4, 0x8]
|
||||
movs r0, 0
|
||||
str r0, [r4, 0xC]
|
||||
movs r0, 0x2
|
||||
b _0801D806
|
||||
_0801D72C:
|
||||
ldr r0, [r4, 0x20]
|
||||
ldr r1, [r4, 0x18]
|
||||
movs r2, 0x40
|
||||
bl memcpy
|
||||
movs r0, 0x5
|
||||
str r0, [r4, 0x8]
|
||||
movs r0, 0
|
||||
str r0, [r4, 0xC]
|
||||
movs r0, 0x3
|
||||
b _0801D806
|
||||
_0801D742:
|
||||
ldr r0, [r4, 0x20]
|
||||
ldr r1, [r4, 0x18]
|
||||
movs r2, 0x40
|
||||
bl memcpy
|
||||
movs r0, 0x5
|
||||
str r0, [r4, 0x8]
|
||||
movs r0, 0
|
||||
str r0, [r4, 0xC]
|
||||
movs r0, 0x5
|
||||
b _0801D806
|
||||
_0801D758:
|
||||
movs r0, 0x5
|
||||
str r0, [r4, 0x8]
|
||||
movs r0, 0
|
||||
str r0, [r4, 0xC]
|
||||
movs r0, 0x4
|
||||
b _0801D806
|
||||
_0801D764:
|
||||
ldr r0, [r4, 0x14]
|
||||
ldr r1, [r4, 0x4C]
|
||||
bl sub_801B580
|
||||
adds r0, r4, 0
|
||||
adds r0, 0x24
|
||||
ldr r2, [r4, 0x14]
|
||||
movs r1, 0x11
|
||||
movs r3, 0x64
|
||||
bl sub_801D904
|
||||
b _0801D804
|
||||
_0801D77C:
|
||||
ldr r2, [r4, 0x4]
|
||||
adds r0, r4, 0
|
||||
movs r1, 0x13
|
||||
bl sub_801D59C
|
||||
b _0801D804
|
||||
_0801D788:
|
||||
ldr r0, [r4, 0x18]
|
||||
bl sub_801B21C
|
||||
b _0801D804
|
||||
_0801D790:
|
||||
ldr r0, [r4, 0x18]
|
||||
bl sub_801B1A4
|
||||
cmp r0, 0
|
||||
bne _0801D7AC
|
||||
ldr r0, [r4, 0x18]
|
||||
bl sub_801B078
|
||||
adds r0, r4, 0
|
||||
movs r1, 0x13
|
||||
movs r2, 0
|
||||
bl sub_801D59C
|
||||
b _0801D804
|
||||
_0801D7AC:
|
||||
adds r0, r4, 0
|
||||
movs r1, 0x13
|
||||
movs r2, 0x1
|
||||
bl sub_801D59C
|
||||
b _0801D804
|
||||
_0801D7B8:
|
||||
movs r0, 0x6
|
||||
b _0801D7FE
|
||||
_0801D7BC:
|
||||
ldr r0, [r4, 0x18]
|
||||
bl sub_801B508
|
||||
b _0801D804
|
||||
_0801D7C4:
|
||||
ldr r0, [r4, 0x18]
|
||||
movs r1, 0xFA
|
||||
lsls r1, 2
|
||||
bl sub_80992A0
|
||||
b _0801D804
|
||||
_0801D7D0:
|
||||
ldr r0, =gSaveBlock2Ptr
|
||||
ldr r0, [r0]
|
||||
ldr r1, =0x00000bec
|
||||
adds r0, r1
|
||||
ldr r1, [r4, 0x18]
|
||||
movs r2, 0xBC
|
||||
bl memcpy
|
||||
bl ValidateEReaderTrainer
|
||||
b _0801D804
|
||||
.pool
|
||||
_0801D7F0:
|
||||
ldr r0, =gDecompressionBuffer
|
||||
ldr r1, [r4, 0x18]
|
||||
movs r2, 0x80
|
||||
lsls r2, 3
|
||||
bl memcpy
|
||||
movs r0, 0x7
|
||||
_0801D7FE:
|
||||
str r0, [r4, 0x8]
|
||||
movs r0, 0
|
||||
str r0, [r4, 0xC]
|
||||
_0801D804:
|
||||
movs r0, 0x1
|
||||
_0801D806:
|
||||
pop {r4}
|
||||
pop {r1}
|
||||
bx r1
|
||||
.pool
|
||||
thumb_func_end sub_801D63C
|
||||
|
||||
thumb_func_start sub_801D810
|
||||
sub_801D810: @ 801D810
|
||||
push {lr}
|
||||
adds r1, r0, 0
|
||||
ldr r0, [r1, 0xC]
|
||||
cmp r0, 0
|
||||
beq _0801D822
|
||||
movs r0, 0x4
|
||||
str r0, [r1, 0x8]
|
||||
movs r0, 0
|
||||
str r0, [r1, 0xC]
|
||||
_0801D822:
|
||||
movs r0, 0x1
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D810
|
||||
|
||||
thumb_func_start sub_801D828
|
||||
sub_801D828: @ 801D828
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
ldr r0, [r4, 0xC]
|
||||
cmp r0, 0
|
||||
beq _0801D838
|
||||
cmp r0, 0x1
|
||||
beq _0801D846
|
||||
b _0801D858
|
||||
_0801D838:
|
||||
ldr r0, [r4, 0x18]
|
||||
bl sub_8153870
|
||||
ldr r0, [r4, 0xC]
|
||||
adds r0, 0x1
|
||||
str r0, [r4, 0xC]
|
||||
b _0801D858
|
||||
_0801D846:
|
||||
adds r0, r4, 0x4
|
||||
bl sub_8153884
|
||||
adds r1, r0, 0
|
||||
cmp r1, 0
|
||||
bne _0801D858
|
||||
movs r0, 0x4
|
||||
str r0, [r4, 0x8]
|
||||
str r1, [r4, 0xC]
|
||||
_0801D858:
|
||||
movs r0, 0x1
|
||||
pop {r4}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_801D828
|
||||
|
||||
thumb_func_start sub_801D860
|
||||
sub_801D860: @ 801D860
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
ldr r3, =gDecompressionBuffer
|
||||
adds r0, r4, 0x4
|
||||
ldr r1, =gSaveBlock2Ptr
|
||||
ldr r1, [r1]
|
||||
ldr r2, =gSaveBlock1Ptr
|
||||
ldr r2, [r2]
|
||||
bl _call_via_r3
|
||||
cmp r0, 0x1
|
||||
bne _0801D880
|
||||
movs r0, 0x4
|
||||
str r0, [r4, 0x8]
|
||||
movs r0, 0
|
||||
str r0, [r4, 0xC]
|
||||
_0801D880:
|
||||
movs r0, 0x1
|
||||
pop {r4}
|
||||
pop {r1}
|
||||
bx r1
|
||||
.pool
|
||||
thumb_func_end sub_801D860
|
||||
|
||||
thumb_func_start mevent_srv_ish_exec
|
||||
mevent_srv_ish_exec: @ 801D894
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x20
|
||||
mov r2, sp
|
||||
ldr r1, =gUnknown_082F255C
|
||||
ldm r1!, {r3-r5}
|
||||
stm r2!, {r3-r5}
|
||||
ldm r1!, {r3-r5}
|
||||
stm r2!, {r3-r5}
|
||||
ldm r1!, {r3,r4}
|
||||
stm r2!, {r3,r4}
|
||||
ldr r1, [r0, 0x8]
|
||||
lsls r1, 2
|
||||
add r1, sp
|
||||
ldr r1, [r1]
|
||||
bl _call_via_r1
|
||||
add sp, 0x20
|
||||
pop {r4,r5}
|
||||
pop {r1}
|
||||
bx r1
|
||||
.pool
|
||||
thumb_func_end mevent_srv_ish_exec
|
||||
|
||||
.align 2, 0 @ don't pad with nop
|
||||
9040
asm/pokemon_jump.s
Executable file
9040
asm/pokemon_jump.s
Executable file
File diff suppressed because it is too large
Load Diff
48288
asm/rom_8011DC0.s
48288
asm/rom_8011DC0.s
File diff suppressed because it is too large
Load Diff
8312
asm/union_room.s
Executable file
8312
asm/union_room.s
Executable file
File diff suppressed because it is too large
Load Diff
3431
asm/use_pokeblock.s
3431
asm/use_pokeblock.s
File diff suppressed because it is too large
Load Diff
@ -429,7 +429,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
|
||||
|
||||
@ -403,18 +403,17 @@ BattleScript_EffectPartingShotTryAtk:
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK, ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_ATK, 1, TRUE
|
||||
statbuffchange 0x1, BattleScript_EffectPartingShotTrySpAtk
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectPartingShotTrySpAtk
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_EffectPartingShotTrySpAtk:
|
||||
playstatchangeanimation BS_TARGET, BIT_SPATK, ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_SPATK, 1, TRUE
|
||||
statbuffchange 0x1, BattleScript_EffectPartingShotSwitch
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectPartingShotSwitch
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_EffectPartingShotSwitch:
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
jumpifcantswitch ATK4F_DONT_CHECK_STATUSES | BS_ATTACKER, BattleScript_PartingShotEnd
|
||||
openpartyscreen 0x1, BattleScript_PartingShotEnd
|
||||
switchoutabilities BS_ATTACKER
|
||||
@ -457,7 +456,7 @@ BattleScript_EffectAromaticMist:
|
||||
goto BattleScript_ButItFailed
|
||||
BattleScript_EffectAromaticMistWorks:
|
||||
setstatchanger STAT_SPDEF, 1, FALSE
|
||||
statbuffchange 0x1, BattleScript_EffectAromaticMistEnd
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectAromaticMistEnd
|
||||
jumpifbyte CMP_NOT_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AromaticMistAnim
|
||||
pause 0x10
|
||||
printstring STRINGID_TARGETSTATWONTGOHIGHER
|
||||
@ -530,7 +529,7 @@ BattleScript_FlowerShieldLoop:
|
||||
goto BattleScript_FlowerShieldMoveTargetEnd
|
||||
BattleScript_FlowerShieldLoop2:
|
||||
setstatchanger STAT_DEF, 1, FALSE
|
||||
statbuffchange 0x1, BattleScript_FlowerShieldMoveTargetEnd
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_FlowerShieldMoveTargetEnd
|
||||
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_FlowerShieldDoAnim
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_FlowerShieldMoveTargetEnd
|
||||
pause 0x15
|
||||
@ -544,8 +543,7 @@ BattleScript_FlowerShieldString:
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_FlowerShieldMoveTargetEnd:
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifnexttargetvalid BattleScript_FlowerShieldLoop
|
||||
end
|
||||
|
||||
@ -572,19 +570,18 @@ BattleScript_RototillerDoMoveAnim::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, 0x0
|
||||
setstatchanger STAT_ATK, 1, FALSE
|
||||
statbuffchange 0x1, BattleScript_RototillerTrySpAtk
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_RototillerTrySpAtk
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_RototillerTrySpAtk
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_RototillerTrySpAtk::
|
||||
setstatchanger STAT_SPATK, 1, FALSE
|
||||
statbuffchange 0x1, BattleScript_RototillerMoveTargetEnd
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_RototillerMoveTargetEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_RototillerMoveTargetEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_RototillerMoveTargetEnd:
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifnexttargetvalid BattleScript_RototillerLoop
|
||||
end
|
||||
BattleScript_RototillerCantRaiseMultipleStats:
|
||||
@ -691,8 +688,7 @@ BattleScript_SynchronoiseLoop:
|
||||
waitmessage 0x1
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
BattleScript_SynchronoiseMoveTargetEnd:
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifnexttargetvalid BattleScript_SynchronoiseLoop
|
||||
end
|
||||
BattleScript_SynchronoiseMissed:
|
||||
@ -730,7 +726,7 @@ BattleScript_DefogWorks:
|
||||
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
|
||||
attackstring
|
||||
ppreduce
|
||||
statbuffchange 0x1, BattleScript_DefogTryHazardsWithAnim
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_DefogTryHazardsWithAnim
|
||||
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_DefogDoAnim
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_DefogTryHazardsWithAnim
|
||||
pause 0x20
|
||||
@ -770,7 +766,7 @@ BattleScript_EffectAutonomize:
|
||||
attackcanceler
|
||||
attackstring
|
||||
ppreduce
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_AutonomizeWeightLoss
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AutonomizeWeightLoss
|
||||
jumpifbyte CMP_NOT_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AutonomizeAttackAnim
|
||||
pause 0x20
|
||||
goto BattleScript_AutonomizePrintString
|
||||
@ -843,8 +839,7 @@ BattleScript_EffectHitSwitchTarget:
|
||||
jumpifstatus3 BS_TARGET, STATUS3_ROOTED, BattleScript_PrintMonIsRooted
|
||||
tryhitswitchtarget BattleScript_EffectHitSwitchTargetMoveEnd
|
||||
BattleScript_EffectHitSwitchTargetMoveEnd:
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
end
|
||||
|
||||
BattleScript_EffectClearSmog:
|
||||
@ -861,7 +856,7 @@ BattleScript_ToxicThreadWorks:
|
||||
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
|
||||
attackstring
|
||||
ppreduce
|
||||
statbuffchange 0x1, BattleScript_ToxicThreadTryPsn
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_ToxicThreadTryPsn
|
||||
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_ToxicThreadDoAnim
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_ToxicThreadTryPsn
|
||||
pause 0x20
|
||||
@ -897,21 +892,21 @@ BattleScript_VenomDrenchDoMoveAnim::
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK | BIT_SPEED, ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK, ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_ATK, 1, TRUE
|
||||
statbuffchange 0x1, BattleScript_VenomDrenchTryLowerSpAtk
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_VenomDrenchTryLowerSpAtk
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_VenomDrenchTryLowerSpAtk
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_VenomDrenchTryLowerSpAtk::
|
||||
playstatchangeanimation BS_TARGET, BIT_SPATK, ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_SPATK, 1, TRUE
|
||||
statbuffchange 0x1, BattleScript_VenomDrenchTryLowerSpeed
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_VenomDrenchTryLowerSpeed
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_VenomDrenchTryLowerSpeed
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_VenomDrenchTryLowerSpeed::
|
||||
playstatchangeanimation BS_TARGET, BIT_SPEED, ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_SPEED, 1, TRUE
|
||||
statbuffchange 0x1, BattleScript_VenomDrenchEnd
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_VenomDrenchEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_VenomDrenchEnd
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
@ -932,14 +927,14 @@ BattleScript_NobleRoarDoMoveAnim::
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
|
||||
playstatchangeanimation BS_TARGET, BIT_ATK, ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_ATK, 1, TRUE
|
||||
statbuffchange 0x1, BattleScript_NobleRoarTryLowerSpAtk
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_NobleRoarTryLowerSpAtk
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_NobleRoarTryLowerSpAtk
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_NobleRoarTryLowerSpAtk::
|
||||
playstatchangeanimation BS_TARGET, BIT_SPATK, ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_SPATK, 1, TRUE
|
||||
statbuffchange 0x1, BattleScript_NobleRoarEnd
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_NobleRoarEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_NobleRoarEnd
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
@ -961,13 +956,13 @@ BattleScript_ShellSmashTryDef::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, ATK48_STAT_NEGATIVE | ATK48_DONT_CHECK_LOWER
|
||||
setstatchanger STAT_DEF, 1, TRUE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_ShellSmashTrySpDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShellSmashTrySpDef
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShellSmashTrySpDef
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_ShellSmashTrySpDef:
|
||||
setstatchanger STAT_SPDEF, 1, TRUE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_ShellSmashTryAttack
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShellSmashTryAttack
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShellSmashTryAttack
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@ -975,19 +970,19 @@ BattleScript_ShellSmashTryAttack:
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_ATK | BIT_SPEED, ATK48_STAT_BY_TWO
|
||||
setstatchanger STAT_ATK, 2, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_ShellSmashTrySpAtk
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShellSmashTrySpAtk
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShellSmashTrySpAtk
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_ShellSmashTrySpAtk:
|
||||
setstatchanger STAT_SPATK, 2, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_ShellSmashTrySpeed
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShellSmashTrySpeed
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShellSmashTrySpeed
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_ShellSmashTrySpeed:
|
||||
setstatchanger STAT_SPEED, 2, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_ShellSmashEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShellSmashEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShellSmashEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@ -1019,7 +1014,7 @@ BattleScript_GrowthDoMoveAnim::
|
||||
BattleScript_GrowthAtk2:
|
||||
setstatchanger STAT_ATK, 2, FALSE
|
||||
BattleScript_GrowthAtk:
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_GrowthTrySpAtk
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_GrowthTrySpAtk
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_GrowthTrySpAtk
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@ -1030,7 +1025,7 @@ BattleScript_GrowthTrySpAtk::
|
||||
BattleScript_GrowthSpAtk2:
|
||||
setstatchanger STAT_SPATK, 2, FALSE
|
||||
BattleScript_GrowthSpAtk:
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_GrowthEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_GrowthEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_GrowthEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@ -1094,13 +1089,13 @@ BattleScript_ShiftGearSpeedBy1:
|
||||
playstatchangeanimation BS_ATTACKER, BIT_SPEED | BIT_ATK, 0x0
|
||||
setstatchanger STAT_SPEED, 1, FALSE
|
||||
BattleScript_ShiftGearDoSpeed:
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_ShiftGearTryAtk
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShiftGearTryAtk
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShiftGearTryAtk
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_ShiftGearTryAtk:
|
||||
setstatchanger STAT_ATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_ShiftGearEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShiftGearEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShiftGearEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@ -1120,19 +1115,19 @@ BattleScript_CoilDoMoveAnim:
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_DEF | BIT_ACC, 0x0
|
||||
setstatchanger STAT_ATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_CoilTryDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CoilTryDef
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CoilTryDef
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_CoilTryDef:
|
||||
setstatchanger STAT_DEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_CoilTryAcc
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CoilTryAcc
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CoilTryAcc
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_CoilTryAcc:
|
||||
setstatchanger STAT_ACC, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_CoilEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CoilEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CoilEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@ -1152,19 +1147,19 @@ BattleScript_QuiverDanceDoMoveAnim::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_SPDEF | BIT_SPEED, 0x0
|
||||
setstatchanger STAT_SPATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_QuiverDanceTrySpDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_QuiverDanceTrySpDef
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_QuiverDanceTrySpDef
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_QuiverDanceTrySpDef::
|
||||
setstatchanger STAT_SPDEF, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_QuiverDanceTrySpeed
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_QuiverDanceTrySpeed
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_QuiverDanceTrySpeed
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_QuiverDanceTrySpeed::
|
||||
setstatchanger STAT_SPEED, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_QuiverDanceEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_QuiverDanceEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_QuiverDanceEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@ -1197,13 +1192,13 @@ BattleScript_AttackSpAttackUpDoMoveAnim::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_SPATK, 0x0
|
||||
setstatchanger STAT_ATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_AttackSpAttackUpTrySpAtk
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AttackSpAttackUpTrySpAtk
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AttackSpAttackUpTrySpAtk
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_AttackSpAttackUpTrySpAtk::
|
||||
setstatchanger STAT_SPATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_AttackSpAttackUpEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AttackSpAttackUpEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AttackSpAttackUpEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@ -1222,13 +1217,13 @@ BattleScript_AttackAccUpDoMoveAnim::
|
||||
setbyte sSTAT_ANIM_PLAYED, FALSE
|
||||
playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_SPDEF, 0x0
|
||||
setstatchanger STAT_ATK, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_AttackAccUpTrySpDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AttackAccUpTrySpDef
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AttackAccUpTrySpDef
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_AttackAccUpTrySpDef::
|
||||
setstatchanger STAT_ACC, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_AttackAccUpEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AttackAccUpEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AttackAccUpEnd
|
||||
printfromtable gStatUpStringIds
|
||||
waitmessage 0x40
|
||||
@ -1403,8 +1398,7 @@ BattleScript_EffectHealingWishNewMon:
|
||||
waitmessage 0x40
|
||||
switchineffects BS_ATTACKER
|
||||
BattleScript_EffectHealingWishEnd:
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
end
|
||||
|
||||
BattleScript_EffectWorrySeed:
|
||||
@ -1643,8 +1637,7 @@ BattleScript_GravityLoopDrop:
|
||||
printstring STRINGID_GRAVITYGROUNDING
|
||||
waitmessage 0x40
|
||||
BattleScript_GravityLoopEnd:
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifnexttargetvalid BattleScript_GravityLoop
|
||||
end
|
||||
|
||||
@ -1700,8 +1693,7 @@ BattleScript_EffectHitEscape:
|
||||
jumpifmovehadnoeffect BattleScript_MoveEnd
|
||||
seteffectwithchance
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
jumpifbattleend BattleScript_HitEscapeEnd
|
||||
jumpifbyte CMP_NOT_EQUAL gBattleOutcome 0, BattleScript_HitEscapeEnd
|
||||
jumpifcantswitch ATK4F_DONT_CHECK_STATUSES | BS_ATTACKER, BattleScript_HitEscapeEnd
|
||||
@ -1803,8 +1795,7 @@ BattleScript_HitFromAtkAnimation::
|
||||
seteffectwithchance
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
BattleScript_MoveEnd::
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
end
|
||||
|
||||
BattleScript_MakeMoveMissed::
|
||||
@ -1940,8 +1931,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
|
||||
@ -1949,8 +1939,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
|
||||
@ -2042,7 +2031,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
|
||||
@ -2098,7 +2087,7 @@ BattleScript_EffectStatDown:
|
||||
BattleScript_StatDownFromAttackString:
|
||||
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
|
||||
@ -2197,8 +2186,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
|
||||
@ -2214,10 +2202,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::
|
||||
@ -3045,8 +3031,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
|
||||
@ -3065,8 +3050,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::
|
||||
@ -3129,17 +3113,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::
|
||||
@ -3252,7 +3236,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
|
||||
@ -3440,7 +3424,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
|
||||
@ -3492,8 +3476,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::
|
||||
@ -3502,8 +3485,7 @@ BattleScript_HitAllWithUndergroundBonusMissed::
|
||||
effectivenesssound
|
||||
resultmessage
|
||||
waitmessage 0x40
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
jumpifnexttargetvalid BattleScript_HitsAllWithUndergroundBonusLoop
|
||||
end
|
||||
|
||||
@ -3593,8 +3575,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
|
||||
@ -3647,7 +3628,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
|
||||
@ -3787,7 +3768,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
|
||||
@ -3844,14 +3825,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
|
||||
@ -4200,8 +4181,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
|
||||
@ -4271,14 +4251,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
|
||||
@ -4304,13 +4284,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
|
||||
@ -4333,13 +4313,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
|
||||
@ -4358,13 +4338,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
|
||||
@ -4390,13 +4370,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
|
||||
@ -4723,10 +4703,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::
|
||||
@ -4748,8 +4726,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
|
||||
@ -5052,8 +5029,7 @@ BattleScript_DisabledNoMore::
|
||||
BattleScript_SelectingDisabledMoveInPalace::
|
||||
printstring STRINGID_PKMNMOVEISDISABLED
|
||||
BattleScript_SelectingUnusableMoveInPalace::
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
end
|
||||
|
||||
BattleScript_EncoredNoMore::
|
||||
@ -5082,8 +5058,7 @@ BattleScript_DmgHazardsOnAttacker::
|
||||
BattleScript_DmgHazardsOnAttackerFainted::
|
||||
setbyte sGIVEEXP_STATE, 0x0
|
||||
getexp BS_ATTACKER
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
goto BattleScript_HandleFaintedMon
|
||||
|
||||
BattleScript_DmgHazardsOnTarget::
|
||||
@ -5098,8 +5073,7 @@ BattleScript_DmgHazardsOnTarget::
|
||||
BattleScript_DmgHazardsOnTargetFainted::
|
||||
setbyte sGIVEEXP_STATE, 0x0
|
||||
getexp BS_TARGET
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
goto BattleScript_HandleFaintedMon
|
||||
|
||||
BattleScript_DmgHazardsOnFaintedBattler::
|
||||
@ -5114,8 +5088,7 @@ BattleScript_DmgHazardsOnFaintedBattler::
|
||||
BattleScript_DmgHazardsOnFaintedBattlerFainted::
|
||||
setbyte sGIVEEXP_STATE, 0x0
|
||||
getexp BS_FAINTED
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
moveendall
|
||||
goto BattleScript_HandleFaintedMon
|
||||
|
||||
BattleScript_PrintHurtByDmgHazards::
|
||||
@ -5141,7 +5114,7 @@ BattleScript_StickyWebOnSwitchIn::
|
||||
copybyte gBattlerTarget sBATTLER
|
||||
printstring STRINGID_STICKYWEBSWITCHIN
|
||||
waitmessage 0x40
|
||||
statbuffchange 0x1, BattleScript_StickyWebOnSwitchInEnd
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_StickyWebOnSwitchInEnd
|
||||
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_StickyWebOnSwitchInStatAnim
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_StickyWebOnSwitchInEnd
|
||||
pause 0x20
|
||||
@ -5180,27 +5153,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::
|
||||
@ -5273,10 +5246,8 @@ BattleScript_DoFutureAttackResult:
|
||||
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
|
||||
sethword gMoveResultFlags, 0
|
||||
end2
|
||||
BattleScript_FutureAttackMiss::
|
||||
@ -5408,14 +5379,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_AtkDefDownTryDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_AtkDefDownTryDef
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AtkDefDownTryDef
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_AtkDefDownTryDef:
|
||||
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_AtkDefDownRet
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_AtkDefDownRet
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AtkDefDownRet
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
@ -5427,14 +5398,14 @@ BattleScript_DefSpDefDown::
|
||||
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
|
||||
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_DefSpDefDownTrySpDef
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_DefSpDefDownTrySpDef
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_DefSpDefDownTrySpDef
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
BattleScript_DefSpDefDownTrySpDef::
|
||||
playstatchangeanimation BS_ATTACKER, BIT_SPDEF, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE
|
||||
setstatchanger STAT_SPDEF, 1, TRUE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | 0x1, BattleScript_DefSpDefDownRet
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_DefSpDefDownRet
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_DefSpDefDownRet
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
@ -5508,7 +5479,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
|
||||
@ -5637,7 +5608,7 @@ BattleScript_MoveUsedFlinchedEnd:
|
||||
goto BattleScript_MoveEnd
|
||||
BattleScript_TryActivateSteadFast:
|
||||
setstatchanger STAT_SPEED, 1, FALSE
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_MoveUsedFlinchedEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_MoveUsedFlinchedEnd
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_MoveUsedFlinchedEnd
|
||||
setgraphicalstatchangevalues
|
||||
playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
|
||||
@ -5978,7 +5949,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
|
||||
@ -6286,7 +6257,7 @@ BattleScript_TargetAbilityStatRaise::
|
||||
BattleScript_WeakArmorActivates::
|
||||
call BattleScript_AbilityPopUp
|
||||
setstatchanger STAT_DEF, 1, TRUE
|
||||
statbuffchange 0x1, BattleScript_WeakArmorActivatesSpeed
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_WeakArmorActivatesSpeed
|
||||
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_WeakArmorDefAnim
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_WeakArmorActivatesSpeed
|
||||
pause 0x10
|
||||
@ -6300,7 +6271,7 @@ BattleScript_WeakArmorDefAnim:
|
||||
waitmessage 0x40
|
||||
BattleScript_WeakArmorActivatesSpeed:
|
||||
setstatchanger STAT_SPEED, 2, FALSE
|
||||
statbuffchange 0x1, BattleScript_WeakArmorActivatesEnd
|
||||
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_WeakArmorActivatesEnd
|
||||
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_WeakArmorSpeedAnim
|
||||
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_WeakArmorActivatesEnd
|
||||
pause 0x10
|
||||
@ -6325,7 +6296,7 @@ BattleScript_AttackerAbilityStatRaise::
|
||||
return
|
||||
|
||||
BattleScript_FellStingerRaisesStat::
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | 0x1, BattleScript_FellStingerRaisesAtkEnd
|
||||
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_FellStingerRaisesAtkEnd
|
||||
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, 0x1, BattleScript_FellStingerRaisesAtkEnd
|
||||
setgraphicalstatchangevalues
|
||||
playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
|
||||
@ -6406,8 +6377,7 @@ BattleScript_AbilityCuredStatus::
|
||||
BattleScript_IgnoresWhileAsleep::
|
||||
printstring STRINGID_PKMNIGNORESASLEEP
|
||||
waitmessage 0x40
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
end
|
||||
|
||||
BattleScript_IgnoresAndUsesRandomMove::
|
||||
@ -6424,8 +6394,7 @@ BattleScript_MoveUsedLoafingAround::
|
||||
BattleScript_82DB6C7::
|
||||
printfromtable gInobedientStringIds
|
||||
waitmessage 0x40
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x2, 0x10
|
||||
moveendto ATK49_NEXT_TARGET
|
||||
end
|
||||
BattleScript_TruantLoafingAround:
|
||||
call BattleScript_AbilityPopUp
|
||||
@ -6436,8 +6405,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::
|
||||
@ -6604,7 +6572,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
|
||||
|
||||
351
data/berry_crush.s
Executable file
351
data/berry_crush.s
Executable file
@ -0,0 +1,351 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
.align 2
|
||||
gUnknown_082F325C:: @ 82F325C
|
||||
.byte 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80
|
||||
|
||||
.align 2
|
||||
gUnknown_082F3264:: @ 82F3264
|
||||
.byte 0x00, 0x01, 0x02, 0x03, 0x05, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F326C:: @ 82F326C
|
||||
.byte 0x04, 0x01, 0x00, 0xff, 0x00, 0x00, 0x00, 0x04
|
||||
.byte 0x02, 0x00, 0xff, 0x00, 0x00, 0x00, 0x04, 0x02
|
||||
.byte 0x00, 0xfe, 0x00, 0x00, 0x00, 0x06, 0x03, 0x01
|
||||
.byte 0xff, 0xfd, 0xff, 0x00, 0x06, 0x04, 0x01, 0xfe
|
||||
.byte 0xfc, 0xfe, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F3290:: @ 82F3290
|
||||
.byte 0x03, 0x02, 0x01, 0x00, 0x03, 0x03, 0x01, 0x00
|
||||
.byte 0x03, 0x03, 0x02, 0x00, 0x03, 0x04, 0x02, 0x00
|
||||
.byte 0x03, 0x05, 0x03, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F32A4:: @ 82F32A4
|
||||
.4byte gText_ReadyToBerryCrush
|
||||
.4byte gText_WaitForAllChooseBerry
|
||||
.4byte gText_EndedWithXUnitsPowder
|
||||
.4byte gText_RecordingGameResults
|
||||
.4byte gText_PlayBerryCrushAgain
|
||||
.4byte gText_YouHaveNoBerries
|
||||
.4byte gText_MemberDroppedOut
|
||||
.4byte gText_TimesUpNoGoodPowder
|
||||
.4byte gText_CommunicationStandby2
|
||||
|
||||
.align 2
|
||||
gUnknown_082F32C8:: @ 82F32C8 struct BgTemplate
|
||||
.4byte 0x000000F8
|
||||
|
||||
.align 2
|
||||
gUnknown_082F32CC:: @ 82F32CC struct BgTemplate? not sure
|
||||
.byte 0xd1, 0x14, 0x00, 0x00, 0xc2, 0x20, 0x00, 0x00
|
||||
.byte 0xb3, 0x30, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F32D8:: @ 82F32D8
|
||||
.byte 0x01, 0x02, 0x03
|
||||
|
||||
gUnknown_082F32DB:: @ 82F32DB
|
||||
.byte 0x00, 0x01, 0x02
|
||||
|
||||
gUnknown_082F32DE:: @ 82F32DE
|
||||
.byte 0x00, 0x03, 0x04
|
||||
|
||||
gUnknown_082F32E1:: @ 82F32E1
|
||||
.byte 0x01, 0x08, 0x09
|
||||
.byte 0x01, 0x06, 0x07
|
||||
|
||||
gUnknown_082F32E7:: @ 82F32E7
|
||||
.byte 0x01, 0x04, 0x05
|
||||
|
||||
.align 2
|
||||
gUnknown_082F32EC:: @ 82F32EC
|
||||
window_template 0x00, 0x03, 0x04, 0x18, 0x0d, 0x0f, 0x0001
|
||||
|
||||
.align 2
|
||||
gUnknown_082F32F4:: @ 82F32F4
|
||||
window_template 0x00, 0x00, 0x00, 0x09, 0x02, 0x08, 0x03ed
|
||||
window_template 0x00, 0x00, 0x03, 0x09, 0x02, 0x08, 0x03db
|
||||
window_template 0x00, 0x00, 0x06, 0x09, 0x02, 0x08, 0x03c9
|
||||
window_template 0x00, 0x15, 0x03, 0x09, 0x02, 0x08, 0x03b7
|
||||
window_template 0x00, 0x15, 0x06, 0x09, 0x02, 0x08, 0x03a5
|
||||
null_window_template
|
||||
|
||||
window_template 0x00, 0x05, 0x02, 0x14, 0x10, 0x0f, 0x0001
|
||||
window_template 0x00, 0x05, 0x02, 0x14, 0x10, 0x0f, 0x0001
|
||||
window_template 0x00, 0x04, 0x02, 0x16, 0x10, 0x0f, 0x0001
|
||||
null_window_template
|
||||
|
||||
.align 2
|
||||
gUnknown_082F3344:: @ 82F3344
|
||||
.byte 0x06, 0x08, 0x09, 0x0b, 0x0c, 0x0e, 0x0f, 0x10
|
||||
|
||||
.align 2
|
||||
gUnknown_082F334C:: @ 82F334C
|
||||
.byte 0x80, 0xf0, 0xfa, 0x02, 0x40, 0x78, 0x7d, 0x01
|
||||
.byte 0x20, 0xbc, 0xbe, 0x00, 0x10, 0x5e, 0x5f, 0x00
|
||||
.byte 0x08, 0xaf, 0x2f, 0x00, 0x84, 0xd7, 0x17, 0x00
|
||||
.byte 0xc2, 0xeb, 0x0b, 0x00, 0xe1, 0xf5, 0x05, 0x00
|
||||
|
||||
.align 2
|
||||
gBerryCrushGrinderBasePal:: @ 82F336C
|
||||
.incbin "graphics/link_games/berrycrush_grinder_base.gbapal"
|
||||
|
||||
.align 2
|
||||
gBerryCrushMiscSpritesPal:: @ 82F338C
|
||||
.incbin "graphics/link_games/berrycrush_misc.gbapal"
|
||||
|
||||
.align 2
|
||||
gBerryCrushTimerDigitsPal:: @ 82F33AC
|
||||
.incbin "graphics/link_games/berrycrush_timerdigits.gbapal"
|
||||
|
||||
.align 2
|
||||
gBerryCrushGrinderBaseGfx:: @ 82F33CC
|
||||
.incbin "graphics/link_games/berrycrush_grinder_base.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gBerryCrushBtnPressGfx:: @ 82F36F8
|
||||
.incbin "graphics/link_games/berrycrush_btnpress.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gBerryCrushSparkleGfx:: @ 82F3A74
|
||||
.incbin "graphics/link_games/berrycrush_sparkle.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gBerryCrushTimerDigitsGfx:: @ 82F3BC0
|
||||
.incbin "graphics/link_games/berrycrush_timerdigits.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gBerryCrushGrinderTopTilemap:: @ 82F3C8C
|
||||
.incbin "graphics/link_games/berrycrush_grinder_top.bin.lz"
|
||||
|
||||
.align 2
|
||||
gBerryCrushContainerCapTilemap:: @ 82F3DBC
|
||||
.incbin "graphics/link_games/berrycrush_container_cap.bin.lz"
|
||||
|
||||
.align 2
|
||||
gBerryCrushBackgroundTilemap:: @ 82F3F54
|
||||
.incbin "graphics/link_games/berrycrush_background.bin.lz"
|
||||
|
||||
.align 2
|
||||
gUnknown_082F417C:: @ 82F417C
|
||||
.byte 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03
|
||||
.byte 0x00, 0x00, 0x01, 0x03, 0x02, 0x04, 0x00, 0x00
|
||||
.byte 0x01, 0x03, 0x02, 0x04
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4190:: @ 82F4190
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xff
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x03, 0x00
|
||||
.byte 0xe4, 0xff, 0xfc, 0xff, 0xe8, 0xff, 0x10, 0x00
|
||||
.byte 0x02, 0x00, 0x06, 0x00, 0xf0, 0xff, 0x14, 0x00
|
||||
.byte 0xf8, 0xff, 0x10, 0x00, 0x03, 0x14, 0x03, 0x00
|
||||
.byte 0x1c, 0x00, 0xfc, 0xff, 0x20, 0x00, 0xf8, 0xff
|
||||
.byte 0x04, 0x14, 0x06, 0x00, 0x10, 0x00, 0x14, 0x00
|
||||
.byte 0x10, 0x00, 0xf8, 0xff
|
||||
|
||||
.align 2
|
||||
gUnknown_082F41CC:: @ 82F41CC
|
||||
.byte 0x00, 0x00, 0xff, 0x00, 0x01, 0x01, 0x00, 0x00
|
||||
.byte 0xf0, 0xfc, 0x10, 0xfc, 0xf8, 0xfe, 0x08, 0xfe
|
||||
.byte 0xe8, 0xf8, 0x18, 0xf8, 0xe0, 0xf4, 0x20, 0xf4
|
||||
.byte 0xd8, 0xf0, 0x28, 0xf0
|
||||
|
||||
.align 2
|
||||
gUnknown_082F41E8:: @ 82F41E8
|
||||
.2byte 0x0005, 0x0006, 0x0007, 0x0008, 0x0009, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F41F4:: @ 82F41F4
|
||||
.4byte gBerryCrushGrinderBaseGfx
|
||||
.2byte 0x0800, 0x0001
|
||||
|
||||
.4byte gBerryCrushBtnPressGfx
|
||||
.2byte 0x0e00, 0x0002
|
||||
|
||||
.4byte gBerryCrushSparkleGfx
|
||||
.2byte 0x0700, 0x0003
|
||||
|
||||
.align 2
|
||||
gUnknown_082F420C:: @ 82F420C
|
||||
.4byte gBerryCrushTimerDigitsGfx
|
||||
.2byte 0x02c0, 0x0004
|
||||
|
||||
.4byte NULL
|
||||
.2byte 0x0000, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F421C:: @ 82F421C
|
||||
.4byte gBerryCrushGrinderBasePal
|
||||
.2byte 0x0001
|
||||
|
||||
.align 2
|
||||
.4byte gBerryCrushMiscSpritesPal
|
||||
.2byte 0x0002
|
||||
|
||||
.align 2
|
||||
gUnknown_082F422C:: @ 82F422C
|
||||
.align 2
|
||||
.4byte gBerryCrushTimerDigitsPal
|
||||
.2byte 0x0004
|
||||
|
||||
.align 2
|
||||
.4byte NULL
|
||||
.2byte 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F423C:: @ 82F423C
|
||||
.2byte 0x0000, 0x0000, 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4244:: @ 82F4244
|
||||
.2byte 0x0000, 0x0004, 0x0010, 0x0004, 0x0020, 0x0004, 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4254:: @ 82F4254
|
||||
.2byte 0x0030, 0x0002, 0x0040, 0x0002, 0x0050, 0x0002, 0x0060, 0x0002
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4268:: @ 82F4268
|
||||
.2byte 0x0000, 0x0002, 0x0004, 0x0002, 0x0008, 0x0002, 0x000c, 0x0002
|
||||
.2byte 0x0010, 0x0002, 0x0014, 0x0002, 0xfffe, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4284:: @ 82F4284
|
||||
.2byte 0x0018, 0x0004, 0x001c, 0x0004, 0x0020, 0x0004, 0x0024, 0x0004
|
||||
.2byte 0x0028, 0x0004, 0x002c, 0x0004, 0x0030, 0x0004, 0x0034, 0x0004
|
||||
.2byte 0xfffe, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F42A8:: @ 82F42A8
|
||||
.2byte 0x0014, 0x0000, 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F42B0:: @ 82F42B0
|
||||
.2byte 0x0000, 0x0000, 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F42B8:: @ 82F42B8
|
||||
.2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x0102, 0x0000
|
||||
.2byte 0x7ffe, 0x0001, 0x0000, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F42D0:: @ 82F42D0
|
||||
.2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x01fe, 0x0000
|
||||
.2byte 0x7ffe, 0x0001, 0x0000, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082F42E8:: @ 82F42E8
|
||||
.4byte gUnknown_082F423C
|
||||
|
||||
.align 2
|
||||
gUnknown_082F42EC:: @ 82F42EC
|
||||
.4byte gUnknown_082F4244
|
||||
.4byte gUnknown_082F4254
|
||||
|
||||
.align 2
|
||||
gUnknown_082F42F4:: @ 82F42F4
|
||||
.4byte gUnknown_082F4268
|
||||
.4byte gUnknown_082F4284
|
||||
|
||||
.align 2
|
||||
gUnknown_082F42FC:: @ 82F42FC
|
||||
.4byte gUnknown_082F42A8
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4300:: @ 82F4300
|
||||
.4byte gUnknown_082F42B0
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4304:: @ 82F4304
|
||||
.4byte gUnknown_082F42B8
|
||||
.4byte gUnknown_082F42D0
|
||||
|
||||
.align 2
|
||||
gUnknown_082F430C:: @ 82F430C
|
||||
spr_template 0x0001, 0x0001, gUnknown_0852491C, gUnknown_082F42E8, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4324:: @ 82F4324
|
||||
spr_template 0x0002, 0x0002, gUnknown_08524914, gUnknown_082F42EC, NULL, gDummySpriteAffineAnimTable, sub_8022A20
|
||||
|
||||
.align 2
|
||||
gUnknown_082F433C:: @ 82F433C
|
||||
spr_template 0x0003, 0x0002, gUnknown_0852490C, gUnknown_082F42F4, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4354:: @ 82F4354
|
||||
spr_template 0x0004, 0x0004, gUnknown_08524944, gUnknown_082F42FC, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
.align 2
|
||||
gUnknown_082F436C:: @ 82F436C
|
||||
spr_template 0x0005, 0x0005, gUnknown_085249D4, gUnknown_082F4300, NULL, gUnknown_082F4304, SpriteCallbackDummy
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4384:: @ 82F4384
|
||||
.byte 0x09, 0x02, 0x08, 0x00, 0x9c, 0x00, 0x00, 0x00
|
||||
.4byte gUnknown_082F420C
|
||||
.4byte gUnknown_082F422C
|
||||
|
||||
.byte 0x08, 0x02, 0x08, 0x00, 0xb4, 0x00, 0x00, 0x00
|
||||
.4byte gUnknown_082F420C
|
||||
.4byte gUnknown_082F422C
|
||||
|
||||
.byte 0x08, 0x02, 0x08, 0x00, 0xcc, 0x00, 0x00, 0x00
|
||||
.4byte gUnknown_082F420C
|
||||
.4byte gUnknown_082F422C
|
||||
|
||||
.align 2
|
||||
gUnknown_082F43B4:: @ 82F43B4
|
||||
.4byte gText_SpaceTimes2
|
||||
.4byte gText_XDotY
|
||||
.4byte gText_Var1Berry
|
||||
.4byte gText_NeatnessRankings
|
||||
.4byte gText_CoopRankings
|
||||
.4byte gText_PressingPowerRankings
|
||||
|
||||
.align 2
|
||||
gUnknown_082F43CC:: @ 82F43CC
|
||||
.4byte NULL
|
||||
.4byte sub_8022C58
|
||||
.4byte sub_8022CB0
|
||||
.4byte sub_8022D14
|
||||
.4byte sub_8022E1C
|
||||
.4byte sub_8022E3C
|
||||
.4byte sub_8022E5C
|
||||
.4byte sub_8022EAC
|
||||
.4byte sub_8022F04
|
||||
.4byte sub_8022F1C
|
||||
.4byte sub_8023070
|
||||
.4byte sub_80231B8
|
||||
.4byte sub_80232EC
|
||||
.4byte sub_80238F0
|
||||
.4byte sub_8023998
|
||||
.4byte sub_8023A30
|
||||
.4byte sub_8023BC0
|
||||
.4byte sub_8023CAC
|
||||
.4byte sub_8024048
|
||||
.4byte sub_8024134
|
||||
.4byte sub_8024228
|
||||
.4byte sub_80242E0
|
||||
.4byte sub_80243BC
|
||||
.4byte sub_8024444
|
||||
.4byte sub_8024508
|
||||
.4byte sub_8024568
|
||||
|
||||
.align 2
|
||||
gUnknown_082F4434:: @ 82F4434
|
||||
.byte 0x02, 0x04, 0x06, 0x07, 0x03, 0x05, 0x08, 0x0b
|
||||
.byte 0x03, 0x07, 0x0b, 0x0f, 0x04, 0x08, 0x0c, 0x11
|
||||
|
||||
gUnknown_082F4444:: @ 82F4444
|
||||
.byte 0x05, 0x07, 0x09, 0x0c
|
||||
|
||||
gUnknown_082F4448:: @ 82F4448
|
||||
.byte 0x03, 0x07, 0x0f, 0x1f
|
||||
36
data/berry_powder.s
Executable file
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
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
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
292
data/mevent_server.s
Executable file
292
data/mevent_server.s
Executable file
@ -0,0 +1,292 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
.align 2
|
||||
gUnknown_082F2548:: @ 82F2548
|
||||
.4byte sub_801D1AC
|
||||
.4byte sub_801D1B4
|
||||
.4byte sub_801D1B8
|
||||
.4byte sub_801D1D4
|
||||
.4byte sub_801D1F0
|
||||
|
||||
.align 2
|
||||
gUnknown_082F255C:: @ 82F255C
|
||||
.4byte sub_801D5D0
|
||||
.4byte sub_801D5F8
|
||||
.4byte sub_801D5FC
|
||||
.4byte sub_801D61C
|
||||
.4byte sub_801D63C
|
||||
.4byte sub_801D810
|
||||
.4byte sub_801D828
|
||||
.4byte sub_801D860
|
||||
|
||||
.align 2
|
||||
gText_CanceledReadingCard:: @ 82F257C
|
||||
.string "Canceled reading\nthe Card.$"
|
||||
|
||||
.align 2
|
||||
gUnknown_082F2598:: @ 82F2598
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F25A8:: @ 82F25A8
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F25C8:: @ 82F25C8
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F25D8:: @ 82F25D8
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F25E8:: @ 82F25E8
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F25F8:: @ 82F25F8
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00
|
||||
.byte 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00
|
||||
.byte 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F2628:: @ 82F2628
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00
|
||||
.byte 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F2650:: @ 82F2650
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F2660:: @ 82F2660
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F2670:: @ 82F2670
|
||||
.byte 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F2698:: @ 82F2698
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F26A8:: @ 82F26A8
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F26B8:: @ 82F26B8
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00
|
||||
.byte 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00
|
||||
.byte 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F26F8:: @ 82F26F8
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F25C8
|
||||
.byte 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F25D8
|
||||
.byte 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F2698
|
||||
.byte 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F2788:: @ 82F2788
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F26B8
|
||||
.byte 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gText_CanceledReadingCard
|
||||
.byte 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F27D0:: @ 82F27D0
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F2650
|
||||
.byte 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F2800:: @ 82F2800
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F2628
|
||||
.byte 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F27D0
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F2660
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F2884:: @ 82F2884
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F25F8
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F28E4:: @ 82F28E4
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F2670
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F2884
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F2788
|
||||
|
||||
.align 2
|
||||
gUnknown_082F292C:: @ 82F292C
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F26A8
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00
|
||||
.byte 0x10, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F25E8
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F298C:: @ 82F298C
|
||||
.byte 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00
|
||||
.byte 0x20, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F25A8
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F26F8
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F2800
|
||||
|
||||
.align 2
|
||||
gUnknown_082F29EC:: @ 82F29EC
|
||||
.byte 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x12, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F25A8
|
||||
.byte 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F26F8
|
||||
.byte 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F28E4
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F2884
|
||||
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_082F292C
|
||||
698
data/pokemon_jump.s
Executable file
698
data/pokemon_jump.s
Executable file
@ -0,0 +1,698 @@
|
||||
#include "constants/species.h"
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
.align 2
|
||||
gPkmnJumpSpecies:: @ 82FB464
|
||||
.2byte SPECIES_BULBASAUR, 0x0002
|
||||
.2byte SPECIES_CHARMANDER, 0x0001
|
||||
.2byte SPECIES_SQUIRTLE, 0x0000
|
||||
.2byte SPECIES_CATERPIE, 0x0001
|
||||
.2byte SPECIES_METAPOD, 0x0001
|
||||
.2byte SPECIES_WEEDLE, 0x0001
|
||||
.2byte SPECIES_KAKUNA, 0x0001
|
||||
.2byte SPECIES_RATTATA, 0x0001
|
||||
.2byte SPECIES_RATICATE, 0x0001
|
||||
.2byte SPECIES_PIKACHU, 0x0000
|
||||
.2byte SPECIES_SANDSHREW, 0x0000
|
||||
.2byte SPECIES_NIDORAN_F, 0x0000
|
||||
.2byte SPECIES_NIDORAN_M, 0x0000
|
||||
.2byte SPECIES_CLEFAIRY, 0x0000
|
||||
.2byte SPECIES_VULPIX, 0x0000
|
||||
.2byte SPECIES_JIGGLYPUFF, 0x0002
|
||||
.2byte SPECIES_ODDISH, 0x0002
|
||||
.2byte SPECIES_PARAS, 0x0001
|
||||
.2byte SPECIES_MEOWTH, 0x0000
|
||||
.2byte SPECIES_PSYDUCK, 0x0002
|
||||
.2byte SPECIES_MANKEY, 0x0001
|
||||
.2byte SPECIES_GROWLITHE, 0x0001
|
||||
.2byte SPECIES_POLIWAG, 0x0002
|
||||
.2byte SPECIES_BELLSPROUT, 0x0002
|
||||
.2byte SPECIES_SHELLDER, 0x0001
|
||||
.2byte SPECIES_KRABBY, 0x0001
|
||||
.2byte SPECIES_EXEGGCUTE, 0x0002
|
||||
.2byte SPECIES_CUBONE, 0x0000
|
||||
.2byte SPECIES_DITTO, 0x0002
|
||||
.2byte SPECIES_EEVEE, 0x0000
|
||||
.2byte SPECIES_OMANYTE, 0x0001
|
||||
.2byte SPECIES_KABUTO, 0x0001
|
||||
.2byte SPECIES_CHIKORITA, 0x0002
|
||||
.2byte SPECIES_CYNDAQUIL, 0x0001
|
||||
.2byte SPECIES_TOTODILE, 0x0000
|
||||
.2byte SPECIES_SPINARAK, 0x0001
|
||||
.2byte SPECIES_PICHU, 0x0000
|
||||
.2byte SPECIES_CLEFFA, 0x0000
|
||||
.2byte SPECIES_IGGLYBUFF, 0x0002
|
||||
.2byte SPECIES_TOGEPI, 0x0002
|
||||
.2byte SPECIES_MAREEP, 0x0000
|
||||
.2byte SPECIES_BELLOSSOM, 0x0002
|
||||
.2byte SPECIES_MARILL, 0x0002
|
||||
.2byte SPECIES_SUNKERN, 0x0002
|
||||
.2byte SPECIES_WOOPER, 0x0002
|
||||
.2byte SPECIES_PINECO, 0x0002
|
||||
.2byte SPECIES_SNUBBULL, 0x0000
|
||||
.2byte SPECIES_SHUCKLE, 0x0002
|
||||
.2byte SPECIES_TEDDIURSA, 0x0000
|
||||
.2byte SPECIES_SLUGMA, 0x0002
|
||||
.2byte SPECIES_SWINUB, 0x0000
|
||||
.2byte SPECIES_HOUNDOUR, 0x0001
|
||||
.2byte SPECIES_PHANPY, 0x0000
|
||||
.2byte SPECIES_PORYGON2, 0x0000
|
||||
.2byte SPECIES_TYROGUE, 0x0001
|
||||
.2byte SPECIES_SMOOCHUM, 0x0002
|
||||
.2byte SPECIES_ELEKID, 0x0001
|
||||
.2byte SPECIES_MAGBY, 0x0001
|
||||
.2byte SPECIES_LARVITAR, 0x0001
|
||||
.2byte SPECIES_TREECKO, 0x0001
|
||||
.2byte SPECIES_TORCHIC, 0x0002
|
||||
.2byte SPECIES_MUDKIP, 0x0000
|
||||
.2byte SPECIES_MARSHTOMP, 0x0000
|
||||
.2byte SPECIES_POOCHYENA, 0x0001
|
||||
.2byte SPECIES_ZIGZAGOON, 0x0000
|
||||
.2byte SPECIES_LINOONE, 0x0000
|
||||
.2byte SPECIES_WURMPLE, 0x0001
|
||||
.2byte SPECIES_SILCOON, 0x0002
|
||||
.2byte SPECIES_CASCOON, 0x0002
|
||||
.2byte SPECIES_LOTAD, 0x0002
|
||||
.2byte SPECIES_SEEDOT, 0x0001
|
||||
.2byte SPECIES_RALTS, 0x0000
|
||||
.2byte SPECIES_KIRLIA, 0x0000
|
||||
.2byte SPECIES_SURSKIT, 0x0002
|
||||
.2byte SPECIES_SHROOMISH, 0x0002
|
||||
.2byte SPECIES_NINCADA, 0x0001
|
||||
.2byte SPECIES_WHISMUR, 0x0000
|
||||
.2byte SPECIES_AZURILL, 0x0002
|
||||
.2byte SPECIES_SKITTY, 0x0000
|
||||
.2byte SPECIES_SABLEYE, 0x0000
|
||||
.2byte SPECIES_MAWILE, 0x0000
|
||||
.2byte SPECIES_ARON, 0x0001
|
||||
.2byte SPECIES_MEDITITE, 0x0002
|
||||
.2byte SPECIES_ELECTRIKE, 0x0001
|
||||
.2byte SPECIES_PLUSLE, 0x0001
|
||||
.2byte SPECIES_MINUN, 0x0001
|
||||
.2byte SPECIES_VOLBEAT, 0x0000
|
||||
.2byte SPECIES_ILLUMISE, 0x0000
|
||||
.2byte SPECIES_ROSELIA, 0x0002
|
||||
.2byte SPECIES_GULPIN, 0x0002
|
||||
.2byte SPECIES_NUMEL, 0x0002
|
||||
.2byte SPECIES_TORKOAL, 0x0002
|
||||
.2byte SPECIES_SPOINK, 0x0000
|
||||
.2byte SPECIES_TRAPINCH, 0x0002
|
||||
.2byte SPECIES_CACNEA, 0x0002
|
||||
.2byte SPECIES_ANORITH, 0x0001
|
||||
.2byte SPECIES_WYNAUT, 0x0000
|
||||
.2byte SPECIES_SNORUNT, 0x0000
|
||||
.2byte SPECIES_CLAMPERL, 0x0001
|
||||
.2byte SPECIES_BAGON, 0x0001
|
||||
|
||||
.align 2
|
||||
gUnknown_082FB5F4:: @ 82FB5F4
|
||||
.4byte sub_802B248
|
||||
.4byte sub_802B2D4
|
||||
.4byte sub_802B368
|
||||
.4byte sub_802B3D4
|
||||
.4byte sub_802B4CC
|
||||
.4byte sub_802B5C8
|
||||
.4byte sub_802B664
|
||||
.4byte sub_802B6B8
|
||||
.4byte sub_802B720
|
||||
|
||||
.align 2
|
||||
gUnknown_082FB618:: @ 82FB618
|
||||
.4byte sub_802B29C
|
||||
.4byte sub_802B31C
|
||||
.4byte sub_802B3B4
|
||||
.4byte sub_802B470
|
||||
.4byte sub_802B568
|
||||
.4byte sub_802B628
|
||||
.4byte sub_802B664
|
||||
.4byte sub_802B704
|
||||
.4byte sub_802B720
|
||||
|
||||
.align 2
|
||||
gUnknown_082FB63C:: @ 82FB63C
|
||||
.2byte 0x001a, 0x001f, 0x0024, 0x0029, 0x002e, 0x0033, 0x0038, 0x003d
|
||||
|
||||
.align 2
|
||||
gUnknown_082FB64C:: @ 82FB64C
|
||||
.2byte 0x0000, 0x0001, 0x0001, 0x0002
|
||||
|
||||
.align 2
|
||||
gUnknown_082FB654:: @ 82FB654
|
||||
.2byte 0x005f, 0x0066, 0x00e4, 0x0105
|
||||
|
||||
.align 2
|
||||
gUnknown_082FB65C:: @ 82FB65C
|
||||
.byte 0xfd, 0xfa, 0xf8, 0xf6, 0xf3, 0xf1, 0xef, 0xed
|
||||
.byte 0xeb, 0xe9, 0xe7, 0xe5, 0xe4, 0xe3, 0xe2, 0xe2
|
||||
.byte 0xe2, 0xe4, 0xe5, 0xe6, 0xe7, 0xe9, 0xea, 0xec
|
||||
.byte 0xee, 0xef, 0xf1, 0xf3, 0xf5, 0xf8, 0xfa, 0xfc
|
||||
.byte 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0xfd, 0xfa, 0xf7, 0xf5, 0xf2, 0xf0, 0xee, 0xec
|
||||
.byte 0xea, 0xe8, 0xe6, 0xe4, 0xe3, 0xe2, 0xe2, 0xe4
|
||||
.byte 0xe6, 0xe8, 0xea, 0xec, 0xee, 0xf0, 0xf2, 0xf5
|
||||
.byte 0xf7, 0xfa, 0xfc, 0xff, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0xfd, 0xfa, 0xf7, 0xf5, 0xf3, 0xf1, 0xef, 0xed
|
||||
.byte 0xeb, 0xe9, 0xe7, 0xe5, 0xe4, 0xe3, 0xe2, 0xe2
|
||||
.byte 0xe2, 0xe2, 0xe3, 0xe3, 0xe4, 0xe4, 0xe5, 0xe5
|
||||
.byte 0xe6, 0xe7, 0xe8, 0xea, 0xec, 0xee, 0xf0, 0xf2
|
||||
.byte 0xf4, 0xf5, 0xf7, 0xfa, 0xfc, 0xff, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082FB6EC:: @ 82FB6EC
|
||||
.4byte 0x00000000, 0x00000000, 0x00000032, 0x00000064
|
||||
.4byte 0x000000c8, 0x000001f4
|
||||
|
||||
.align 2
|
||||
gUnknown_082FB704:: @ 82FB704
|
||||
.2byte 0x008a, 0x008d, 0x008e, 0x008f, 0x0090, 0x0091, 0x0092, 0x0093
|
||||
|
||||
.align 2
|
||||
gUnknown_082FB714:: @ 82FB714
|
||||
.4byte 0x00001388, 0x00000001, 0x00001f40, 0x00000002
|
||||
.4byte 0x00002ee0, 0x00000003, 0x00003e80, 0x00000004
|
||||
.4byte 0x00004e20, 0x00000005
|
||||
|
||||
.align 2
|
||||
gPkmnJumpPal1:: @ 82FB73C
|
||||
.incbin "graphics/link_games/pkmnjump_pal1.gbapal"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpPal2:: @ 82FB75C
|
||||
.incbin "graphics/link_games/pkmnjump_pal2.gbapal"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpRopeGfx1:: @ 82FB77C
|
||||
.incbin "graphics/link_games/pkmnjump_rope1.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpRopeGfx2:: @ 82FB89C
|
||||
.incbin "graphics/link_games/pkmnjump_rope2.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpRopeGfx3:: @ 82FBA70
|
||||
.incbin "graphics/link_games/pkmnjump_rope3.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpRopeGfx4:: @ 82FBBA0
|
||||
.incbin "graphics/link_games/pkmnjump_rope4.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpStarGfx:: @ 82FBC9C
|
||||
.incbin "graphics/link_games/pkmnjump_star.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBE08:: @ 82FBE08
|
||||
obj_tiles gPkmnJumpRopeGfx1, 0x0600, 0x0005
|
||||
|
||||
.align 2
|
||||
obj_tiles gPkmnJumpRopeGfx2, 0x0c00, 0x0006
|
||||
|
||||
.align 2
|
||||
obj_tiles gPkmnJumpRopeGfx3, 0x0600, 0x0007
|
||||
|
||||
.align 2
|
||||
obj_tiles gPkmnJumpRopeGfx4, 0x0600, 0x0008
|
||||
|
||||
.align 2
|
||||
obj_tiles gPkmnJumpStarGfx, 0x0200, 0x000a
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBE30:: @ 82FBE30
|
||||
obj_pal gPkmnJumpPal1, 0x0005
|
||||
|
||||
.align 2
|
||||
obj_pal gPkmnJumpPal2, 0x0006
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBE40:: @ 82FBE40
|
||||
spr_template 0x0000, 0x0000, gUnknown_082FBEC8, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
gUnknown_082FBE58:: @ 82FBE58
|
||||
.2byte 0x0060, 0x0060, 0x0060, 0x0072, 0x0078, 0x0078, 0x0078, 0x0072
|
||||
.2byte 0x0060, 0x0060, 0x0046, 0x0050, 0x0060, 0x0072, 0x0078, 0x0080
|
||||
.2byte 0x0078, 0x0072, 0x0060, 0x0050, 0x0032, 0x0048, 0x0060, 0x0072
|
||||
.2byte 0x0080, 0x0088, 0x0080, 0x0072, 0x0060, 0x0048, 0x002a, 0x0048
|
||||
.2byte 0x0060, 0x0072, 0x0080, 0x0088, 0x0080, 0x0072, 0x0060, 0x0048
|
||||
|
||||
gUnknown_082FBEA8:: @ 82FBEA8
|
||||
.2byte 0x0010, 0x0028, 0x0048, 0x0068, 0x0088, 0x00a8, 0x00c8, 0x00e0
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBEB8:: @ 82FBEB8
|
||||
.4byte gUnknown_082FBF78
|
||||
.4byte gUnknown_082FBF90
|
||||
.4byte gUnknown_082FBFA8
|
||||
.4byte gUnknown_082FBFC0
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBEC8:: @ 82FBED0
|
||||
.byte 0x00, 0x00, 0x00, 0xc0, 0x00, 0x08, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBED0:: @ 82FBED0
|
||||
.byte 0x00, 0x80, 0x00, 0x80, 0x00, 0x08, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBED8:: @ 82FBED8
|
||||
.byte 0x00, 0x00, 0x00, 0x80, 0x00, 0x08, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBEE0:: @ 82FBEE0
|
||||
.byte 0x00, 0x40, 0x00, 0x80, 0x00, 0x08, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBEE8:: @ 82FBEE8
|
||||
.2byte 0x0000, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBEF0:: @ 82FBEF0
|
||||
.2byte 0x0008, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBEF8:: @ 82FBEF8
|
||||
.2byte 0x0010, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF00:: @ 82FBF00
|
||||
.2byte 0x0018, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF08:: @ 82FBF08
|
||||
.2byte 0x0020, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF10:: @ 82FBF10
|
||||
.2byte 0x0028, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF18:: @ 82FBF18
|
||||
.2byte 0x0000, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF20:: @ 82FBF20
|
||||
.2byte 0x0010, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF28:: @ 82FBF28
|
||||
.2byte 0x0020, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF30:: @ 82FBF30
|
||||
.2byte 0x0030, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF38:: @ 82FBF38
|
||||
.2byte 0x0040, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF40:: @ 82FBF40
|
||||
.2byte 0x0050, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF48:: @ 82FBF48
|
||||
.4byte gUnknown_082FBEE8
|
||||
.4byte gUnknown_082FBEF0
|
||||
.4byte gUnknown_082FBEF8
|
||||
.4byte gUnknown_082FBF00
|
||||
.4byte gUnknown_082FBF08
|
||||
.4byte gUnknown_082FBF10
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF60:: @ 82FBF60
|
||||
.4byte gUnknown_082FBF18
|
||||
.4byte gUnknown_082FBF20
|
||||
.4byte gUnknown_082FBF28
|
||||
.4byte gUnknown_082FBF30
|
||||
.4byte gUnknown_082FBF38
|
||||
.4byte gUnknown_082FBF40
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF78:: @ 82FBF78
|
||||
spr_template 0x0005, 0x0005, gUnknown_082FBED0, gUnknown_082FBF48, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBF90:: @ 82FBF90
|
||||
spr_template 0x0006, 0x0005, gUnknown_082FBED8, gUnknown_082FBF60, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBFA8:: @ 82FBFA8
|
||||
spr_template 0x0007, 0x0005, gUnknown_082FBEE0, gUnknown_082FBF48, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBFC0:: @ 82FBFC0
|
||||
spr_template 0x0008, 0x0005, gUnknown_082FBEE0, gUnknown_082FBF48, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBFD8:: @ 82FBFD8
|
||||
.byte 0x00, 0x00, 0x00, 0x40, 0x00, 0x04, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBFE0:: @ 82FBFE0
|
||||
.2byte 0x0000, 0x0000
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FBFE8:: @ 82FBFE8
|
||||
.2byte 0x0000, 0x0004
|
||||
.2byte 0x0004, 0x0004
|
||||
.2byte 0x0008, 0x0004
|
||||
.2byte 0x000c, 0x0004
|
||||
.2byte 0xfffd, 0x0001
|
||||
.2byte 0x0000, 0x0004
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FC004:: @ 82FC004
|
||||
.4byte gUnknown_082FBFE0
|
||||
.4byte gUnknown_082FBFE8
|
||||
|
||||
.align 2
|
||||
gUnknown_082FC00C:: @ 82FC00C
|
||||
spr_template 0x000a, 0x0005, gUnknown_082FBFD8, gUnknown_082FC004, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
.align 2
|
||||
gPkmnJumpPal3:: @ 82FC024
|
||||
.incbin "graphics/link_games/pkmnjump_pal3.gbapal"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpBgPal:: @ 82FC044
|
||||
.incbin "graphics/link_games/pkmnjump_bg.gbapal"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpBgGfx:: @ 82FC064
|
||||
.incbin "graphics/link_games/pkmnjump_bg.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpBgTilemap:: @ 82FC290
|
||||
.incbin "graphics/link_games/pkmnjump_bg.bin.lz"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpVenusaurPal:: @ 82FC440
|
||||
.incbin "graphics/link_games/pkmnjump_venusaur.gbapal"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpVenusaurGfx:: @ 82FC460
|
||||
.incbin "graphics/link_games/pkmnjump_venusaur.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpVenusaurTilemap:: @ 82FCDB0
|
||||
.incbin "graphics/link_games/pkmnjump_venusaur.bin.lz"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpResultsPal:: @ 82FD168
|
||||
.incbin "graphics/link_games/pkmnjump_results.gbapal"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpResultsGfx:: @ 82FD188
|
||||
.incbin "graphics/link_games/pkmnjump_results.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gPkmnJumpResultsTilemap:: @ 82FDC38
|
||||
.incbin "graphics/link_games/pkmnjump_results.bin.lz"
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE164:: @ 82FE164 struct BgTemplate
|
||||
.4byte 0x000001b0, 0x000025e6, 0x000016c9, 0x000031df
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE174:: @ 82FE174
|
||||
window_template 0x00, 0x13, 0x00, 0x06, 0x02, 0x02, 0x0013
|
||||
window_template 0x00, 0x08, 0x00, 0x06, 0x02, 0x02, 0x001f
|
||||
null_window_template
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE18C:: @ 82FE18C
|
||||
.4byte 0x00000000, sub_802D150
|
||||
.4byte 0x00000001, sub_802D2E4
|
||||
.4byte 0x00000002, sub_802D350
|
||||
.4byte 0x00000003, sub_802D3BC
|
||||
.4byte 0x00000004, sub_802D448
|
||||
.4byte 0x00000005, sub_802D4F4
|
||||
.4byte 0x00000006, sub_802D598
|
||||
.4byte 0x00000007, sub_802D5E4
|
||||
.4byte 0x00000009, sub_802D72C
|
||||
.4byte 0x00000008, sub_802D688
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE1DC:: @ 82FE1DC
|
||||
.byte 0x00, 0x02, 0x03
|
||||
|
||||
gUnknown_082FE1DF:: @ 82FE1DF
|
||||
.byte 0x02, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00
|
||||
.byte 0x00, 0x02, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE1EC:: @ 82FE1EC
|
||||
obj_tiles gUnknown_082FF1F8, 0x0000, 0x0320
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE1F4:: @ 82FE1F4
|
||||
obj_pal gUnknown_082FF1D8, 0x0320
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE1FC:: @ 82FE1FC
|
||||
.2byte 0x0006, 0x0008, 0x0010, 0x0008
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE204:: @ 82FE204
|
||||
.2byte 0x0006, 0x0008, 0x000b, 0x0006, 0x0010, 0x0008
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE210:: @ 82FE210
|
||||
.2byte 0x0002, 0x0006, 0x0006, 0x0008, 0x0010, 0x0008, 0x0014, 0x0006
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE220:: @ 82FE220
|
||||
.2byte 0x0002, 0x0006, 0x0006, 0x0008, 0x000b, 0x0006
|
||||
.2byte 0x0010, 0x0008, 0x0014, 0x0006
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE234:: @ 82FE234
|
||||
.4byte gUnknown_082FE1FC
|
||||
.4byte gUnknown_082FE204
|
||||
.4byte gUnknown_082FE210
|
||||
.4byte gUnknown_082FE220
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE244:: @ 82FE244
|
||||
.2byte 0x0058, 0x0098
|
||||
|
||||
gUnknown_082FE248:: @ 82FE248
|
||||
.2byte 0x0058, 0x0078, 0x0098
|
||||
|
||||
gUnknown_082FE24E:: @ 82FE24E
|
||||
.2byte 0x0038, 0x0058, 0x0098, 0x00b8
|
||||
|
||||
gUnknown_082FE256:: @ 82FE256
|
||||
.2byte 0x0038, 0x0058, 0x0078, 0x0098, 0x00b8
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE260:: @ 82FE260
|
||||
.4byte gUnknown_082FE244
|
||||
.4byte gUnknown_082FE248
|
||||
.4byte gUnknown_082FE24E
|
||||
.4byte gUnknown_082FE256
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE270:: @ 82FE270
|
||||
.4byte 0x1c010100, 0x00010f09
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE278:: @ 82FE278
|
||||
.4byte gText_JumpsInARow
|
||||
.4byte gText_BestScore2
|
||||
.4byte gText_ExcellentsInARow
|
||||
|
||||
.align 2
|
||||
gPkmnJump321StartPal1:: @ 82FE284
|
||||
.incbin "graphics/link_games/pkmnjump_321start1.gbapal"
|
||||
|
||||
.align 2
|
||||
gPkmnJump321StartGfx1:: @ 82FE2A4
|
||||
.incbin "graphics/link_games/pkmnjump_321start1.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE6C8:: @ 82FE6C8
|
||||
obj_tiles gPkmnJump321StartGfx1, 0x0c00, 0x2000
|
||||
null_obj_tiles
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE6D8:: @ 82FE6D8
|
||||
obj_pal gPkmnJump321StartPal1, 0x2000
|
||||
null_obj_pal
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE6E8:: @ 82FE6E8
|
||||
.2byte 0x0000, 0x0000
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE6F0:: @ 82FE6F0
|
||||
.2byte 0x0010, 0x0000
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE6F8:: @ 82FE6F8
|
||||
.2byte 0x0020, 0x0000
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE700:: @ 82FE700
|
||||
.2byte 0x0040, 0x0000
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE708:: @ 82FE708
|
||||
.2byte 0x0030, 0x0000
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE710:: @ 82FE710
|
||||
.2byte 0x0050, 0x0000
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE718:: @ 82FE718
|
||||
.4byte gUnknown_082FE6E8
|
||||
.4byte gUnknown_082FE6F0
|
||||
.4byte gUnknown_082FE6F8
|
||||
.4byte gUnknown_082FE700
|
||||
.4byte gUnknown_082FE708
|
||||
.4byte gUnknown_082FE710
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE730:: @ 82FE730
|
||||
spr_template 0x2000, 0x2000, gUnknown_08524914, gUnknown_082FE718, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
|
||||
.align 2
|
||||
gUnknown_082FE748:: @ 82FE748
|
||||
.4byte sub_802E83C
|
||||
.4byte sub_802E8C8
|
||||
.4byte sub_802EA50
|
||||
.4byte sub_802EAB0
|
||||
|
||||
.align 2
|
||||
gPkmnJump321StartPal2:: @ 82FE758
|
||||
.incbin "graphics/link_games/pkmnjump_321start2.gbapal"
|
||||
|
||||
.align 2
|
||||
gPkmnJump321StartGfx2:: @ 82FE778
|
||||
.incbin "graphics/link_games/pkmnjump_321start2.4bpp.lz"
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEBCC:: @ 82FEBCC
|
||||
obj_tiles gPkmnJump321StartGfx2, 0x0e00, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEBD4:: @ 82FEBD4
|
||||
obj_pal gPkmnJump321StartPal2, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEBDC:: @ 82FEBDC
|
||||
.byte 0x00, 0x03, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEBE4:: @ 82FEBE4
|
||||
.byte 0x00, 0x40, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEBEC:: @ 82FEBEC
|
||||
.2byte 0x0000, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEBF4:: @ 82FEBF4
|
||||
.2byte 0x0010, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEBFC:: @ 82FEBFC
|
||||
.2byte 0x0020, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEC04:: @ 82FEC04
|
||||
.4byte gUnknown_082FEBEC
|
||||
.4byte gUnknown_082FEBF4
|
||||
.4byte gUnknown_082FEBFC
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEC10:: @ 82FEC10
|
||||
.2byte 0x0030, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEC18:: @ 82FEC18
|
||||
.2byte 0x0050, 0x0001
|
||||
.2byte 0xffff, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEC20:: @ 82FEC20
|
||||
.4byte gUnknown_082FEC10
|
||||
.4byte gUnknown_082FEC18
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEC28:: @ 82FEC28
|
||||
.2byte 0x0100, 0x0100
|
||||
.2byte 0x0000, 0x0000
|
||||
.2byte 0x7fff, 0x0000
|
||||
.2byte 0x0000, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEC38:: @ 82FEC38
|
||||
.2byte 0x0100, 0x0100
|
||||
.2byte 0x0000, 0x0000
|
||||
.2byte 0x0010, 0xfff0
|
||||
.2byte 0x0800, 0x0000
|
||||
.2byte 0x7fff, 0x0000
|
||||
.2byte 0x0000, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEC50:: @ 82FEC50
|
||||
.2byte 0xffee, 0x0012
|
||||
.2byte 0x0800, 0x0000
|
||||
.2byte 0x7fff, 0x0000
|
||||
.2byte 0x0000, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEC60:: @ 82FEC60
|
||||
.2byte 0x0006, 0xfffa
|
||||
.2byte 0x0800, 0x0000
|
||||
.2byte 0xfffc, 0x0004
|
||||
.2byte 0x0800, 0x0000
|
||||
.2byte 0x0100, 0x0100
|
||||
.2byte 0x0000, 0x0000
|
||||
.2byte 0x7fff, 0x0000
|
||||
.2byte 0x0000, 0x0000
|
||||
|
||||
.align 2
|
||||
gUnknown_082FEC80:: @ 82FEC80
|
||||
.4byte gUnknown_082FEC28
|
||||
.4byte gUnknown_082FEC38
|
||||
.4byte gUnknown_082FEC50
|
||||
.4byte gUnknown_082FEC60
|
||||
|
||||
gUnknown_082FEC90:: @ 82FEC90
|
||||
spr_template 0x0000, 0x0000, gUnknown_082FEBDC, gUnknown_082FEC04, NULL, gUnknown_082FEC80, SpriteCallbackDummy
|
||||
|
||||
gUnknown_082FECA8:: @ 82FECA8
|
||||
spr_template 0x0000, 0x0000, gUnknown_082FEBE4, gUnknown_082FEC20, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
|
||||
4385
data/rom_8011DC0.s
4385
data/rom_8011DC0.s
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
@ -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!$"
|
||||
|
||||
1808
data/union_room.s
Executable file
1808
data/union_room.s
Executable file
File diff suppressed because it is too large
Load Diff
259
data/union_room_chat.s
Executable file
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
|
||||
@ -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
|
||||
|
||||
9
include/berry_powder.h
Executable file
9
include/berry_powder.h
Executable file
@ -0,0 +1,9 @@
|
||||
#ifndef GUARD_BERRY_POWDER_H
|
||||
#define GUARD_BERRY_POWDER_H
|
||||
|
||||
void SetBerryPowder(u32 *powder, u32 amount);
|
||||
void ApplyNewEncryptionKeyToBerryPowder(u32 encryptionKey);
|
||||
bool8 GiveBerryPowder(u32 amountToAdd);
|
||||
u32 GetBerryPowder(void);
|
||||
|
||||
#endif // GUARD_BERRY_POWDER_H
|
||||
@ -154,8 +154,6 @@
|
||||
// statchange defines
|
||||
#define STAT_CHANGE_BS_PTR 0x1
|
||||
#define STAT_CHANGE_NOT_PROTECT_AFFECTED 0x20
|
||||
#define STAT_CHANGE_WORKED 0
|
||||
#define STAT_CHANGE_DIDNT_WORK 1
|
||||
|
||||
// atk48
|
||||
#define ATK48_STAT_NEGATIVE 0x1
|
||||
@ -163,6 +161,28 @@
|
||||
#define ATK48_ONLY_MULTIPLE 0x4
|
||||
#define ATK48_DONT_CHECK_LOWER 0x8
|
||||
|
||||
// atk49, moveend cases
|
||||
#define ATK49_SPIKY_SHIELD 0
|
||||
#define ATK49_RAGE 1
|
||||
#define ATK49_DEFROST 2
|
||||
#define ATK49_SYNCHRONIZE_TARGET 3
|
||||
#define ATK49_MOVE_END_ABILITIES 4
|
||||
#define ATK49_STATUS_IMMUNITY_ABILITIES 5
|
||||
#define ATK49_SYNCHRONIZE_ATTACKER 6
|
||||
#define ATK49_CHOICE_MOVE 7
|
||||
#define ATK49_CHANGED_ITEMS 8
|
||||
#define ATK49_ATTACKER_INVISIBLE 9
|
||||
#define ATK49_ATTACKER_VISIBLE 10
|
||||
#define ATK49_TARGET_VISIBLE 11
|
||||
#define ATK49_ITEM_EFFECTS_ALL 12
|
||||
#define ATK49_KINGSROCK_SHELLBELL 13
|
||||
#define ATK49_SUBSTITUTE 14
|
||||
#define ATK49_UPDATE_LAST_MOVES 15
|
||||
#define ATK49_MIRROR_MOVE 16
|
||||
#define ATK49_NEXT_TARGET 17
|
||||
#define ATK49_CLEAR_BITS 18
|
||||
#define ATK49_COUNT 19
|
||||
|
||||
#define BIT_HP 0x1
|
||||
#define BIT_ATK 0x2
|
||||
#define BIT_DEF 0x4
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_FIELD_EFFECT_CONSTANTS_H
|
||||
#define GUARD_FIELD_EFFECT_CONSTANTS_H
|
||||
|
||||
#define FLDEFF_EXCLAMATION_MARK_ICON 0
|
||||
#define FLDEFF_EXCLAMATION_MARK_ICON 0
|
||||
#define FLDEFF_USE_CUT_ON_GRASS 1
|
||||
#define FLDEFF_USE_CUT_ON_TREE 2
|
||||
#define FLDEFF_SHADOW 3
|
||||
@ -61,11 +61,11 @@
|
||||
#define FLDEFF_SECRET_POWER_SHRUB 57
|
||||
#define FLDEFF_CUT_GRASS 58
|
||||
#define FLDEFF_FIELD_MOVE_SHOW_MON_INIT 59
|
||||
#define FLDEFF_USE_TOMB_PUZZLE_EFFECT 60
|
||||
#define FLDEFF_USE_TOMB_PUZZLE_EFFECT 60
|
||||
#define FLDEFF_PCTURN_ON 61
|
||||
#define FLDEFF_HALL_OF_FAME_RECORD 62
|
||||
#define FLDEFF_USE_TELEPORT 63
|
||||
#define FLDEFF_64 64
|
||||
#define FLDEFF_RAYQUAZA 64
|
||||
#define FLDEFF_65 65
|
||||
#define FLDEFF_MOVE_DEOXYS_ROCK 66
|
||||
|
||||
|
||||
@ -336,24 +336,23 @@
|
||||
#define FLAG_RECEIVED_AURORA_TICKET 0x13A // RECEIVED Aurora Ticket in Mystery Gift
|
||||
#define FLAG_RECEIVED_MYSTIC_TICKET 0x13B // RECEIVED Mystic Ticket in Mystery Gift
|
||||
#define FLAG_RECEIVED_OLD_SEA_MAP 0x13C // RECEIVED Old Sea Map in Mystery Gift
|
||||
|
||||
#define FLAG_UNUSED_0x13D 0x13D // Unused Flag
|
||||
#define FLAG_UNUSED_0x13E 0x13E // Unused Flag
|
||||
#define FLAG_UNUSED_0x13F 0x13F // Unused Flag
|
||||
#define FLAG_UNUSED_0x140 0x140 // Unused Flag
|
||||
#define FLAG_UNUSED_0x141 0x141 // Unused Flag
|
||||
#define FLAG_UNUSED_0x142 0x142 // Unused Flag
|
||||
#define FLAG_UNUSED_0x143 0x143 // Unused Flag
|
||||
#define FLAG_UNUSED_0x144 0x144 // Unused Flag
|
||||
#define FLAG_UNUSED_0x145 0x145 // Unused Flag
|
||||
#define FLAG_UNUSED_0x146 0x146 // Unused Flag
|
||||
#define FLAG_UNUSED_0x147 0x147 // Unused Flag
|
||||
#define FLAG_UNUSED_0x148 0x148 // Unused Flag
|
||||
#define FLAG_UNUSED_0x149 0x149 // Unused Flag
|
||||
#define FLAG_UNUSED_0x14A 0x14A // Unused Flag
|
||||
#define FLAG_UNUSED_0x14B 0x14B // Unused Flag
|
||||
#define FLAG_UNUSED_0x14C 0x14C // Unused Flag
|
||||
#define FLAG_UNUSED_0x14D 0x14D // Unused Flag
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x13D 0x13D
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x13E 0x13E
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x13F 0x13F
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x140 0x140
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x141 0x141
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x142 0x142
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x143 0x143
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x144 0x144
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x145 0x145
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x146 0x146
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x147 0x147
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x148 0x148
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x149 0x149
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x14A 0x14A
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x14B 0x14B
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x14C 0x14C
|
||||
#define FLAG_UNUSED_MYSTERY_GIFT_0x14D 0x14D
|
||||
|
||||
#define FLAG_MIRAGE_TOWER_VISIBLE 0x14E
|
||||
#define FLAG_CHOSE_CLAW_FOSSIL 0x14F // Player chose Claw Fossil
|
||||
|
||||
@ -467,7 +467,7 @@
|
||||
#define MUS_RG_UNION 539 // Union Room
|
||||
#define MUS_RG_NETWORK 540 // Network Center
|
||||
#define MUS_RG_OKURIMONO 541 // Mystery Gift
|
||||
#define MUS_RG_KINOMIKUI 542
|
||||
#define MUS_RG_KINOMIKUI 542 // Dodrio Berry Picking
|
||||
#define MUS_RG_NANADUNGEON 543 // Sevii Caves/Altering Cave (Mt. Moon)
|
||||
#define MUS_RG_OSHIE_TV 544 // Follow Me!
|
||||
#define MUS_RG_NANASHIMA 545 // Sevii Islands Routes (Lake of Rage)
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
#define VAR_POISON_STEP_COUNTER 0x402B
|
||||
#define VAR_RESET_RTC_ENABLE 0x402C
|
||||
#define VAR_ENIGMA_BERRY_AVAILABLE 0x402D
|
||||
#define VAR_UNUSED_0x402E 0x402E // Unused Var
|
||||
#define VAR_0x402E 0x402E
|
||||
|
||||
#define VAR_FRONTIER_MANIAC_FACILITY 0x402F
|
||||
#define VAR_FRONTIER_GAMBLER_FACILITY 0x4030
|
||||
@ -84,7 +84,7 @@
|
||||
#define VAR_FANCLUB_UNKNOWN_1 0x4041
|
||||
#define VAR_FANCLUB_UNKNOWN_2 0x4042
|
||||
#define VAR_DEPT_STORE_FLOOR 0x4043
|
||||
#define VAR_0x4044 0x4044
|
||||
#define VAR_TRICK_HOUSE_LEVEL 0x4044
|
||||
#define VAR_POKELOT_PRIZE_ITEM 0x4045
|
||||
#define VAR_NATIONAL_DEX 0x4046
|
||||
#define VAR_SEEDOT_SIZE_RECORD 0x4047
|
||||
|
||||
@ -544,9 +544,9 @@ extern const u8 EventScript_RegionMap[];
|
||||
extern const u8 EventScript_RunningShoesManual[];
|
||||
extern const u8 EventScript_PictureBookShelf[];
|
||||
extern const u8 EventScript_BookShelf[];
|
||||
extern const u8 EventScript_PokemonCenterBookshelf[];
|
||||
extern const u8 EventScript_PokemonCenterBookShelf[];
|
||||
extern const u8 EventScript_Vase[];
|
||||
extern const u8 EventScript_TrashCan[];
|
||||
extern const u8 EventScript_EmptyTrashCan[];
|
||||
extern const u8 EventScript_ShopShelf[];
|
||||
extern const u8 EventScript_Blueprint[];
|
||||
extern const u8 EventScript_WirelessBoxResults[];
|
||||
|
||||
@ -814,6 +814,76 @@ struct SaveTrainerHill
|
||||
/*0x3D6E*/ u16 tag:2; // x40, x80 = xC0
|
||||
};
|
||||
|
||||
struct MysteryEventStruct
|
||||
{
|
||||
u8 unk_0_0:2;
|
||||
u8 unk_0_2:3;
|
||||
u8 unk_0_5:3;
|
||||
u8 unk_1;
|
||||
};
|
||||
|
||||
struct MEventBuffer_3120_Sub
|
||||
{
|
||||
u16 unk_00;
|
||||
u8 unk_02;
|
||||
u8 unk_03;
|
||||
u8 unk_04[40];
|
||||
u8 unk_2C[10][40];
|
||||
};
|
||||
|
||||
struct MEventBuffer_3120
|
||||
{
|
||||
u32 crc;
|
||||
struct MEventBuffer_3120_Sub data;
|
||||
};
|
||||
|
||||
struct MEventBuffer_32E0_Sub
|
||||
{
|
||||
u16 unk_00;
|
||||
u16 unk_02;
|
||||
u32 unk_04;
|
||||
u8 unk_08_0:2;
|
||||
u8 unk_08_2:4;
|
||||
u8 unk_08_6:2;
|
||||
u8 unk_09;
|
||||
u8 unk_0A[40];
|
||||
u8 unk_32[40];
|
||||
u8 unk_5A[4][40];
|
||||
u8 unk_FA[40];
|
||||
u8 unk_122[40];
|
||||
};
|
||||
|
||||
struct MEventBuffer_32E0
|
||||
{
|
||||
u32 crc;
|
||||
struct MEventBuffer_32E0_Sub data;
|
||||
};
|
||||
|
||||
struct MEventBuffer_3430_Sub
|
||||
{
|
||||
u16 unk_00;
|
||||
u16 unk_02;
|
||||
u16 unk_04;
|
||||
u16 unk_06;
|
||||
u16 unk_08[2][7];
|
||||
};
|
||||
|
||||
struct MEventBuffer_3430
|
||||
{
|
||||
u32 crc;
|
||||
struct MEventBuffer_3430_Sub data;
|
||||
};
|
||||
|
||||
struct MEventBuffers
|
||||
{
|
||||
/*0x000 0x322C*/ struct MEventBuffer_3120 buffer_000;
|
||||
/*0x1c0 0x33EC*/ struct MEventBuffer_32E0 buffer_1c0;
|
||||
/*0x310 0x353C*/ struct MEventBuffer_3430 buffer_310;
|
||||
/*0x338 0x3564*/ u16 unk_338[4];
|
||||
/*0x340 0x356C*/ struct MysteryEventStruct unk_340;
|
||||
/*0x344 0x3570*/ u32 unk_344[2][5];
|
||||
}; // 0x36C 0x3598
|
||||
|
||||
struct SaveBlock1
|
||||
{
|
||||
/*0x00*/ struct Coords16 pos;
|
||||
@ -890,14 +960,16 @@ struct SaveBlock1
|
||||
/*0x31A8*/ u8 giftRibbons[52];
|
||||
/*0x31DC*/ struct Roamer roamer;
|
||||
/*0x31F8*/ struct EnigmaBerry enigmaBerry;
|
||||
/*0x322C*/ u8 field_322C[1260];
|
||||
/*0x322C*/ struct MEventBuffers unk_322C;
|
||||
/*0x3598*/ u8 field_3598[0x180];
|
||||
/*0x3718*/ u32 trainerHillTimes[4];
|
||||
/*0x3728*/ struct RamScript ramScript;
|
||||
/*0x3B14*/ struct RecordMixingGift recordMixingGift;
|
||||
/*0x3B24*/ u8 seen2[DEX_FLAGS_NO];
|
||||
/*0x3B58*/ LilycoveLady lilycoveLady;
|
||||
/*0x3B98*/ struct TrainerNameRecord trainerNameRecords[20];
|
||||
/*0x3C88*/ u8 filler_3C88[0xDC];
|
||||
/*0x3C88*/ u8 unk3C88[10][21];
|
||||
/*0x3D5A*/ u8 filler3D5A[0xA];
|
||||
/*0x3D64*/ struct SaveTrainerHill trainerHill;
|
||||
/*0x3D70*/ struct WaldaPhrase waldaPhrase;
|
||||
// sizeof: 0x3D88
|
||||
|
||||
@ -5042,6 +5042,11 @@ extern const u32 gBattleAnimBackgroundImageMuddyWater_Pal[];
|
||||
|
||||
extern const u32 gBattleAnimFogTilemap[];
|
||||
|
||||
extern const u32 gUsePokeblockGraph_Gfx[];
|
||||
extern const u32 gUsePokeblockGraph_Tilemap[];
|
||||
extern const u16 gUsePokeblockGraph_Pal[];
|
||||
extern const u16 gUsePokeblockNatureWin_Pal[];
|
||||
|
||||
// Berry blender
|
||||
extern const u32 gBerryBlenderArrowTiles[];
|
||||
extern const u32 gBerryBlenderStartTiles[];
|
||||
@ -5167,4 +5172,16 @@ extern const u16 gEasyChatCursor_Pal[];
|
||||
extern const u32 gEasyChatRightWindow_Gfx[];
|
||||
extern const u16 gEasyChatRightWindow_Pal[];
|
||||
|
||||
// Use Pokeblock
|
||||
extern const u32 gUsePokeblockCondition_Gfx[];
|
||||
|
||||
// Union Room Chat
|
||||
extern const u16 gUnknown_08DD4BB0[];
|
||||
extern const u16 gUnknown_08DD4BD0[];
|
||||
extern const u32 gUnknown_08DD4BF0[];
|
||||
extern const u32 gUnknown_08DD4C4C[];
|
||||
extern const u16 gLinkMiscMenu_Pal[];
|
||||
extern const u32 gLinkMiscMenu_Gfx[];
|
||||
extern const u32 gLinkMiscMenu_Tilemap[];
|
||||
|
||||
#endif //GUARD_GRAPHICS_H
|
||||
|
||||
@ -236,7 +236,6 @@ u32 LinkMain1(u8 *shouldAdvanceLinkState, u16 *sendCmd, u16 (*recvCmds)[CMD_LENG
|
||||
void LinkVSync(void);
|
||||
void Timer3Intr(void);
|
||||
void SerialCB(void);
|
||||
u8 GetLinkPlayerCount(void);
|
||||
bool32 InUnionRoom(void);
|
||||
void sub_800E0E8(void);
|
||||
bool8 IsLinkTaskFinished(void);
|
||||
@ -306,7 +305,6 @@ void sub_8009FAC(void);
|
||||
bool8 sub_800A4D8(u8 a0);
|
||||
u8 sub_800A9D8(void);
|
||||
u8 sub_800A0C8(s32, s32);
|
||||
u16 *GetSaveBlock1Field3564(void);
|
||||
u8 sub_800A9A8(void);
|
||||
void sub_800AD10(void);
|
||||
void sub_800AB18(void);
|
||||
|
||||
@ -284,5 +284,9 @@ bool8 sub_800DE7C(struct UnkLinkRfuStruct_02022B14 *buff1, u8 *buff2, u8 idx);
|
||||
s32 sub_800E87C(u8 idx);
|
||||
void sub_8011BA4(void);
|
||||
void sub_8010198(void);
|
||||
bool32 sub_8011A9C(void);
|
||||
void sub_80104B0(void);
|
||||
void sub_8011A50(void);
|
||||
void sub_80110B8(u32 a0);
|
||||
|
||||
#endif //GUARD_LINK_RFU_H
|
||||
|
||||
@ -42,6 +42,8 @@ struct Main
|
||||
|
||||
extern const u8 gGameVersion;
|
||||
extern const u8 gGameLanguage;
|
||||
extern const u8 RomHeaderGameCode[4];
|
||||
extern const u8 RomHeaderSoftwareVersion;
|
||||
|
||||
extern u16 gKeyRepeatStartDelay;
|
||||
extern bool8 gLinkTransferringData;
|
||||
|
||||
@ -99,5 +99,6 @@ void sub_8199CBC(u8 bgId, u16 *dest, u8 left, u8 top, u8 width, u8 height);
|
||||
u8 sub_81980F0(u8 bg, u8 xPos, u8 yPos, u8 palette, u16 baseTile);
|
||||
void sub_8198314(void);
|
||||
void sub_8198180(const u8 *string, u8 a2, bool8 copyToVram);
|
||||
void PrintTextArray(u8 windowId, u8 fontId, u8 left, u8 top, u8 lineHeight, u8 itemCount, const struct MenuAction *strs);
|
||||
|
||||
#endif // GUARD_MENU_H
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#ifndef GUARD_MENU_SPECIALIZED_H
|
||||
#define GUARD_MENU_SPECIALIZED_H
|
||||
|
||||
#include "sprite.h"
|
||||
#include "player_pc.h"
|
||||
#include "list_menu.h"
|
||||
#include "pokemon.h"
|
||||
@ -13,17 +14,16 @@ struct UnknownSubStruct_81D1ED4
|
||||
|
||||
struct UnknownStruct_81D1ED4
|
||||
{
|
||||
u8 unk0[4][5];
|
||||
struct UnknownSubStruct_81D1ED4 unk14[4][5];
|
||||
struct UnknownSubStruct_81D1ED4 unk64[10][5];
|
||||
struct UnknownSubStruct_81D1ED4 unk12C[5];
|
||||
u16 unk140[66][2];
|
||||
u16 unk248[66][2];
|
||||
u16 unk350;
|
||||
u16 unk352;
|
||||
u8 unk354;
|
||||
u8 unk355;
|
||||
u8 unk356[0x22];
|
||||
/*0x000*/ u8 unk0[4][5];
|
||||
/*0x014*/ struct UnknownSubStruct_81D1ED4 unk14[4][5];
|
||||
/*0x064*/ struct UnknownSubStruct_81D1ED4 unk64[10][5];
|
||||
/*0x12C*/ struct UnknownSubStruct_81D1ED4 unk12C[5];
|
||||
/*0x140*/ u16 unk140[66][2];
|
||||
/*0x248*/ u16 unk248[66][2];
|
||||
/*0x350*/ u16 unk350;
|
||||
/*0x352*/ u16 unk352;
|
||||
/*0x354*/ u8 unk354;
|
||||
/*0x355*/ u8 unk355;
|
||||
};
|
||||
|
||||
bool8 sub_81D1C44(u8 count);
|
||||
@ -38,9 +38,15 @@ void sub_81D1ED4(struct UnknownStruct_81D1ED4 *a0);
|
||||
void sub_81D2108(struct UnknownStruct_81D1ED4 *arg0);
|
||||
void sub_81D20AC(struct UnknownStruct_81D1ED4 *arg0);
|
||||
void sub_81D2230(struct UnknownStruct_81D1ED4 *arg0);
|
||||
void sub_81D3520(struct Sprite **);
|
||||
bool8 sub_81D20BC(struct UnknownStruct_81D1ED4 *arg0);
|
||||
void sub_81D3464(void *arg0);
|
||||
void sub_81D3480(void *arg0, u8 arg1);
|
||||
void sub_81D354C(struct Sprite **);
|
||||
void sub_81D3464(struct Sprite **arg0);
|
||||
void sub_81D3480(struct Sprite **arg0, u8 arg1, u8 arg2);
|
||||
u8 sub_81D3178(struct UnknownStruct_81D1ED4*, u16*);
|
||||
u8 sub_81D31A4(struct UnknownStruct_81D1ED4*, u16*);
|
||||
bool32 sub_81D2074(struct UnknownStruct_81D1ED4 *a0);
|
||||
u8 sub_81D3150(u16 *arg0);
|
||||
void sub_81D2754(u8 *arg0, struct UnknownSubStruct_81D1ED4 *arg1);
|
||||
void sub_81D1F84(struct UnknownStruct_81D1ED4 *arg0, struct UnknownSubStruct_81D1ED4 *arg1, struct UnknownSubStruct_81D1ED4 *arg2);
|
||||
void MoveRelearnerPrintText(u8 *str);
|
||||
|
||||
63
include/mevent.h
Executable file
63
include/mevent.h
Executable file
@ -0,0 +1,63 @@
|
||||
#ifndef GUARD_MEVENT_H
|
||||
#define GUARD_MEVENT_H
|
||||
|
||||
struct MEvent_Str_1
|
||||
{
|
||||
u16 unk_000;
|
||||
size_t unk_004;
|
||||
const void * unk_008;
|
||||
};
|
||||
|
||||
struct MEvent_Str_2
|
||||
{
|
||||
u8 fill_00[0x40];
|
||||
};
|
||||
|
||||
struct MEventStruct_Unk1442CC
|
||||
{
|
||||
u32 unk_00;
|
||||
u16 unk_04;
|
||||
u32 unk_08;
|
||||
u16 unk_0C;
|
||||
u32 unk_10;
|
||||
u16 unk_14;
|
||||
u16 unk_16[4];
|
||||
struct MEventBuffer_3430_Sub unk_20;
|
||||
u8 unk_44;
|
||||
u8 unk_45[7];
|
||||
u8 unk_4C[4];
|
||||
u16 unk_50[6];
|
||||
u8 unk_5C[4];
|
||||
u8 unk_60;
|
||||
};
|
||||
|
||||
void sub_801AFD8(void);
|
||||
struct MEventBuffer_3120_Sub *sub_801B00C(void);
|
||||
struct MEventBuffer_32E0_Sub *sav1_get_mevent_buffer_1(void);
|
||||
struct MEventBuffer_3430_Sub *sav1_get_mevent_buffer_2(void);
|
||||
struct MysteryEventStruct *sub_801B044(void);
|
||||
u16 *sub_801B058(void);
|
||||
void sub_801B06C(void);
|
||||
bool32 sub_801B078(const struct MEventBuffer_3120_Sub *src);
|
||||
bool32 sub_801B0CC(void);
|
||||
bool32 sub_801B128(void);
|
||||
bool32 sub_801B1A4(const u8 *src);
|
||||
void sub_801B1E8(void);
|
||||
bool32 sub_801B21C(const struct MEventBuffer_32E0_Sub *data);
|
||||
bool32 sub_801B27C(void);
|
||||
bool32 sub_801B308(void);
|
||||
u16 sub_801B39C(void);
|
||||
void sub_801B3C0(struct MEventBuffer_32E0_Sub *buffer);
|
||||
bool32 sub_801B3F8(void);
|
||||
bool32 sub_801B508(const u16 *data);
|
||||
void sub_801B580(struct MEventStruct_Unk1442CC *data, bool32 a1);
|
||||
bool32 sub_801B6A0(const struct MEventStruct_Unk1442CC *data, bool32 a1);
|
||||
u32 sub_801B6EC(const u16 *a0, const struct MEventStruct_Unk1442CC *a1, void *unused);
|
||||
u32 sub_801B708(const u16 *a0, const struct MEventStruct_Unk1442CC *a1, void *unused);
|
||||
bool32 sub_801B748(const struct MEventStruct_Unk1442CC *a0, const u16 *a1);
|
||||
u16 sub_801B784(const struct MEventStruct_Unk1442CC *a0, u32 command);
|
||||
u16 mevent_081445C0(u32 command);
|
||||
void sub_801B940(void);
|
||||
bool32 sub_801B94C(u16 a0);
|
||||
|
||||
#endif //GUARD_MEVENT_H
|
||||
6
include/mevent_news.h
Executable file
6
include/mevent_news.h
Executable file
@ -0,0 +1,6 @@
|
||||
#ifndef GUARD_MEVENT_NEWS_H
|
||||
#define GUARD_MEVENT_NEWS_H
|
||||
|
||||
void sub_801DBC0(void);
|
||||
|
||||
#endif //GUARD_MEVENT_NEWS_H
|
||||
@ -13,7 +13,6 @@ extern u8 gUnknown_02022C3E;
|
||||
// Exported ROM declarations
|
||||
|
||||
void sub_8018438(void);
|
||||
u16 mevent_081445C0(u8);
|
||||
void sub_801B990(u32, u32);
|
||||
u8 sub_8013F78(void);
|
||||
bool32 sub_802C908(u16);
|
||||
|
||||
@ -9,6 +9,12 @@ extern const u8 gText_OpenLevel[];
|
||||
extern const u8 gText_Mom[];
|
||||
extern const u8 gText_Dad[];
|
||||
|
||||
extern const u8 gText_GetsAPokeBlockQuestion[];
|
||||
extern const u8 gText_WontEatAnymore[];
|
||||
extern const u8 gText_WasEnhanced[];
|
||||
extern const u8 gText_NothingChanged[];
|
||||
extern const u8 gText_NatureSlash[];
|
||||
|
||||
extern const u8 gText_Cool[];
|
||||
extern const u8 gText_Beauty[];
|
||||
extern const u8 gText_Cute[];
|
||||
@ -2583,4 +2589,21 @@ extern const u8 gUnknown_085EE14B[];
|
||||
extern const u8 gUnknown_085EE14F[];
|
||||
extern const u8 gUnknown_085EE154[];
|
||||
|
||||
// Berry Powder Menu
|
||||
extern const u8 gText_Powder[];
|
||||
|
||||
// Union Room Chat
|
||||
extern const u8 gText_F700JoinedChat[];
|
||||
extern const u8 gText_F700LeftChat[];
|
||||
extern const u8 gText_Hello[];
|
||||
extern const u8 gText_Pokemon2[];
|
||||
extern const u8 gText_Trade[];
|
||||
extern const u8 gText_Battle[];
|
||||
extern const u8 gText_Lets[];
|
||||
extern const u8 gText_Ok[];
|
||||
extern const u8 gText_Sorry[];
|
||||
extern const u8 gText_YayUnkF9F9[];
|
||||
extern const u8 gText_ThankYou[];
|
||||
extern const u8 gText_ByeBye[];
|
||||
|
||||
#endif // GUARD_STRINGS_H
|
||||
|
||||
@ -99,6 +99,8 @@
|
||||
//
|
||||
#define EXT_CTRL_CODE_CLEAR 0x11
|
||||
//
|
||||
#define EXT_CTRL_CODE_CLEAR_TO 0x13
|
||||
#define EXT_CTRL_CODE_MIN_LETTER_SPACING 0x14
|
||||
#define EXT_CTRL_CODE_JPN 0x15
|
||||
#define EXT_CTRL_CODE_ENG 0x16
|
||||
|
||||
|
||||
9
include/union_room.h
Normal file
9
include/union_room.h
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef GUARD_UNION_ROOM_H
|
||||
#define GUARD_UNION_ROOM_H
|
||||
|
||||
extern bool8 gUnknown_02022C60;
|
||||
|
||||
void sub_8018798(u8);
|
||||
void sub_80186EC(bool8, bool32);
|
||||
|
||||
#endif //GUARD_UNION_ROOM_H
|
||||
7
include/union_room_chat.h
Executable file
7
include/union_room_chat.h
Executable file
@ -0,0 +1,7 @@
|
||||
#ifndef GUARD_UNION_ROOM_CHAT_H
|
||||
#define GUARD_UNION_ROOM_CHAT_H
|
||||
|
||||
void sub_801DD98(void);
|
||||
void copy_strings_to_sav1(void);
|
||||
|
||||
#endif // GUARD_UNION_ROOM_CHAT_H
|
||||
135
ld_script.txt
135
ld_script.txt
@ -54,8 +54,19 @@ SECTIONS {
|
||||
src/string_util.o(.text);
|
||||
src/link.o(.text);
|
||||
src/link_rfu.o(.text);
|
||||
src/rom_8011DC0.o(.text);
|
||||
asm/rom_8011DC0.o(.text);
|
||||
src/union_room.o(.text);
|
||||
asm/union_room.o(.text);
|
||||
src/mevent2.o(.text);
|
||||
src/mevent_801BAAC.o(.text);
|
||||
asm/mevent_server.o(.text);
|
||||
asm/mevent_server_ish.o(.text);
|
||||
asm/mevent_server_helpers.o(.text);
|
||||
src/mevent_news.o(.text);
|
||||
src/union_room_chat.o(.text);
|
||||
asm/berry_crush.o(.text);
|
||||
src/berry_powder.o(.text);
|
||||
asm/dodrio_berry_picking.o(.text);
|
||||
asm/pokemon_jump.o(.text);
|
||||
src/rtc.o(.text);
|
||||
src/main_menu.o(.text);
|
||||
src/battle_controllers.o(.text);
|
||||
@ -230,7 +241,6 @@ SECTIONS {
|
||||
src/roamer.o(.text);
|
||||
src/battle_tower.o(.text);
|
||||
src/use_pokeblock.o(.text);
|
||||
asm/use_pokeblock.o(.text);
|
||||
src/battle_controller_wally.o(.text);
|
||||
src/player_pc.o(.text);
|
||||
src/intro.o(.text);
|
||||
@ -398,8 +408,17 @@ SECTIONS {
|
||||
src/string_util.o(.rodata);
|
||||
src/link.o(.rodata);
|
||||
src/link_rfu.o(.rodata);
|
||||
src/rom_8011DC0.o(.rodata);
|
||||
data/rom_8011DC0.o(.rodata);
|
||||
src/union_room.o(.rodata);
|
||||
data/union_room.o(.rodata);
|
||||
src/mevent2.o(.rodata);
|
||||
src/mevent_801BAAC.o(.rodata);
|
||||
data/mevent_server.o(.rodata);
|
||||
src/union_room_chat.o(.rodata);
|
||||
data/union_room_chat.o(.rodata);
|
||||
data/berry_crush.o(.rodata);
|
||||
data/berry_powder.o(.rodata);
|
||||
data/dodrio_berry_picking.o(.rodata);
|
||||
data/pokemon_jump.o(.rodata);
|
||||
src/rtc.o(.rodata);
|
||||
src/main_menu.o(.rodata);
|
||||
src/rom_8034C54.o(.rodata);
|
||||
@ -646,7 +665,7 @@ SECTIONS {
|
||||
sound/songs/midi/se_jyuni.o(.rodata);
|
||||
sound/songs/midi/se_a.o(.rodata);
|
||||
sound/songs/midi/se_i.o(.rodata);
|
||||
sound/songs/se_u.o(.rodata);
|
||||
sound/songs/midi/se_u.o(.rodata);
|
||||
sound/songs/midi/se_e.o(.rodata);
|
||||
sound/songs/midi/se_o.o(.rodata);
|
||||
sound/songs/midi/se_n.o(.rodata);
|
||||
@ -655,7 +674,7 @@ SECTIONS {
|
||||
sound/songs/midi/se_exp.o(.rodata);
|
||||
sound/songs/midi/se_jite_pyoko.o(.rodata);
|
||||
sound/songs/midi/se_mu_pachi.o(.rodata);
|
||||
sound/songs/se_tk_kasya.o(.rodata);
|
||||
sound/songs/midi/se_tk_kasya.o(.rodata);
|
||||
sound/songs/midi/se_fu_zaku.o(.rodata);
|
||||
sound/songs/midi/se_fu_zaku2.o(.rodata);
|
||||
sound/songs/midi/se_fu_zuzuzu.o(.rodata);
|
||||
@ -664,14 +683,14 @@ SECTIONS {
|
||||
sound/songs/midi/se_ru_bari.o(.rodata);
|
||||
sound/songs/midi/se_ru_hyuu.o(.rodata);
|
||||
sound/songs/midi/se_ki_gasyan.o(.rodata);
|
||||
sound/songs/se_tk_warpin.o(.rodata);
|
||||
sound/songs/se_tk_warpout.o(.rodata);
|
||||
sound/songs/se_tu_saa.o(.rodata);
|
||||
sound/songs/midi/se_tk_warpin.o(.rodata);
|
||||
sound/songs/midi/se_tk_warpout.o(.rodata);
|
||||
sound/songs/midi/se_tu_saa.o(.rodata);
|
||||
sound/songs/midi/se_hi_turun.o(.rodata);
|
||||
sound/songs/se_track_move.o(.rodata);
|
||||
sound/songs/se_track_stop.o(.rodata);
|
||||
sound/songs/se_track_haiki.o(.rodata);
|
||||
sound/songs/se_track_door.o(.rodata);
|
||||
sound/songs/midi/se_track_move.o(.rodata);
|
||||
sound/songs/midi/se_track_stop.o(.rodata);
|
||||
sound/songs/midi/se_track_haiki.o(.rodata);
|
||||
sound/songs/midi/se_track_door.o(.rodata);
|
||||
sound/songs/midi/se_moter.o(.rodata);
|
||||
sound/songs/midi/se_card.o(.rodata);
|
||||
sound/songs/midi/se_save.o(.rodata);
|
||||
@ -681,14 +700,14 @@ SECTIONS {
|
||||
sound/songs/midi/se_kon4.o(.rodata);
|
||||
sound/songs/midi/se_suikomu.o(.rodata);
|
||||
sound/songs/midi/se_nageru.o(.rodata);
|
||||
sound/songs/se_toy_c.o(.rodata);
|
||||
sound/songs/se_toy_d.o(.rodata);
|
||||
sound/songs/se_toy_e.o(.rodata);
|
||||
sound/songs/se_toy_f.o(.rodata);
|
||||
sound/songs/se_toy_g.o(.rodata);
|
||||
sound/songs/se_toy_a.o(.rodata);
|
||||
sound/songs/se_toy_b.o(.rodata);
|
||||
sound/songs/se_toy_c1.o(.rodata);
|
||||
sound/songs/midi/se_toy_c.o(.rodata);
|
||||
sound/songs/midi/se_toy_d.o(.rodata);
|
||||
sound/songs/midi/se_toy_e.o(.rodata);
|
||||
sound/songs/midi/se_toy_f.o(.rodata);
|
||||
sound/songs/midi/se_toy_g.o(.rodata);
|
||||
sound/songs/midi/se_toy_a.o(.rodata);
|
||||
sound/songs/midi/se_toy_b.o(.rodata);
|
||||
sound/songs/midi/se_toy_c1.o(.rodata);
|
||||
sound/songs/midi/se_mizu.o(.rodata);
|
||||
sound/songs/midi/se_hashi.o(.rodata);
|
||||
sound/songs/midi/se_daugi.o(.rodata);
|
||||
@ -696,8 +715,8 @@ SECTIONS {
|
||||
sound/songs/midi/se_fuusen1.o(.rodata);
|
||||
sound/songs/midi/se_fuusen2.o(.rodata);
|
||||
sound/songs/midi/se_fuusen3.o(.rodata);
|
||||
sound/songs/se_toy_kabe.o(.rodata);
|
||||
sound/songs/se_toy_dango.o(.rodata);
|
||||
sound/songs/midi/se_toy_kabe.o(.rodata);
|
||||
sound/songs/midi/se_toy_dango.o(.rodata);
|
||||
sound/songs/midi/se_doku.o(.rodata);
|
||||
sound/songs/midi/se_esuka.o(.rodata);
|
||||
sound/songs/midi/se_t_ame.o(.rodata);
|
||||
@ -711,8 +730,8 @@ SECTIONS {
|
||||
sound/songs/midi/se_elebeta.o(.rodata);
|
||||
sound/songs/midi/se_hinsi.o(.rodata);
|
||||
sound/songs/midi/se_expmax.o(.rodata);
|
||||
sound/songs/se_tamakoro.o(.rodata);
|
||||
sound/songs/se_tamakoro_e.o(.rodata);
|
||||
sound/songs/midi/se_tamakoro.o(.rodata);
|
||||
sound/songs/midi/se_tamakoro_e.o(.rodata);
|
||||
sound/songs/midi/se_basabasa.o(.rodata);
|
||||
sound/songs/midi/se_regi.o(.rodata);
|
||||
sound/songs/midi/se_c_gaji.o(.rodata);
|
||||
@ -726,16 +745,16 @@ SECTIONS {
|
||||
sound/songs/midi/se_bt_start.o(.rodata);
|
||||
sound/songs/midi/se_dendou.o(.rodata);
|
||||
sound/songs/midi/se_jihanki.o(.rodata);
|
||||
sound/songs/se_tama.o(.rodata);
|
||||
sound/songs/midi/se_tama.o(.rodata);
|
||||
sound/songs/se_z_scroll.o(.rodata);
|
||||
sound/songs/se_z_page.o(.rodata);
|
||||
sound/songs/midi/se_pn_on.o(.rodata);
|
||||
sound/songs/midi/se_pn_off.o(.rodata);
|
||||
sound/songs/midi/se_z_search.o(.rodata);
|
||||
sound/songs/se_tamago.o(.rodata);
|
||||
sound/songs/se_tb_start.o(.rodata);
|
||||
sound/songs/se_tb_kon.o(.rodata);
|
||||
sound/songs/se_tb_kara.o(.rodata);
|
||||
sound/songs/midi/se_tamago.o(.rodata);
|
||||
sound/songs/midi/se_tb_start.o(.rodata);
|
||||
sound/songs/midi/se_tb_kon.o(.rodata);
|
||||
sound/songs/midi/se_tb_kara.o(.rodata);
|
||||
sound/songs/midi/se_bidoro.o(.rodata);
|
||||
sound/songs/se_w085.o(.rodata);
|
||||
sound/songs/se_w085b.o(.rodata);
|
||||
@ -747,53 +766,53 @@ SECTIONS {
|
||||
sound/songs/se_w145b.o(.rodata);
|
||||
sound/songs/se_w145c.o(.rodata);
|
||||
sound/songs/se_w240.o(.rodata);
|
||||
sound/songs/se_w015.o(.rodata);
|
||||
sound/songs/midi/se_w015.o(.rodata);
|
||||
sound/songs/se_w081.o(.rodata);
|
||||
sound/songs/se_w081b.o(.rodata);
|
||||
sound/songs/se_w088.o(.rodata);
|
||||
sound/songs/se_w016.o(.rodata);
|
||||
sound/songs/se_w016b.o(.rodata);
|
||||
sound/songs/se_w003.o(.rodata);
|
||||
sound/songs/midi/se_w016.o(.rodata);
|
||||
sound/songs/midi/se_w016b.o(.rodata);
|
||||
sound/songs/midi/se_w003.o(.rodata);
|
||||
sound/songs/se_w104.o(.rodata);
|
||||
sound/songs/se_w013.o(.rodata);
|
||||
sound/songs/midi/se_w013.o(.rodata);
|
||||
sound/songs/se_w196.o(.rodata);
|
||||
sound/songs/se_w086.o(.rodata);
|
||||
sound/songs/se_w004.o(.rodata);
|
||||
sound/songs/se_w025.o(.rodata);
|
||||
sound/songs/se_w025b.o(.rodata);
|
||||
sound/songs/midi/se_w004.o(.rodata);
|
||||
sound/songs/midi/se_w025.o(.rodata);
|
||||
sound/songs/midi/se_w025b.o(.rodata);
|
||||
sound/songs/se_w152.o(.rodata);
|
||||
sound/songs/se_w026.o(.rodata);
|
||||
sound/songs/midi/se_w026.o(.rodata);
|
||||
sound/songs/se_w172.o(.rodata);
|
||||
sound/songs/se_w172b.o(.rodata);
|
||||
sound/songs/se_w053.o(.rodata);
|
||||
sound/songs/se_w007.o(.rodata);
|
||||
sound/songs/midi/se_w007.o(.rodata);
|
||||
sound/songs/se_w092.o(.rodata);
|
||||
sound/songs/se_w221.o(.rodata);
|
||||
sound/songs/se_w221b.o(.rodata);
|
||||
sound/songs/se_w052.o(.rodata);
|
||||
sound/songs/se_w036.o(.rodata);
|
||||
sound/songs/midi/se_w036.o(.rodata);
|
||||
sound/songs/se_w059.o(.rodata);
|
||||
sound/songs/se_w059b.o(.rodata);
|
||||
sound/songs/se_w010.o(.rodata);
|
||||
sound/songs/se_w011.o(.rodata);
|
||||
sound/songs/se_w017.o(.rodata);
|
||||
sound/songs/se_w019.o(.rodata);
|
||||
sound/songs/se_w028.o(.rodata);
|
||||
sound/songs/se_w013b.o(.rodata);
|
||||
sound/songs/midi/se_w010.o(.rodata);
|
||||
sound/songs/midi/se_w011.o(.rodata);
|
||||
sound/songs/midi/se_w017.o(.rodata);
|
||||
sound/songs/midi/se_w019.o(.rodata);
|
||||
sound/songs/midi/se_w028.o(.rodata);
|
||||
sound/songs/midi/se_w013b.o(.rodata);
|
||||
sound/songs/se_w044.o(.rodata);
|
||||
sound/songs/se_w029.o(.rodata);
|
||||
sound/songs/midi/se_w029.o(.rodata);
|
||||
sound/songs/se_w057.o(.rodata);
|
||||
sound/songs/se_w056.o(.rodata);
|
||||
sound/songs/se_w250.o(.rodata);
|
||||
sound/songs/se_w030.o(.rodata);
|
||||
sound/songs/se_w039.o(.rodata);
|
||||
sound/songs/midi/se_w030.o(.rodata);
|
||||
sound/songs/midi/se_w039.o(.rodata);
|
||||
sound/songs/se_w054.o(.rodata);
|
||||
sound/songs/se_w077.o(.rodata);
|
||||
sound/songs/se_w020.o(.rodata);
|
||||
sound/songs/midi/se_w020.o(.rodata);
|
||||
sound/songs/se_w082.o(.rodata);
|
||||
sound/songs/se_w047.o(.rodata);
|
||||
sound/songs/se_w195.o(.rodata);
|
||||
sound/songs/se_w006.o(.rodata);
|
||||
sound/songs/midi/se_w006.o(.rodata);
|
||||
sound/songs/se_w091.o(.rodata);
|
||||
sound/songs/se_w146.o(.rodata);
|
||||
sound/songs/se_w120.o(.rodata);
|
||||
@ -810,8 +829,8 @@ SECTIONS {
|
||||
sound/songs/se_w122.o(.rodata);
|
||||
sound/songs/se_w060.o(.rodata);
|
||||
sound/songs/se_w185.o(.rodata);
|
||||
sound/songs/se_w014.o(.rodata);
|
||||
sound/songs/se_w043.o(.rodata);
|
||||
sound/songs/midi/se_w014.o(.rodata);
|
||||
sound/songs/midi/se_w043.o(.rodata);
|
||||
sound/songs/se_w207.o(.rodata);
|
||||
sound/songs/se_w207b.o(.rodata);
|
||||
sound/songs/se_w215.o(.rodata);
|
||||
@ -882,13 +901,13 @@ SECTIONS {
|
||||
sound/songs/midi/se_rg_deomov.o(.rodata);
|
||||
sound/songs/midi/se_rg_excellent.o(.rodata);
|
||||
sound/songs/midi/se_rg_nawamiss.o(.rodata);
|
||||
sound/songs/se_toreeye.o(.rodata);
|
||||
sound/songs/se_toreoff.o(.rodata);
|
||||
sound/songs/midi/se_toreeye.o(.rodata);
|
||||
sound/songs/midi/se_toreoff.o(.rodata);
|
||||
sound/songs/midi/se_hantei1.o(.rodata);
|
||||
sound/songs/midi/se_hantei2.o(.rodata);
|
||||
sound/songs/midi/se_curtain.o(.rodata);
|
||||
sound/songs/midi/se_curtain1.o(.rodata);
|
||||
sound/songs/se_ussoki.o(.rodata);
|
||||
sound/songs/midi/se_ussoki.o(.rodata);
|
||||
sound/songs/midi/mus_tetsuji.o(.rodata);
|
||||
sound/songs/midi/mus_field13.o(.rodata);
|
||||
sound/songs/midi/mus_kachi22.o(.rodata);
|
||||
|
||||
1
porymap.project.cfg
Executable file
1
porymap.project.cfg
Executable file
@ -0,0 +1 @@
|
||||
base_game_version=pokeemerald
|
||||
161
songs.mk
161
songs.mk
@ -1101,5 +1101,164 @@ $(MID_SUBDIR)/se_t_ooame.s: %.s: %.mid
|
||||
$(MID_SUBDIR)/se_t_ooame_e.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P2
|
||||
|
||||
$(MID_SUBDIR)/se_tama.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P5
|
||||
|
||||
$(MID_SUBDIR)/se_tamago.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P5
|
||||
|
||||
$(MID_SUBDIR)/se_tamakoro.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P2
|
||||
|
||||
$(MID_SUBDIR)/se_tamakoro_e.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P2
|
||||
|
||||
$(MID_SUBDIR)/se_tb_kara.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5
|
||||
|
||||
$(MID_SUBDIR)/se_tb_kon.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P5
|
||||
|
||||
$(MID_SUBDIR)/se_tb_start.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P5
|
||||
|
||||
$(MID_SUBDIR)/se_tk_kasya.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G127 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_tk_warpin.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_tk_warpout.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_toreeye.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G129 -V120 -P5
|
||||
|
||||
$(MID_SUBDIR)/se_toreoff.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G129 -V110 -P5
|
||||
|
||||
$(MID_SUBDIR)/se_toy_a.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_toy_b.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_toy_c.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_toy_c1.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_toy_d.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_toy_dango.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_toy_e.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_toy_f.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_toy_g.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_toy_kabe.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_track_door.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_track_haiki.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G127 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_track_move.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_track_stop.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_tu_saa.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_u.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_ussoki.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G129 -V077 -P5
|
||||
|
||||
$(MID_SUBDIR)/se_w003.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w004.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w006.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V095 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w007.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w010.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w011.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w013.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w013b.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w014.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w015.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w016.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w016b.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w017.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V105 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w019.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w020.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w025.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w025b.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w026.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w028.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w029.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w030.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w036.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V105 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w039.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_w043.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
|
||||
|
||||
$(MID_SUBDIR)/se_z_search.s: %.s: %.mid
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G127 -P5
|
||||
$(MID) $< $@ -E -R$(STD_REVERB) -G127 -v100 -P5
|
||||
|
||||
BIN
sound/songs/midi/se_tama.mid
Normal file
BIN
sound/songs/midi/se_tama.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_tamago.mid
Normal file
BIN
sound/songs/midi/se_tamago.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_tamakoro.mid
Normal file
BIN
sound/songs/midi/se_tamakoro.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_tamakoro_e.mid
Normal file
BIN
sound/songs/midi/se_tamakoro_e.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_tb_kara.mid
Normal file
BIN
sound/songs/midi/se_tb_kara.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_tb_kon.mid
Normal file
BIN
sound/songs/midi/se_tb_kon.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_tb_start.mid
Normal file
BIN
sound/songs/midi/se_tb_start.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_tk_kasya.mid
Normal file
BIN
sound/songs/midi/se_tk_kasya.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_tk_warpin.mid
Normal file
BIN
sound/songs/midi/se_tk_warpin.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_tk_warpout.mid
Normal file
BIN
sound/songs/midi/se_tk_warpout.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toreeye.mid
Normal file
BIN
sound/songs/midi/se_toreeye.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toreoff.mid
Normal file
BIN
sound/songs/midi/se_toreoff.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toy_a.mid
Normal file
BIN
sound/songs/midi/se_toy_a.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toy_b.mid
Normal file
BIN
sound/songs/midi/se_toy_b.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toy_c.mid
Normal file
BIN
sound/songs/midi/se_toy_c.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toy_c1.mid
Normal file
BIN
sound/songs/midi/se_toy_c1.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toy_d.mid
Normal file
BIN
sound/songs/midi/se_toy_d.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toy_dango.mid
Normal file
BIN
sound/songs/midi/se_toy_dango.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toy_e.mid
Normal file
BIN
sound/songs/midi/se_toy_e.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toy_f.mid
Normal file
BIN
sound/songs/midi/se_toy_f.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toy_g.mid
Normal file
BIN
sound/songs/midi/se_toy_g.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_toy_kabe.mid
Normal file
BIN
sound/songs/midi/se_toy_kabe.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_track_door.mid
Normal file
BIN
sound/songs/midi/se_track_door.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_track_haiki.mid
Normal file
BIN
sound/songs/midi/se_track_haiki.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_track_move.mid
Normal file
BIN
sound/songs/midi/se_track_move.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_track_stop.mid
Normal file
BIN
sound/songs/midi/se_track_stop.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_tu_saa.mid
Normal file
BIN
sound/songs/midi/se_tu_saa.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_u.mid
Normal file
BIN
sound/songs/midi/se_u.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_ussoki.mid
Normal file
BIN
sound/songs/midi/se_ussoki.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_w003.mid
Normal file
BIN
sound/songs/midi/se_w003.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_w004.mid
Normal file
BIN
sound/songs/midi/se_w004.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_w006.mid
Normal file
BIN
sound/songs/midi/se_w006.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_w007.mid
Normal file
BIN
sound/songs/midi/se_w007.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_w010.mid
Normal file
BIN
sound/songs/midi/se_w010.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_w011.mid
Normal file
BIN
sound/songs/midi/se_w011.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_w013.mid
Normal file
BIN
sound/songs/midi/se_w013.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_w013b.mid
Normal file
BIN
sound/songs/midi/se_w013b.mid
Normal file
Binary file not shown.
BIN
sound/songs/midi/se_w014.mid
Normal file
BIN
sound/songs/midi/se_w014.mid
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user