mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-10 01:55:51 -05:00
Merge pull request #158 from Kermalis/kermalis-more-clean
Kermalis mega clean numero2
This commit is contained in:
@@ -5,501 +5,6 @@
|
||||
|
||||
.text
|
||||
|
||||
|
||||
thumb_func_start sub_8013AA0
|
||||
sub_8013AA0:
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x28
|
||||
adds r5, r0, 0
|
||||
ldrh r1, [r5, 0x28]
|
||||
ldr r0, _08013B9C
|
||||
ands r0, r1
|
||||
ldr r1, _08013BA0
|
||||
ands r0, r1
|
||||
ldr r4, _08013BA4
|
||||
ands r0, r4
|
||||
ldr r1, _08013BA8
|
||||
ands r0, r1
|
||||
ldr r1, _08013BAC
|
||||
ands r0, r1
|
||||
movs r1, 0x80
|
||||
lsls r1, 7
|
||||
ldr r3, _08013BB0
|
||||
ands r0, r3
|
||||
orrs r0, r1
|
||||
strh r0, [r5, 0x28]
|
||||
movs r1, 0x80
|
||||
lsls r1, 6
|
||||
ldrh r0, [r5, 0x2A]
|
||||
ldr r2, _08013BB4
|
||||
ands r2, r0
|
||||
orrs r2, r1
|
||||
ands r2, r3
|
||||
movs r3, 0xFC
|
||||
lsls r3, 2
|
||||
ldrh r1, [r5, 0x2C]
|
||||
movs r0, 0xFC
|
||||
lsls r0, 8
|
||||
ands r0, r1
|
||||
orrs r0, r3
|
||||
ands r0, r4
|
||||
movs r3, 0xF
|
||||
movs r4, 0xF0
|
||||
lsls r4, 8
|
||||
ldr r1, _08013BB8
|
||||
ands r0, r1
|
||||
orrs r0, r4
|
||||
strh r0, [r5, 0x2C]
|
||||
movs r0, 0xFE
|
||||
lsls r0, 8
|
||||
ands r2, r0
|
||||
movs r0, 0xF0
|
||||
orrs r2, r0
|
||||
strh r2, [r5, 0x2A]
|
||||
subs r1, 0xFF
|
||||
ldrh r0, [r5, 0x2E]
|
||||
ands r3, r0
|
||||
movs r0, 0
|
||||
orrs r3, r1
|
||||
strh r3, [r5, 0x2E]
|
||||
adds r1, r5, 0
|
||||
adds r1, 0x26
|
||||
strb r0, [r1]
|
||||
ldr r1, [r5, 0xC]
|
||||
ldr r2, [r5, 0x10]
|
||||
mov r0, sp
|
||||
bl ConvertToDecimal
|
||||
ldr r0, [r5, 0x10]
|
||||
adds r1, r5, 0
|
||||
adds r1, 0x25
|
||||
strb r0, [r1]
|
||||
ldrb r2, [r1]
|
||||
subs r0, r2, 0x1
|
||||
lsls r0, 2
|
||||
add r0, sp
|
||||
ldr r0, [r0]
|
||||
cmp r0, 0
|
||||
bne _08013B50
|
||||
cmp r2, 0x1
|
||||
bls _08013B50
|
||||
adds r2, r1, 0
|
||||
_08013B38:
|
||||
ldrb r0, [r2]
|
||||
subs r0, 0x1
|
||||
strb r0, [r2]
|
||||
ldrb r1, [r2]
|
||||
subs r0, r1, 0x1
|
||||
lsls r0, 2
|
||||
add r0, sp
|
||||
ldr r0, [r0]
|
||||
cmp r0, 0
|
||||
bne _08013B50
|
||||
cmp r1, 0x1
|
||||
bhi _08013B38
|
||||
_08013B50:
|
||||
ldr r1, [r5, 0x4]
|
||||
str r1, [r5]
|
||||
ldr r2, [r5, 0x10]
|
||||
mov r0, sp
|
||||
bl ConvertToDecimal
|
||||
adds r0, r5, 0
|
||||
adds r0, 0x25
|
||||
ldrb r0, [r0]
|
||||
subs r0, 0x1
|
||||
adds r1, r5, 0
|
||||
adds r1, 0x24
|
||||
strb r0, [r1]
|
||||
ldrb r2, [r1]
|
||||
lsls r0, r2, 2
|
||||
add r0, sp
|
||||
ldr r0, [r0]
|
||||
cmp r0, 0
|
||||
bne _08013B92
|
||||
cmp r2, 0
|
||||
beq _08013B92
|
||||
adds r2, r1, 0
|
||||
_08013B7C:
|
||||
ldrb r0, [r2]
|
||||
subs r0, 0x1
|
||||
strb r0, [r2]
|
||||
ldrb r1, [r2]
|
||||
lsls r0, r1, 2
|
||||
add r0, sp
|
||||
ldr r0, [r0]
|
||||
cmp r0, 0
|
||||
bne _08013B92
|
||||
cmp r1, 0
|
||||
bne _08013B7C
|
||||
_08013B92:
|
||||
add sp, 0x28
|
||||
pop {r4,r5}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.align 2, 0
|
||||
_08013B9C: .4byte 0x0000feff
|
||||
_08013BA0: .4byte 0x0000fdff
|
||||
_08013BA4: .4byte 0x0000f3ff
|
||||
_08013BA8: .4byte 0x0000efff
|
||||
_08013BAC: .4byte 0x0000dfff
|
||||
_08013BB0: .4byte 0x00003fff
|
||||
_08013BB4: .4byte 0x0000c1ff
|
||||
_08013BB8: .4byte 0x00000fff
|
||||
thumb_func_end sub_8013AA0
|
||||
|
||||
thumb_func_start sub_8013BBC
|
||||
sub_8013BBC:
|
||||
push {r4-r7,lr}
|
||||
adds r7, r0, 0
|
||||
adds r4, r7, 0
|
||||
adds r4, 0x26
|
||||
ldrb r0, [r4]
|
||||
adds r0, 0x1
|
||||
strb r0, [r4]
|
||||
adds r0, r7, 0
|
||||
bl sub_8013D10
|
||||
ldrb r1, [r4]
|
||||
movs r0, 0x8
|
||||
ands r0, r1
|
||||
cmp r0, 0
|
||||
beq _08013C26
|
||||
movs r2, 0x80
|
||||
lsls r2, 6
|
||||
ldrh r1, [r7, 0x2A]
|
||||
ldr r4, _08013C38
|
||||
adds r0, r4, 0
|
||||
ands r0, r1
|
||||
orrs r0, r2
|
||||
strh r0, [r7, 0x2A]
|
||||
adds r5, r7, 0
|
||||
adds r5, 0x28
|
||||
movs r6, 0x80
|
||||
lsls r6, 1
|
||||
adds r0, r5, 0
|
||||
adds r1, r6, 0
|
||||
movs r2, 0
|
||||
movs r3, 0
|
||||
bl AddSprite
|
||||
ldrh r0, [r7, 0x2A]
|
||||
ands r4, r0
|
||||
strh r4, [r7, 0x2A]
|
||||
ldrh r1, [r7, 0x2E]
|
||||
ldr r0, _08013C3C
|
||||
lsrs r1, 4
|
||||
adds r1, 0x10
|
||||
ands r1, r0
|
||||
lsls r1, 4
|
||||
ldrh r2, [r7, 0x2E]
|
||||
movs r0, 0xF
|
||||
ands r0, r2
|
||||
orrs r0, r1
|
||||
strh r0, [r7, 0x2E]
|
||||
adds r0, r5, 0
|
||||
adds r1, r6, 0
|
||||
movs r2, 0
|
||||
movs r3, 0
|
||||
bl AddSprite
|
||||
_08013C26:
|
||||
adds r0, r7, 0
|
||||
bl sub_8013DD0
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _08013C40
|
||||
movs r0, 0x1
|
||||
b _08013C62
|
||||
.align 2, 0
|
||||
_08013C38: .4byte 0x0000c1ff
|
||||
_08013C3C: .4byte 0x00000fff
|
||||
_08013C40:
|
||||
bl sub_8012AE8
|
||||
cmp r0, 0x1
|
||||
beq _08013C56
|
||||
cmp r0, 0x2
|
||||
bne _08013C60
|
||||
movs r0, 0x1
|
||||
bl PlayMenuSoundEffect
|
||||
movs r0, 0x2
|
||||
b _08013C62
|
||||
_08013C56:
|
||||
movs r0, 0
|
||||
bl PlayMenuSoundEffect
|
||||
movs r0, 0x3
|
||||
b _08013C62
|
||||
_08013C60:
|
||||
movs r0, 0
|
||||
_08013C62:
|
||||
pop {r4-r7}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_8013BBC
|
||||
|
||||
thumb_func_start sub_8013C68
|
||||
sub_8013C68:
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x2C
|
||||
adds r5, r0, 0
|
||||
ldr r1, [r5]
|
||||
ldr r2, [r5, 0x10]
|
||||
add r0, sp, 0x4
|
||||
bl ConvertToDecimal
|
||||
ldr r0, [r5, 0x10]
|
||||
subs r4, r0, 0x1
|
||||
cmp r4, 0
|
||||
ble _08013CA0
|
||||
lsls r0, r4, 2
|
||||
mov r1, sp
|
||||
adds r1, r0
|
||||
adds r1, 0x4
|
||||
ldr r0, [r1]
|
||||
cmp r0, 0
|
||||
bne _08013CA0
|
||||
movs r2, 0xFF
|
||||
_08013C90:
|
||||
str r2, [r1]
|
||||
subs r1, 0x4
|
||||
subs r4, 0x1
|
||||
cmp r4, 0
|
||||
ble _08013CA0
|
||||
ldr r0, [r1]
|
||||
cmp r0, 0
|
||||
beq _08013C90
|
||||
_08013CA0:
|
||||
movs r4, 0
|
||||
adds r0, r5, 0
|
||||
adds r0, 0x25
|
||||
adds r6, r0, 0
|
||||
b _08013CDA
|
||||
_08013CAA:
|
||||
lsls r0, r4, 2
|
||||
add r0, sp
|
||||
adds r0, 0x4
|
||||
ldr r0, [r0]
|
||||
cmp r0, 0xFF
|
||||
bne _08013CBA
|
||||
movs r3, 0x2A
|
||||
b _08013CC0
|
||||
_08013CBA:
|
||||
adds r0, 0x30
|
||||
lsls r0, 24
|
||||
lsrs r3, r0, 24
|
||||
_08013CC0:
|
||||
adds r4, 0x1
|
||||
lsls r1, r4, 1
|
||||
adds r1, r4
|
||||
lsls r1, 2
|
||||
ldr r0, [r5, 0x1C]
|
||||
subs r0, r1
|
||||
ldr r1, [r5, 0x20]
|
||||
ldr r2, [r5, 0x14]
|
||||
str r2, [sp]
|
||||
adds r2, r3, 0
|
||||
movs r3, 0x7
|
||||
bl sub_8012C60
|
||||
_08013CDA:
|
||||
ldrb r0, [r6]
|
||||
cmp r4, r0
|
||||
blt _08013CAA
|
||||
movs r4, 0
|
||||
b _08013D02
|
||||
_08013CE4:
|
||||
ldr r0, [r5, 0x14]
|
||||
adds r4, 0x1
|
||||
lsls r2, r4, 1
|
||||
adds r2, r4
|
||||
lsls r2, 2
|
||||
ldr r1, [r5, 0x1C]
|
||||
subs r1, r2
|
||||
subs r1, 0x1
|
||||
ldr r2, [r5, 0x20]
|
||||
adds r2, 0xA
|
||||
movs r3, 0x5
|
||||
str r3, [sp]
|
||||
movs r3, 0xB
|
||||
bl sub_800792C
|
||||
_08013D02:
|
||||
ldr r0, [r5, 0x10]
|
||||
cmp r4, r0
|
||||
blt _08013CE4
|
||||
add sp, 0x2C
|
||||
pop {r4-r6}
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_8013C68
|
||||
|
||||
thumb_func_start sub_8013D10
|
||||
sub_8013D10:
|
||||
push {r4-r7,lr}
|
||||
adds r6, r0, 0
|
||||
ldr r0, [r6, 0x14]
|
||||
lsls r1, r0, 3
|
||||
adds r1, r0
|
||||
lsls r1, 3
|
||||
ldr r0, _08013D34
|
||||
adds r7, r1, r0
|
||||
adds r4, r6, 0
|
||||
adds r4, 0x24
|
||||
ldrb r5, [r4]
|
||||
bl sub_8012AE8
|
||||
cmp r0, 0x9
|
||||
beq _08013D38
|
||||
cmp r0, 0xA
|
||||
beq _08013D4E
|
||||
b _08013D62
|
||||
.align 2, 0
|
||||
_08013D34: .4byte gUnknown_2027370
|
||||
_08013D38:
|
||||
ldrb r1, [r4]
|
||||
adds r0, r6, 0
|
||||
adds r0, 0x25
|
||||
ldrb r0, [r0]
|
||||
subs r0, 0x1
|
||||
cmp r1, r0
|
||||
bge _08013D4A
|
||||
adds r0, r1, 0x1
|
||||
b _08013D5C
|
||||
_08013D4A:
|
||||
movs r0, 0
|
||||
b _08013D60
|
||||
_08013D4E:
|
||||
ldrb r0, [r4]
|
||||
cmp r0, 0
|
||||
bne _08013D5A
|
||||
adds r0, r6, 0
|
||||
adds r0, 0x25
|
||||
ldrb r0, [r0]
|
||||
_08013D5A:
|
||||
subs r0, 0x1
|
||||
_08013D5C:
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
_08013D60:
|
||||
adds r5, r0, 0
|
||||
_08013D62:
|
||||
adds r4, r6, 0
|
||||
adds r4, 0x24
|
||||
ldrb r0, [r4]
|
||||
cmp r5, r0
|
||||
beq _08013D7C
|
||||
strb r5, [r4]
|
||||
movs r0, 0x3
|
||||
bl PlayMenuSoundEffect
|
||||
adds r1, r6, 0
|
||||
adds r1, 0x26
|
||||
movs r0, 0x8
|
||||
strb r0, [r1]
|
||||
_08013D7C:
|
||||
ldrb r0, [r4]
|
||||
adds r0, 0x1
|
||||
lsls r1, r0, 1
|
||||
adds r1, r0
|
||||
lsls r1, 2
|
||||
ldr r2, [r6, 0x1C]
|
||||
subs r2, r1
|
||||
movs r1, 0
|
||||
ldrsh r0, [r7, r1]
|
||||
lsls r0, 3
|
||||
adds r2, r0
|
||||
subs r2, 0x3
|
||||
ldr r0, _08013DC8
|
||||
ands r2, r0
|
||||
ldrh r1, [r6, 0x2A]
|
||||
movs r0, 0xFE
|
||||
lsls r0, 8
|
||||
ands r0, r1
|
||||
orrs r0, r2
|
||||
strh r0, [r6, 0x2A]
|
||||
movs r1, 0x2
|
||||
ldrsh r0, [r7, r1]
|
||||
lsls r0, 3
|
||||
ldr r1, [r6, 0x20]
|
||||
adds r1, r0
|
||||
subs r1, 0x7
|
||||
ldr r0, _08013DCC
|
||||
ands r1, r0
|
||||
lsls r1, 4
|
||||
ldrh r2, [r6, 0x2E]
|
||||
movs r0, 0xF
|
||||
ands r0, r2
|
||||
orrs r0, r1
|
||||
strh r0, [r6, 0x2E]
|
||||
pop {r4-r7}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.align 2, 0
|
||||
_08013DC8: .4byte 0x000001ff
|
||||
_08013DCC: .4byte 0x00000fff
|
||||
thumb_func_end sub_8013D10
|
||||
|
||||
thumb_func_start sub_8013DD0
|
||||
sub_8013DD0:
|
||||
push {r4,r5,lr}
|
||||
adds r4, r0, 0
|
||||
bl sub_8012AE8
|
||||
cmp r0, 0x7
|
||||
beq _08013DE4
|
||||
cmp r0, 0x8
|
||||
beq _08013E10
|
||||
movs r0, 0
|
||||
b _08013E4C
|
||||
_08013DE4:
|
||||
ldr r2, [r4]
|
||||
ldr r0, [r4, 0xC]
|
||||
cmp r2, r0
|
||||
beq _08013E18
|
||||
ldr r1, _08013E0C
|
||||
adds r0, r4, 0
|
||||
adds r0, 0x24
|
||||
ldrb r0, [r0]
|
||||
lsls r0, 2
|
||||
adds r0, r1
|
||||
ldr r0, [r0]
|
||||
adds r5, r2, r0
|
||||
movs r0, 0x3
|
||||
bl PlayMenuSoundEffect
|
||||
ldr r0, [r4, 0xC]
|
||||
cmp r5, r0
|
||||
bgt _08013E3E
|
||||
b _08013E48
|
||||
.align 2, 0
|
||||
_08013E0C: .4byte gUnknown_80D4830
|
||||
_08013E10:
|
||||
ldr r2, [r4]
|
||||
ldr r0, [r4, 0x8]
|
||||
cmp r2, r0
|
||||
bne _08013E22
|
||||
_08013E18:
|
||||
movs r0, 0x2
|
||||
bl PlayMenuSoundEffect
|
||||
movs r0, 0
|
||||
b _08013E4C
|
||||
_08013E22:
|
||||
ldr r1, _08013E44
|
||||
adds r0, r4, 0
|
||||
adds r0, 0x24
|
||||
ldrb r0, [r0]
|
||||
lsls r0, 2
|
||||
adds r0, r1
|
||||
ldr r0, [r0]
|
||||
subs r5, r2, r0
|
||||
movs r0, 0x3
|
||||
bl PlayMenuSoundEffect
|
||||
ldr r0, [r4, 0x8]
|
||||
cmp r5, r0
|
||||
bge _08013E48
|
||||
_08013E3E:
|
||||
str r0, [r4]
|
||||
b _08013E4A
|
||||
.align 2, 0
|
||||
_08013E44: .4byte gUnknown_80D4830
|
||||
_08013E48:
|
||||
str r5, [r4]
|
||||
_08013E4A:
|
||||
movs r0, 0x1
|
||||
_08013E4C:
|
||||
pop {r4,r5}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_8013DD0
|
||||
|
||||
thumb_func_start sub_8013E54
|
||||
sub_8013E54:
|
||||
push {r4-r6,lr}
|
||||
@@ -819,6 +324,11 @@ _080140BC:
|
||||
_080140D8: .4byte gUnknown_80D47C8
|
||||
thumb_func_end sub_80140B4
|
||||
|
||||
|
||||
@ May be the start of a new file, since menu_input data has been used already
|
||||
|
||||
|
||||
|
||||
thumb_func_start sub_80140DC
|
||||
sub_80140DC:
|
||||
push {lr}
|
||||
|
||||
@@ -1,382 +0,0 @@
|
||||
#include "asm/constants/gba_constants.inc"
|
||||
#include "asm/macros.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
thumb_func_start sub_8022A10
|
||||
sub_8022A10:
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x8
|
||||
ldr r1, _08022A2C
|
||||
ldr r0, [r1]
|
||||
ldr r0, [r0]
|
||||
adds r4, r1, 0
|
||||
cmp r0, 0x16
|
||||
bls _08022A22
|
||||
b _08022D1E
|
||||
_08022A22:
|
||||
lsls r0, 2
|
||||
ldr r1, _08022A30
|
||||
adds r0, r1
|
||||
ldr r0, [r0]
|
||||
mov pc, r0
|
||||
.align 2, 0
|
||||
_08022A2C: .4byte gUnknown_203B294
|
||||
_08022A30: .4byte _08022A34
|
||||
.align 2, 0
|
||||
_08022A34:
|
||||
.4byte _08022A90
|
||||
.4byte _08022AAA
|
||||
.4byte _08022AB2
|
||||
.4byte _08022AE0
|
||||
.4byte _08022B10
|
||||
.4byte _08022B1A
|
||||
.4byte _08022B24
|
||||
.4byte _08022B34
|
||||
.4byte _08022B44
|
||||
.4byte _08022B54
|
||||
.4byte _08022B64
|
||||
.4byte _08022C28
|
||||
.4byte _08022CA0
|
||||
.4byte _08022CA8
|
||||
.4byte _08022CB0
|
||||
.4byte _08022CB8
|
||||
.4byte _08022CC0
|
||||
.4byte _08022CC8
|
||||
.4byte _08022CD8
|
||||
.4byte _08022CE8
|
||||
.4byte _08022CF8
|
||||
.4byte _08022D14
|
||||
.4byte _08022D1E
|
||||
_08022A90:
|
||||
ldr r0, [r4]
|
||||
ldr r0, [r0, 0x48]
|
||||
cmp r0, 0
|
||||
beq _08022A9C
|
||||
movs r0, 0x5
|
||||
b _08022A9E
|
||||
_08022A9C:
|
||||
movs r0, 0x1
|
||||
_08022A9E:
|
||||
movs r1, 0x3
|
||||
movs r2, 0
|
||||
movs r3, 0xA
|
||||
bl sub_801A5D8
|
||||
b _08022D22
|
||||
_08022AAA:
|
||||
movs r0, 0x1
|
||||
bl sub_801A8D0
|
||||
b _08022D22
|
||||
_08022AB2:
|
||||
bl sub_801A9E0
|
||||
ldr r0, _08022ADC
|
||||
ldr r2, [r0]
|
||||
adds r0, r2, 0
|
||||
adds r0, 0x54
|
||||
adds r1, r2, 0
|
||||
adds r1, 0xF8
|
||||
movs r4, 0x9C
|
||||
lsls r4, 1
|
||||
adds r3, r2, r4
|
||||
adds r2, 0xF4
|
||||
ldr r2, [r2]
|
||||
str r2, [sp]
|
||||
movs r2, 0x2
|
||||
str r2, [sp, 0x4]
|
||||
movs r2, 0
|
||||
bl sub_8012D60
|
||||
b _08022D22
|
||||
.align 2, 0
|
||||
_08022ADC: .4byte gUnknown_203B294
|
||||
_08022AE0:
|
||||
bl sub_801A9E0
|
||||
ldr r4, _08022B08
|
||||
ldr r0, [r4]
|
||||
adds r0, 0x54
|
||||
movs r1, 0
|
||||
bl sub_8012EA4
|
||||
ldr r0, [r4]
|
||||
adds r0, 0xA4
|
||||
ldr r1, _08022B0C
|
||||
movs r2, 0x3
|
||||
str r2, [sp]
|
||||
movs r2, 0x1
|
||||
str r2, [sp, 0x4]
|
||||
movs r2, 0
|
||||
movs r3, 0
|
||||
bl sub_8012D60
|
||||
b _08022D22
|
||||
.align 2, 0
|
||||
_08022B08: .4byte gUnknown_203B294
|
||||
_08022B0C: .4byte gUnknown_80DC584
|
||||
_08022B10:
|
||||
ldr r0, [r4]
|
||||
adds r0, 0x50
|
||||
bl sub_801B3C0
|
||||
b _08022D22
|
||||
_08022B1A:
|
||||
ldr r0, _08022B20
|
||||
b _08022D00
|
||||
.align 2, 0
|
||||
_08022B20: .4byte gUnknown_80DC5F4
|
||||
_08022B24:
|
||||
ldr r0, _08022B2C
|
||||
ldr r3, _08022B30
|
||||
b _08022D02
|
||||
.align 2, 0
|
||||
_08022B2C: .4byte gUnknown_80DC618
|
||||
_08022B30: .4byte 0x00000101
|
||||
_08022B34:
|
||||
ldr r0, _08022B3C
|
||||
ldr r3, _08022B40
|
||||
b _08022D02
|
||||
.align 2, 0
|
||||
_08022B3C: .4byte gUnknown_80DC674
|
||||
_08022B40: .4byte 0x00000101
|
||||
_08022B44:
|
||||
ldr r0, _08022B4C
|
||||
ldr r3, _08022B50
|
||||
b _08022D02
|
||||
.align 2, 0
|
||||
_08022B4C: .4byte gUnknown_80DC6CC
|
||||
_08022B50: .4byte 0x00000101
|
||||
_08022B54:
|
||||
ldr r0, _08022B5C
|
||||
ldr r3, _08022B60
|
||||
b _08022D02
|
||||
.align 2, 0
|
||||
_08022B5C: .4byte gUnknown_80DC728
|
||||
_08022B60: .4byte 0x00000101
|
||||
_08022B64:
|
||||
ldr r7, _08022B68
|
||||
b _08022B78
|
||||
.align 2, 0
|
||||
_08022B68: .4byte gUnknown_203B294
|
||||
_08022B6C:
|
||||
ldr r1, [r4]
|
||||
ldr r0, [r1, 0x40]
|
||||
adds r0, 0x1
|
||||
str r0, [r1, 0x40]
|
||||
cmp r0, 0x17
|
||||
bgt _08022C10
|
||||
_08022B78:
|
||||
movs r5, 0
|
||||
movs r6, 0
|
||||
movs r3, 0
|
||||
ldr r2, [r4]
|
||||
ldr r0, [r2, 0x38]
|
||||
cmp r5, r0
|
||||
bge _08022BA4
|
||||
ldrb r1, [r2, 0x8]
|
||||
b _08022B9C
|
||||
_08022B8A:
|
||||
adds r3, 0x1
|
||||
ldr r2, [r4]
|
||||
ldr r0, [r2, 0x38]
|
||||
cmp r3, r0
|
||||
bge _08022BA4
|
||||
adds r0, r2, 0
|
||||
adds r0, 0x8
|
||||
adds r0, r3
|
||||
ldrb r1, [r0]
|
||||
_08022B9C:
|
||||
ldr r0, [r2, 0x40]
|
||||
cmp r1, r0
|
||||
bne _08022B8A
|
||||
movs r5, 0x1
|
||||
_08022BA4:
|
||||
movs r3, 0
|
||||
ldr r2, [r4]
|
||||
ldr r0, [r2, 0x3C]
|
||||
cmp r3, r0
|
||||
bge _08022BCE
|
||||
adds r0, r2, 0
|
||||
adds r0, 0x20
|
||||
b _08022BC4
|
||||
_08022BB4:
|
||||
adds r3, 0x1
|
||||
ldr r2, [r4]
|
||||
ldr r0, [r2, 0x3C]
|
||||
cmp r3, r0
|
||||
bge _08022BCE
|
||||
adds r0, r2, 0
|
||||
adds r0, 0x20
|
||||
adds r0, r3
|
||||
_08022BC4:
|
||||
ldrb r1, [r0]
|
||||
ldr r0, [r2, 0x40]
|
||||
cmp r1, r0
|
||||
bne _08022BB4
|
||||
movs r6, 0x1
|
||||
_08022BCE:
|
||||
cmp r5, r6
|
||||
beq _08022B6C
|
||||
ldr r1, [r7]
|
||||
movs r0, 0xA
|
||||
str r0, [r1, 0x4]
|
||||
ldr r0, [r1, 0x40]
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
bl GetIQSkillName
|
||||
adds r1, r0, 0
|
||||
ldr r0, _08022C18
|
||||
bl strcpy
|
||||
movs r0, 0xCB
|
||||
bl PlaySound
|
||||
ldr r0, _08022C1C
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
ldr r3, _08022C20
|
||||
bl sub_80141B4
|
||||
ldr r1, [r7]
|
||||
ldr r0, [r1, 0x40]
|
||||
adds r0, 0x1
|
||||
str r0, [r1, 0x40]
|
||||
ldr r0, _08022C24
|
||||
ldr r0, [r0]
|
||||
ldr r0, [r0, 0x40]
|
||||
cmp r0, 0x17
|
||||
bgt _08022C10
|
||||
b _08022D22
|
||||
_08022C10:
|
||||
movs r0, 0xB
|
||||
bl sub_8022924
|
||||
b _08022D22
|
||||
.align 2, 0
|
||||
_08022C18: .4byte gUnknown_202DEA8
|
||||
_08022C1C: .4byte gUnknown_80DC788
|
||||
_08022C20: .4byte 0x00000101
|
||||
_08022C24: .4byte gUnknown_203B294
|
||||
_08022C28:
|
||||
ldr r1, [r4]
|
||||
movs r0, 0x16
|
||||
str r0, [r1, 0x4]
|
||||
bl nullsub_104
|
||||
ldr r0, [r4]
|
||||
adds r0, 0x46
|
||||
ldrh r0, [r0]
|
||||
cmp r0, 0x8
|
||||
bhi _08022C98
|
||||
lsls r0, 2
|
||||
ldr r1, _08022C48
|
||||
adds r0, r1
|
||||
ldr r0, [r0]
|
||||
mov pc, r0
|
||||
.align 2, 0
|
||||
_08022C48: .4byte _08022C4C
|
||||
.align 2, 0
|
||||
_08022C4C:
|
||||
.4byte _08022C70
|
||||
.4byte _08022C78
|
||||
.4byte _08022C80
|
||||
.4byte _08022C98
|
||||
.4byte _08022C88
|
||||
.4byte _08022C98
|
||||
.4byte _08022C98
|
||||
.4byte _08022C98
|
||||
.4byte _08022C90
|
||||
_08022C70:
|
||||
movs r0, 0x16
|
||||
bl sub_8022924
|
||||
b _08022D22
|
||||
_08022C78:
|
||||
movs r0, 0xD
|
||||
bl sub_8022924
|
||||
b _08022D22
|
||||
_08022C80:
|
||||
movs r0, 0xE
|
||||
bl sub_8022924
|
||||
b _08022D22
|
||||
_08022C88:
|
||||
movs r0, 0xF
|
||||
bl sub_8022924
|
||||
b _08022D22
|
||||
_08022C90:
|
||||
movs r0, 0x10
|
||||
bl sub_8022924
|
||||
b _08022D22
|
||||
_08022C98:
|
||||
movs r0, 0xC
|
||||
bl sub_8022924
|
||||
b _08022D22
|
||||
_08022CA0:
|
||||
ldr r0, _08022CA4
|
||||
b _08022D00
|
||||
.align 2, 0
|
||||
_08022CA4: .4byte gUnknown_80DC7B4
|
||||
_08022CA8:
|
||||
ldr r0, _08022CAC
|
||||
b _08022D00
|
||||
.align 2, 0
|
||||
_08022CAC: .4byte gUnknown_80DC7FC
|
||||
_08022CB0:
|
||||
ldr r0, _08022CB4
|
||||
b _08022D00
|
||||
.align 2, 0
|
||||
_08022CB4: .4byte gUnknown_80DC81C
|
||||
_08022CB8:
|
||||
ldr r0, _08022CBC
|
||||
b _08022D00
|
||||
.align 2, 0
|
||||
_08022CBC: .4byte gUnknown_80DC844
|
||||
_08022CC0:
|
||||
ldr r0, _08022CC4
|
||||
b _08022D00
|
||||
.align 2, 0
|
||||
_08022CC4: .4byte gUnknown_80DC864
|
||||
_08022CC8:
|
||||
ldr r1, [r4]
|
||||
movs r0, 0x16
|
||||
str r0, [r1, 0x4]
|
||||
ldr r0, _08022CD4
|
||||
b _08022D00
|
||||
.align 2, 0
|
||||
_08022CD4: .4byte gUnknown_80DC88C
|
||||
_08022CD8:
|
||||
ldr r1, [r4]
|
||||
movs r0, 0x16
|
||||
str r0, [r1, 0x4]
|
||||
ldr r0, _08022CE4
|
||||
b _08022D00
|
||||
.align 2, 0
|
||||
_08022CE4: .4byte gUnknown_80DC8AC
|
||||
_08022CE8:
|
||||
ldr r1, [r4]
|
||||
movs r0, 0x16
|
||||
str r0, [r1, 0x4]
|
||||
ldr r0, _08022CF4
|
||||
b _08022D00
|
||||
.align 2, 0
|
||||
_08022CF4: .4byte gUnknown_80DC8C8
|
||||
_08022CF8:
|
||||
ldr r1, [r4]
|
||||
movs r0, 0x16
|
||||
str r0, [r1, 0x4]
|
||||
ldr r0, _08022D0C
|
||||
_08022D00:
|
||||
ldr r3, _08022D10
|
||||
_08022D02:
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
bl sub_80141B4
|
||||
b _08022D22
|
||||
.align 2, 0
|
||||
_08022D0C: .4byte gUnknown_80DC8DC
|
||||
_08022D10: .4byte 0x00000301
|
||||
_08022D14:
|
||||
ldr r0, [r4]
|
||||
ldr r0, [r0, 0x4C]
|
||||
bl sub_801AFA4
|
||||
b _08022D22
|
||||
_08022D1E:
|
||||
bl sub_801A928
|
||||
_08022D22:
|
||||
add sp, 0x8
|
||||
pop {r4-r7}
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_8022A10
|
||||
|
||||
.align 2,0
|
||||
@@ -1,158 +1,10 @@
|
||||
#include "asm/constants/gba_constants.inc"
|
||||
#include "asm/constants/gba_constants.inc"
|
||||
#include "asm/macros.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
thumb_func_start sub_8023758
|
||||
sub_8023758:
|
||||
push {r4-r7,lr}
|
||||
mov r7, r9
|
||||
mov r6, r8
|
||||
push {r6,r7}
|
||||
sub sp, 0x4
|
||||
ldr r3, _080237DC
|
||||
ldr r2, [r3]
|
||||
ldr r1, [r2, 0x8]
|
||||
lsls r0, r1, 1
|
||||
adds r0, 0xA
|
||||
adds r2, r0
|
||||
mov r9, r2
|
||||
movs r2, 0
|
||||
subs r1, 0x1
|
||||
cmp r2, r1
|
||||
bge _080237CC
|
||||
_08023778:
|
||||
mov r5, r9
|
||||
ldr r0, [r3]
|
||||
ldr r0, [r0, 0x8]
|
||||
subs r7, r0, 0x1
|
||||
adds r0, r2, 0x1
|
||||
mov r8, r0
|
||||
cmp r7, r2
|
||||
ble _080237BE
|
||||
_08023788:
|
||||
subs r6, r5, 0x2
|
||||
movs r1, 0
|
||||
ldrsh r0, [r6, r1]
|
||||
movs r1, 0x1
|
||||
str r2, [sp]
|
||||
bl GetAlphabetParentNo
|
||||
adds r4, r0, 0
|
||||
movs r1, 0
|
||||
ldrsh r0, [r5, r1]
|
||||
movs r1, 0x1
|
||||
bl GetAlphabetParentNo
|
||||
lsls r4, 16
|
||||
lsls r0, 16
|
||||
ldr r2, [sp]
|
||||
cmp r4, r0
|
||||
ble _080237B6
|
||||
movs r0, 0
|
||||
ldrsh r1, [r5, r0]
|
||||
ldrh r0, [r6]
|
||||
strh r0, [r5]
|
||||
strh r1, [r6]
|
||||
_080237B6:
|
||||
adds r5, r6, 0
|
||||
subs r7, 0x1
|
||||
cmp r7, r2
|
||||
bgt _08023788
|
||||
_080237BE:
|
||||
mov r2, r8
|
||||
ldr r3, _080237DC
|
||||
ldr r0, [r3]
|
||||
ldr r0, [r0, 0x8]
|
||||
subs r0, 0x1
|
||||
cmp r2, r0
|
||||
blt _08023778
|
||||
_080237CC:
|
||||
add sp, 0x4
|
||||
pop {r3,r4}
|
||||
mov r8, r3
|
||||
mov r9, r4
|
||||
pop {r4-r7}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.align 2, 0
|
||||
_080237DC: .4byte gUnknown_3001B5C
|
||||
thumb_func_end sub_8023758
|
||||
|
||||
thumb_func_start sub_80237E0
|
||||
sub_80237E0:
|
||||
push {r4-r7,lr}
|
||||
mov r7, r9
|
||||
mov r6, r8
|
||||
push {r6,r7}
|
||||
sub sp, 0x4
|
||||
ldr r3, _08023864
|
||||
ldr r2, [r3]
|
||||
ldr r1, [r2, 0x8]
|
||||
lsls r0, r1, 1
|
||||
adds r0, 0xA
|
||||
adds r2, r0
|
||||
mov r9, r2
|
||||
movs r2, 0
|
||||
subs r1, 0x1
|
||||
cmp r2, r1
|
||||
bge _08023854
|
||||
_08023800:
|
||||
mov r5, r9
|
||||
ldr r0, [r3]
|
||||
ldr r0, [r0, 0x8]
|
||||
subs r7, r0, 0x1
|
||||
adds r0, r2, 0x1
|
||||
mov r8, r0
|
||||
cmp r7, r2
|
||||
ble _08023846
|
||||
_08023810:
|
||||
subs r6, r5, 0x2
|
||||
movs r1, 0
|
||||
ldrsh r0, [r6, r1]
|
||||
movs r1, 0
|
||||
str r2, [sp]
|
||||
bl GetAlphabetParentNo
|
||||
adds r4, r0, 0
|
||||
movs r1, 0
|
||||
ldrsh r0, [r5, r1]
|
||||
movs r1, 0
|
||||
bl GetAlphabetParentNo
|
||||
lsls r4, 16
|
||||
lsls r0, 16
|
||||
ldr r2, [sp]
|
||||
cmp r4, r0
|
||||
ble _0802383E
|
||||
movs r0, 0
|
||||
ldrsh r1, [r5, r0]
|
||||
ldrh r0, [r6]
|
||||
strh r0, [r5]
|
||||
strh r1, [r6]
|
||||
_0802383E:
|
||||
adds r5, r6, 0
|
||||
subs r7, 0x1
|
||||
cmp r7, r2
|
||||
bgt _08023810
|
||||
_08023846:
|
||||
mov r2, r8
|
||||
ldr r3, _08023864
|
||||
ldr r0, [r3]
|
||||
ldr r0, [r0, 0x8]
|
||||
subs r0, 0x1
|
||||
cmp r2, r0
|
||||
blt _08023800
|
||||
_08023854:
|
||||
add sp, 0x4
|
||||
pop {r3,r4}
|
||||
mov r8, r3
|
||||
mov r9, r4
|
||||
pop {r4-r7}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.align 2, 0
|
||||
_08023864: .4byte gUnknown_3001B5C
|
||||
thumb_func_end sub_80237E0
|
||||
|
||||
thumb_func_start sub_8023868
|
||||
sub_8023868:
|
||||
push {r4-r7,lr}
|
||||
@@ -413,7 +265,7 @@ _08023A6E:
|
||||
bx r1
|
||||
.align 2, 0
|
||||
_08023A7C: .4byte gUnknown_3001B60
|
||||
_08023A80: .4byte gUnknown_80DC968
|
||||
_08023A80: .4byte sUnknown_80DC968
|
||||
_08023A84: .4byte gUnknown_203B2A0
|
||||
_08023A88: .4byte gUnknown_203B2A8
|
||||
_08023A8C: .4byte gUnknown_203B2AA
|
||||
@@ -721,7 +573,7 @@ _08023CD4: .4byte gUnknown_203B2A4
|
||||
_08023CD8: .4byte gUnknown_203B2A8
|
||||
_08023CDC: .4byte gUnknown_203B2AA
|
||||
_08023CE0: .4byte 0x00000376
|
||||
_08023CE4: .4byte gUnknown_80DC950
|
||||
_08023CE4: .4byte sUnknown_80DC950
|
||||
thumb_func_end sub_8023C60
|
||||
|
||||
thumb_func_start sub_8023CE8
|
||||
@@ -846,7 +698,7 @@ sub_8023DA4:
|
||||
b _08023E02
|
||||
.align 2, 0
|
||||
_08023DD8: .4byte gUnknown_3001B60
|
||||
_08023DDC: .4byte gUnknown_80DC988
|
||||
_08023DDC: .4byte sUnknown_80DC988
|
||||
_08023DE0:
|
||||
add r0, sp, 0x8
|
||||
bl sub_80920D8
|
||||
@@ -964,7 +816,7 @@ _08023EB2:
|
||||
movs r6, 0x5
|
||||
b _08023EEA
|
||||
.align 2, 0
|
||||
_08023EBC: .4byte gUnknown_80DC980
|
||||
_08023EBC: .4byte sUnknown_80DC980
|
||||
_08023EC0: .4byte 0x000003f6
|
||||
_08023EC4: .4byte 0x00000376
|
||||
_08023EC8: .4byte gUnknown_3001B60
|
||||
@@ -1053,7 +905,7 @@ _08023F62:
|
||||
pop {r0}
|
||||
bx r0
|
||||
.align 2, 0
|
||||
_08023F80: .4byte gUnknown_80DC998
|
||||
_08023F80: .4byte sUnknown_80DC998
|
||||
_08023F84: .4byte 0x00000372
|
||||
_08023F88: .4byte gUnknown_3001B60
|
||||
thumb_func_end sub_8023DA4
|
||||
@@ -1335,4 +1187,4 @@ _0802417E:
|
||||
bx r1
|
||||
thumb_func_end sub_8024108
|
||||
|
||||
.align 2,0
|
||||
.align 2,0
|
||||
@@ -1,505 +0,0 @@
|
||||
#include "asm/constants/gba_constants.inc"
|
||||
#include "asm/macros.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
thumb_func_start sub_8037810
|
||||
sub_8037810:
|
||||
push {r4-r6,lr}
|
||||
ldr r6, _080378FC
|
||||
ldr r0, [r6]
|
||||
movs r5, 0xDE
|
||||
lsls r5, 1
|
||||
adds r0, r5
|
||||
movs r1, 0
|
||||
movs r2, 0x8
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r4, 0xE2
|
||||
lsls r4, 1
|
||||
adds r0, r4
|
||||
movs r1, 0
|
||||
movs r2, 0x8
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
adds r5, r0, r5
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
str r1, [r5]
|
||||
str r2, [r5, 0x4]
|
||||
adds r4, r0, r4
|
||||
str r1, [r4]
|
||||
str r2, [r4, 0x4]
|
||||
movs r2, 0xE6
|
||||
lsls r2, 1
|
||||
adds r0, r2
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r3, 0xFE
|
||||
lsls r3, 1
|
||||
adds r0, r3
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r1, 0x8B
|
||||
lsls r1, 2
|
||||
adds r0, r1
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r2, 0x97
|
||||
lsls r2, 2
|
||||
adds r0, r2
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r3, 0xA3
|
||||
lsls r3, 2
|
||||
adds r0, r3
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r1, 0xC5
|
||||
lsls r1, 2
|
||||
adds r0, r1
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r2, 0xAF
|
||||
lsls r2, 2
|
||||
adds r0, r2
|
||||
movs r1, 0
|
||||
movs r2, 0x58
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r3, 0xD1
|
||||
lsls r3, 2
|
||||
adds r0, r3
|
||||
movs r1, 0
|
||||
movs r2, 0x58
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r1, 0xE7
|
||||
lsls r1, 2
|
||||
adds r0, r1
|
||||
movs r1, 0
|
||||
movs r2, 0xB4
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r2, 0x8A
|
||||
lsls r2, 3
|
||||
adds r0, r2
|
||||
movs r1, 0
|
||||
movs r2, 0xB4
|
||||
bl MemoryFill8
|
||||
ldr r2, [r6]
|
||||
movs r3, 0xB1
|
||||
lsls r3, 2
|
||||
adds r0, r2, r3
|
||||
movs r1, 0
|
||||
strh r1, [r0]
|
||||
adds r3, 0x88
|
||||
adds r0, r2, r3
|
||||
strh r1, [r0]
|
||||
pop {r4-r6}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.align 2, 0
|
||||
_080378FC: .4byte gUnknown_203B35C
|
||||
thumb_func_end sub_8037810
|
||||
|
||||
thumb_func_start sub_8037900
|
||||
sub_8037900:
|
||||
push {r4,lr}
|
||||
sub sp, 0x10
|
||||
ldr r4, _08037928
|
||||
ldr r0, [r4]
|
||||
movs r1, 0xAE
|
||||
lsls r1, 1
|
||||
adds r0, r1
|
||||
movs r1, 0
|
||||
bl sub_8035CC0
|
||||
ldr r0, [r4]
|
||||
ldr r0, [r0]
|
||||
cmp r0, 0xA
|
||||
bls _0803791E
|
||||
b _08037A14
|
||||
_0803791E:
|
||||
lsls r0, 2
|
||||
ldr r1, _0803792C
|
||||
adds r0, r1
|
||||
ldr r0, [r0]
|
||||
mov pc, r0
|
||||
.align 2, 0
|
||||
_08037928: .4byte gUnknown_203B35C
|
||||
_0803792C: .4byte _08037930
|
||||
.align 2, 0
|
||||
_08037930:
|
||||
.4byte _0803795C
|
||||
.4byte _0803795C
|
||||
.4byte _0803797C
|
||||
.4byte _0803797C
|
||||
.4byte _0803799C
|
||||
.4byte _0803799C
|
||||
.4byte _080379BC
|
||||
.4byte _080379BC
|
||||
.4byte _08037A14
|
||||
.4byte _080379F0
|
||||
.4byte _080379F0
|
||||
_0803795C:
|
||||
ldr r0, _08037970
|
||||
ldr r1, [r0]
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x1C
|
||||
movs r2, 0xAE
|
||||
lsls r2, 1
|
||||
adds r1, r2
|
||||
ldr r3, _08037974
|
||||
ldr r2, _08037978
|
||||
b _080379CE
|
||||
.align 2, 0
|
||||
_08037970: .4byte gUnknown_203B35C
|
||||
_08037974: .4byte gUnknown_80E6554
|
||||
_08037978: .4byte gUnknown_80E656C
|
||||
_0803797C:
|
||||
ldr r0, _08037990
|
||||
ldr r1, [r0]
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x1C
|
||||
movs r2, 0xAE
|
||||
lsls r2, 1
|
||||
adds r1, r2
|
||||
ldr r3, _08037994
|
||||
ldr r2, _08037998
|
||||
b _080379CE
|
||||
.align 2, 0
|
||||
_08037990: .4byte gUnknown_203B35C
|
||||
_08037994: .4byte gUnknown_80E6554
|
||||
_08037998: .4byte gUnknown_80E65D8
|
||||
_0803799C:
|
||||
ldr r0, _080379B0
|
||||
ldr r1, [r0]
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x1C
|
||||
movs r2, 0xAE
|
||||
lsls r2, 1
|
||||
adds r1, r2
|
||||
ldr r3, _080379B4
|
||||
ldr r2, _080379B8
|
||||
b _080379CE
|
||||
.align 2, 0
|
||||
_080379B0: .4byte gUnknown_203B35C
|
||||
_080379B4: .4byte gUnknown_80E6554
|
||||
_080379B8: .4byte gUnknown_80E661C
|
||||
_080379BC:
|
||||
ldr r0, _080379E4
|
||||
ldr r1, [r0]
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x1C
|
||||
movs r2, 0xAE
|
||||
lsls r2, 1
|
||||
adds r1, r2
|
||||
ldr r3, _080379E8
|
||||
ldr r2, _080379EC
|
||||
_080379CE:
|
||||
str r2, [sp]
|
||||
movs r4, 0
|
||||
str r4, [sp, 0x4]
|
||||
movs r2, 0x6
|
||||
str r2, [sp, 0x8]
|
||||
str r4, [sp, 0xC]
|
||||
movs r2, 0
|
||||
bl SetMenuItems
|
||||
b _08037A14
|
||||
.align 2, 0
|
||||
_080379E4: .4byte gUnknown_203B35C
|
||||
_080379E8: .4byte gUnknown_80E6554
|
||||
_080379EC: .4byte gUnknown_80E665C
|
||||
_080379F0:
|
||||
ldr r0, _08037A38
|
||||
ldr r1, [r0]
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x1C
|
||||
movs r2, 0xAE
|
||||
lsls r2, 1
|
||||
adds r1, r2
|
||||
ldr r3, _08037A3C
|
||||
ldr r2, _08037A40
|
||||
str r2, [sp]
|
||||
movs r4, 0
|
||||
str r4, [sp, 0x4]
|
||||
movs r2, 0x6
|
||||
str r2, [sp, 0x8]
|
||||
str r4, [sp, 0xC]
|
||||
movs r2, 0
|
||||
bl SetMenuItems
|
||||
_08037A14:
|
||||
ldr r4, _08037A38
|
||||
ldr r0, [r4]
|
||||
adds r0, 0x1C
|
||||
movs r1, 0
|
||||
movs r2, 0x1
|
||||
bl sub_8035CF4
|
||||
bl sub_80373C4
|
||||
ldr r0, [r4]
|
||||
adds r0, 0x1C
|
||||
bl sub_80130A8
|
||||
add sp, 0x10
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.align 2, 0
|
||||
_08037A38: .4byte gUnknown_203B35C
|
||||
_08037A3C: .4byte gUnknown_80E6554
|
||||
_08037A40: .4byte gUnknown_80E667C
|
||||
thumb_func_end sub_8037900
|
||||
|
||||
thumb_func_start nullsub_202
|
||||
nullsub_202:
|
||||
bx lr
|
||||
thumb_func_end nullsub_202
|
||||
|
||||
thumb_func_start sub_8037A48
|
||||
sub_8037A48:
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x28
|
||||
movs r6, 0x1
|
||||
movs r0, 0
|
||||
mov r1, sp
|
||||
movs r2, 0x14
|
||||
bl sub_800D670
|
||||
add r4, sp, 0x14
|
||||
movs r0, 0x1
|
||||
adds r1, r4, 0
|
||||
movs r2, 0x14
|
||||
bl sub_800D670
|
||||
ldr r1, _08037AAC
|
||||
movs r3, 0x8
|
||||
adds r2, r1, 0
|
||||
adds r0, r2, 0x4
|
||||
_08037A6C:
|
||||
str r3, [r0]
|
||||
subs r0, 0x4
|
||||
cmp r0, r1
|
||||
bge _08037A6C
|
||||
ldr r0, [sp, 0x10]
|
||||
str r0, [r2]
|
||||
ldr r0, [r4, 0x10]
|
||||
str r0, [r2, 0x4]
|
||||
ldr r5, _08037AB0
|
||||
mov r0, sp
|
||||
adds r1, r5, 0
|
||||
bl strcmp
|
||||
cmp r0, 0
|
||||
beq _08037A8C
|
||||
movs r0, 0x1
|
||||
_08037A8C:
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
bne _08037AA6
|
||||
adds r0, r4, 0
|
||||
adds r1, r5, 0
|
||||
bl strcmp
|
||||
cmp r0, 0
|
||||
beq _08037AA0
|
||||
movs r0, 0x1
|
||||
_08037AA0:
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _08037AB4
|
||||
_08037AA6:
|
||||
movs r0, 0
|
||||
b _08037B1E
|
||||
.align 2, 0
|
||||
_08037AAC: .4byte gUnknown_202EC40
|
||||
_08037AB0: .4byte gUnknown_80E6E50
|
||||
_08037AB4:
|
||||
ldr r1, [sp, 0x10]
|
||||
cmp r1, 0
|
||||
bne _08037AC0
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x1
|
||||
beq _08037B1C
|
||||
_08037AC0:
|
||||
cmp r1, 0x1
|
||||
bne _08037ACA
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0
|
||||
beq _08037B1C
|
||||
_08037ACA:
|
||||
cmp r1, 0x2
|
||||
bne _08037AD4
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x3
|
||||
beq _08037B1C
|
||||
_08037AD4:
|
||||
cmp r1, 0x3
|
||||
bne _08037ADE
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x2
|
||||
beq _08037B1C
|
||||
_08037ADE:
|
||||
cmp r1, 0x9
|
||||
bne _08037AE8
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0xA
|
||||
beq _08037B1C
|
||||
_08037AE8:
|
||||
cmp r1, 0xA
|
||||
bne _08037AF2
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x9
|
||||
beq _08037B1C
|
||||
_08037AF2:
|
||||
cmp r1, 0x4
|
||||
bne _08037AFC
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x5
|
||||
beq _08037B1C
|
||||
_08037AFC:
|
||||
cmp r1, 0x5
|
||||
bne _08037B06
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x4
|
||||
beq _08037B1C
|
||||
_08037B06:
|
||||
cmp r1, 0x6
|
||||
bne _08037B10
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x7
|
||||
beq _08037B1C
|
||||
_08037B10:
|
||||
cmp r1, 0x7
|
||||
bne _08037B1A
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x6
|
||||
beq _08037B1C
|
||||
_08037B1A:
|
||||
movs r6, 0
|
||||
_08037B1C:
|
||||
adds r0, r6, 0
|
||||
_08037B1E:
|
||||
add sp, 0x28
|
||||
pop {r4-r6}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_8037A48
|
||||
|
||||
thumb_func_start sub_8037B28
|
||||
sub_8037B28:
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x14
|
||||
adds r4, r0, 0
|
||||
movs r5, 0
|
||||
bl sub_800D414
|
||||
ldr r0, _08037B58
|
||||
str r5, [r0]
|
||||
ldr r5, _08037B5C
|
||||
mov r0, sp
|
||||
movs r1, 0
|
||||
movs r2, 0x14
|
||||
bl MemoryFill8
|
||||
mov r0, sp
|
||||
adds r1, r5, 0
|
||||
bl strcpy
|
||||
str r4, [sp, 0x10]
|
||||
mov r0, sp
|
||||
movs r1, 0x14
|
||||
bl sub_800D59C
|
||||
b _08037B7A
|
||||
.align 2, 0
|
||||
_08037B58: .4byte gUnknown_202EC38
|
||||
_08037B5C: .4byte gUnknown_80E6E50
|
||||
_08037B60:
|
||||
cmp r5, 0x3
|
||||
beq _08037BCC
|
||||
cmp r5, 0x4
|
||||
beq _08037BD8
|
||||
cmp r5, 0x5
|
||||
beq _08037BF0
|
||||
ldr r2, _08037BC0
|
||||
ldr r1, [r2]
|
||||
ldr r0, _08037BC4
|
||||
cmp r1, r0
|
||||
bgt _08037BE4
|
||||
adds r0, r1, 0x1
|
||||
str r0, [r2]
|
||||
_08037B7A:
|
||||
movs r4, 0
|
||||
_08037B7C:
|
||||
bl sub_80373C4
|
||||
bl sub_8012AE8
|
||||
cmp r0, 0x3
|
||||
bgt _08037B8C
|
||||
cmp r0, 0x2
|
||||
bge _08037BF0
|
||||
_08037B8C:
|
||||
adds r4, 0x1
|
||||
cmp r4, 0
|
||||
ble _08037B7C
|
||||
bl sub_800D33C
|
||||
adds r5, r0, 0
|
||||
bl sub_800D570
|
||||
cmp r5, 0x2
|
||||
bne _08037B60
|
||||
bl sub_800D600
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _08037BFC
|
||||
bl sub_8037A48
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
bne _08037BC8
|
||||
movs r4, 0x4
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
b _08037C06
|
||||
.align 2, 0
|
||||
_08037BC0: .4byte gUnknown_202EC38
|
||||
_08037BC4: .4byte 0x00000707
|
||||
_08037BC8:
|
||||
movs r4, 0
|
||||
b _08037C06
|
||||
_08037BCC:
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
movs r0, 0x2
|
||||
b _08037C08
|
||||
_08037BD8:
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
movs r0, 0x3
|
||||
b _08037C08
|
||||
_08037BE4:
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
movs r0, 0xF
|
||||
b _08037C08
|
||||
_08037BF0:
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
movs r0, 0x1
|
||||
b _08037C08
|
||||
_08037BFC:
|
||||
movs r4, 0x5
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
_08037C06:
|
||||
adds r0, r4, 0
|
||||
_08037C08:
|
||||
add sp, 0x14
|
||||
pop {r4,r5}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_8037B28
|
||||
|
||||
.align 2,0
|
||||
272
asm/other_menus1.s
Normal file
272
asm/other_menus1.s
Normal file
@@ -0,0 +1,272 @@
|
||||
#include "asm/constants/gba_constants.inc"
|
||||
#include "asm/macros.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
thumb_func_start sub_8037810
|
||||
sub_8037810:
|
||||
push {r4-r6,lr}
|
||||
ldr r6, _080378FC
|
||||
ldr r0, [r6]
|
||||
movs r5, 0xDE
|
||||
lsls r5, 1
|
||||
adds r0, r5
|
||||
movs r1, 0
|
||||
movs r2, 0x8
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r4, 0xE2
|
||||
lsls r4, 1
|
||||
adds r0, r4
|
||||
movs r1, 0
|
||||
movs r2, 0x8
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
adds r5, r0, r5
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
str r1, [r5]
|
||||
str r2, [r5, 0x4]
|
||||
adds r4, r0, r4
|
||||
str r1, [r4]
|
||||
str r2, [r4, 0x4]
|
||||
movs r2, 0xE6
|
||||
lsls r2, 1
|
||||
adds r0, r2
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r3, 0xFE
|
||||
lsls r3, 1
|
||||
adds r0, r3
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r1, 0x8B
|
||||
lsls r1, 2
|
||||
adds r0, r1
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r2, 0x97
|
||||
lsls r2, 2
|
||||
adds r0, r2
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r3, 0xA3
|
||||
lsls r3, 2
|
||||
adds r0, r3
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r1, 0xC5
|
||||
lsls r1, 2
|
||||
adds r0, r1
|
||||
movs r1, 0
|
||||
movs r2, 0x30
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r2, 0xAF
|
||||
lsls r2, 2
|
||||
adds r0, r2
|
||||
movs r1, 0
|
||||
movs r2, 0x58
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r3, 0xD1
|
||||
lsls r3, 2
|
||||
adds r0, r3
|
||||
movs r1, 0
|
||||
movs r2, 0x58
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r1, 0xE7
|
||||
lsls r1, 2
|
||||
adds r0, r1
|
||||
movs r1, 0
|
||||
movs r2, 0xB4
|
||||
bl MemoryFill8
|
||||
ldr r0, [r6]
|
||||
movs r2, 0x8A
|
||||
lsls r2, 3
|
||||
adds r0, r2
|
||||
movs r1, 0
|
||||
movs r2, 0xB4
|
||||
bl MemoryFill8
|
||||
ldr r2, [r6]
|
||||
movs r3, 0xB1
|
||||
lsls r3, 2
|
||||
adds r0, r2, r3
|
||||
movs r1, 0
|
||||
strh r1, [r0]
|
||||
adds r3, 0x88
|
||||
adds r0, r2, r3
|
||||
strh r1, [r0]
|
||||
pop {r4-r6}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.align 2, 0
|
||||
_080378FC: .4byte sUnknown_203B35C
|
||||
thumb_func_end sub_8037810
|
||||
|
||||
thumb_func_start sub_8037900
|
||||
sub_8037900:
|
||||
push {r4,lr}
|
||||
sub sp, 0x10
|
||||
ldr r4, _08037928
|
||||
ldr r0, [r4]
|
||||
movs r1, 0xAE
|
||||
lsls r1, 1
|
||||
adds r0, r1
|
||||
movs r1, 0
|
||||
bl sub_8035CC0
|
||||
ldr r0, [r4]
|
||||
ldr r0, [r0]
|
||||
cmp r0, 0xA
|
||||
bls _0803791E
|
||||
b _08037A14
|
||||
_0803791E:
|
||||
lsls r0, 2
|
||||
ldr r1, _0803792C
|
||||
adds r0, r1
|
||||
ldr r0, [r0]
|
||||
mov pc, r0
|
||||
.align 2, 0
|
||||
_08037928: .4byte sUnknown_203B35C
|
||||
_0803792C: .4byte _08037930
|
||||
.align 2, 0
|
||||
_08037930:
|
||||
.4byte _0803795C
|
||||
.4byte _0803795C
|
||||
.4byte _0803797C
|
||||
.4byte _0803797C
|
||||
.4byte _0803799C
|
||||
.4byte _0803799C
|
||||
.4byte _080379BC
|
||||
.4byte _080379BC
|
||||
.4byte _08037A14
|
||||
.4byte _080379F0
|
||||
.4byte _080379F0
|
||||
_0803795C:
|
||||
ldr r0, _08037970
|
||||
ldr r1, [r0]
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x1C
|
||||
movs r2, 0xAE
|
||||
lsls r2, 1
|
||||
adds r1, r2
|
||||
ldr r3, _08037974
|
||||
ldr r2, _08037978
|
||||
b _080379CE
|
||||
.align 2, 0
|
||||
_08037970: .4byte sUnknown_203B35C
|
||||
_08037974: .4byte sUnknown_80E6554
|
||||
_08037978: .4byte sUnknown_80E656C
|
||||
_0803797C:
|
||||
ldr r0, _08037990
|
||||
ldr r1, [r0]
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x1C
|
||||
movs r2, 0xAE
|
||||
lsls r2, 1
|
||||
adds r1, r2
|
||||
ldr r3, _08037994
|
||||
ldr r2, _08037998
|
||||
b _080379CE
|
||||
.align 2, 0
|
||||
_08037990: .4byte sUnknown_203B35C
|
||||
_08037994: .4byte sUnknown_80E6554
|
||||
_08037998: .4byte sUnknown_80E65D8
|
||||
_0803799C:
|
||||
ldr r0, _080379B0
|
||||
ldr r1, [r0]
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x1C
|
||||
movs r2, 0xAE
|
||||
lsls r2, 1
|
||||
adds r1, r2
|
||||
ldr r3, _080379B4
|
||||
ldr r2, _080379B8
|
||||
b _080379CE
|
||||
.align 2, 0
|
||||
_080379B0: .4byte sUnknown_203B35C
|
||||
_080379B4: .4byte sUnknown_80E6554
|
||||
_080379B8: .4byte sUnknown_80E661C
|
||||
_080379BC:
|
||||
ldr r0, _080379E4
|
||||
ldr r1, [r0]
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x1C
|
||||
movs r2, 0xAE
|
||||
lsls r2, 1
|
||||
adds r1, r2
|
||||
ldr r3, _080379E8
|
||||
ldr r2, _080379EC
|
||||
_080379CE:
|
||||
str r2, [sp]
|
||||
movs r4, 0
|
||||
str r4, [sp, 0x4]
|
||||
movs r2, 0x6
|
||||
str r2, [sp, 0x8]
|
||||
str r4, [sp, 0xC]
|
||||
movs r2, 0
|
||||
bl SetMenuItems
|
||||
b _08037A14
|
||||
.align 2, 0
|
||||
_080379E4: .4byte sUnknown_203B35C
|
||||
_080379E8: .4byte sUnknown_80E6554
|
||||
_080379EC: .4byte sUnknown_80E665C
|
||||
_080379F0:
|
||||
ldr r0, _08037A38
|
||||
ldr r1, [r0]
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x1C
|
||||
movs r2, 0xAE
|
||||
lsls r2, 1
|
||||
adds r1, r2
|
||||
ldr r3, _08037A3C
|
||||
ldr r2, _08037A40
|
||||
str r2, [sp]
|
||||
movs r4, 0
|
||||
str r4, [sp, 0x4]
|
||||
movs r2, 0x6
|
||||
str r2, [sp, 0x8]
|
||||
str r4, [sp, 0xC]
|
||||
movs r2, 0
|
||||
bl SetMenuItems
|
||||
_08037A14:
|
||||
ldr r4, _08037A38
|
||||
ldr r0, [r4]
|
||||
adds r0, 0x1C
|
||||
movs r1, 0
|
||||
movs r2, 0x1
|
||||
bl sub_8035CF4
|
||||
bl sub_80373C4
|
||||
ldr r0, [r4]
|
||||
adds r0, 0x1C
|
||||
bl sub_80130A8
|
||||
add sp, 0x10
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.align 2, 0
|
||||
_08037A38: .4byte sUnknown_203B35C
|
||||
_08037A3C: .4byte sUnknown_80E6554
|
||||
_08037A40: .4byte sUnknown_80E667C
|
||||
thumb_func_end sub_8037900
|
||||
|
||||
thumb_func_start nullsub_202
|
||||
nullsub_202:
|
||||
bx lr
|
||||
thumb_func_end nullsub_202
|
||||
|
||||
|
||||
.align 2, 0
|
||||
242
asm/other_menus2.s
Normal file
242
asm/other_menus2.s
Normal file
@@ -0,0 +1,242 @@
|
||||
#include "asm/constants/gba_constants.inc"
|
||||
#include "asm/macros.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
thumb_func_start sub_8037A48
|
||||
sub_8037A48:
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x28
|
||||
movs r6, 0x1
|
||||
movs r0, 0
|
||||
mov r1, sp
|
||||
movs r2, 0x14
|
||||
bl sub_800D670
|
||||
add r4, sp, 0x14
|
||||
movs r0, 0x1
|
||||
adds r1, r4, 0
|
||||
movs r2, 0x14
|
||||
bl sub_800D670
|
||||
ldr r1, _08037AAC
|
||||
movs r3, 0x8
|
||||
adds r2, r1, 0
|
||||
adds r0, r2, 0x4
|
||||
_08037A6C:
|
||||
str r3, [r0]
|
||||
subs r0, 0x4
|
||||
cmp r0, r1
|
||||
bge _08037A6C
|
||||
ldr r0, [sp, 0x10]
|
||||
str r0, [r2]
|
||||
ldr r0, [r4, 0x10]
|
||||
str r0, [r2, 0x4]
|
||||
ldr r5, _08037AB0
|
||||
mov r0, sp
|
||||
adds r1, r5, 0
|
||||
bl strcmp
|
||||
cmp r0, 0
|
||||
beq _08037A8C
|
||||
movs r0, 0x1
|
||||
_08037A8C:
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
bne _08037AA6
|
||||
adds r0, r4, 0
|
||||
adds r1, r5, 0
|
||||
bl strcmp
|
||||
cmp r0, 0
|
||||
beq _08037AA0
|
||||
movs r0, 0x1
|
||||
_08037AA0:
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _08037AB4
|
||||
_08037AA6:
|
||||
movs r0, 0
|
||||
b _08037B1E
|
||||
.align 2, 0
|
||||
_08037AAC: .4byte gUnknown_202EC40
|
||||
_08037AB0: .4byte gUnknown_80E6E50
|
||||
_08037AB4:
|
||||
ldr r1, [sp, 0x10]
|
||||
cmp r1, 0
|
||||
bne _08037AC0
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x1
|
||||
beq _08037B1C
|
||||
_08037AC0:
|
||||
cmp r1, 0x1
|
||||
bne _08037ACA
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0
|
||||
beq _08037B1C
|
||||
_08037ACA:
|
||||
cmp r1, 0x2
|
||||
bne _08037AD4
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x3
|
||||
beq _08037B1C
|
||||
_08037AD4:
|
||||
cmp r1, 0x3
|
||||
bne _08037ADE
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x2
|
||||
beq _08037B1C
|
||||
_08037ADE:
|
||||
cmp r1, 0x9
|
||||
bne _08037AE8
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0xA
|
||||
beq _08037B1C
|
||||
_08037AE8:
|
||||
cmp r1, 0xA
|
||||
bne _08037AF2
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x9
|
||||
beq _08037B1C
|
||||
_08037AF2:
|
||||
cmp r1, 0x4
|
||||
bne _08037AFC
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x5
|
||||
beq _08037B1C
|
||||
_08037AFC:
|
||||
cmp r1, 0x5
|
||||
bne _08037B06
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x4
|
||||
beq _08037B1C
|
||||
_08037B06:
|
||||
cmp r1, 0x6
|
||||
bne _08037B10
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x7
|
||||
beq _08037B1C
|
||||
_08037B10:
|
||||
cmp r1, 0x7
|
||||
bne _08037B1A
|
||||
ldr r0, [r4, 0x10]
|
||||
cmp r0, 0x6
|
||||
beq _08037B1C
|
||||
_08037B1A:
|
||||
movs r6, 0
|
||||
_08037B1C:
|
||||
adds r0, r6, 0
|
||||
_08037B1E:
|
||||
add sp, 0x28
|
||||
pop {r4-r6}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_8037A48
|
||||
|
||||
thumb_func_start sub_8037B28
|
||||
sub_8037B28:
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x14
|
||||
adds r4, r0, 0
|
||||
movs r5, 0
|
||||
bl sub_800D414
|
||||
ldr r0, _08037B58
|
||||
str r5, [r0]
|
||||
ldr r5, _08037B5C
|
||||
mov r0, sp
|
||||
movs r1, 0
|
||||
movs r2, 0x14
|
||||
bl MemoryFill8
|
||||
mov r0, sp
|
||||
adds r1, r5, 0
|
||||
bl strcpy
|
||||
str r4, [sp, 0x10]
|
||||
mov r0, sp
|
||||
movs r1, 0x14
|
||||
bl sub_800D59C
|
||||
b _08037B7A
|
||||
.align 2, 0
|
||||
_08037B58: .4byte gUnknown_202EC38
|
||||
_08037B5C: .4byte gUnknown_80E6E50
|
||||
_08037B60:
|
||||
cmp r5, 0x3
|
||||
beq _08037BCC
|
||||
cmp r5, 0x4
|
||||
beq _08037BD8
|
||||
cmp r5, 0x5
|
||||
beq _08037BF0
|
||||
ldr r2, _08037BC0
|
||||
ldr r1, [r2]
|
||||
ldr r0, _08037BC4
|
||||
cmp r1, r0
|
||||
bgt _08037BE4
|
||||
adds r0, r1, 0x1
|
||||
str r0, [r2]
|
||||
_08037B7A:
|
||||
movs r4, 0
|
||||
_08037B7C:
|
||||
bl sub_80373C4
|
||||
bl sub_8012AE8
|
||||
cmp r0, 0x3
|
||||
bgt _08037B8C
|
||||
cmp r0, 0x2
|
||||
bge _08037BF0
|
||||
_08037B8C:
|
||||
adds r4, 0x1
|
||||
cmp r4, 0
|
||||
ble _08037B7C
|
||||
bl sub_800D33C
|
||||
adds r5, r0, 0
|
||||
bl sub_800D570
|
||||
cmp r5, 0x2
|
||||
bne _08037B60
|
||||
bl sub_800D600
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
beq _08037BFC
|
||||
bl sub_8037A48
|
||||
lsls r0, 24
|
||||
cmp r0, 0
|
||||
bne _08037BC8
|
||||
movs r4, 0x4
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
b _08037C06
|
||||
.align 2, 0
|
||||
_08037BC0: .4byte gUnknown_202EC38
|
||||
_08037BC4: .4byte 0x00000707
|
||||
_08037BC8:
|
||||
movs r4, 0
|
||||
b _08037C06
|
||||
_08037BCC:
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
movs r0, 0x2
|
||||
b _08037C08
|
||||
_08037BD8:
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
movs r0, 0x3
|
||||
b _08037C08
|
||||
_08037BE4:
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
movs r0, 0xF
|
||||
b _08037C08
|
||||
_08037BF0:
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
movs r0, 0x1
|
||||
b _08037C08
|
||||
_08037BFC:
|
||||
movs r4, 0x5
|
||||
bl sub_800D520
|
||||
bl sub_800D510
|
||||
_08037C06:
|
||||
adds r0, r4, 0
|
||||
_08037C08:
|
||||
add sp, 0x14
|
||||
pop {r4,r5}
|
||||
pop {r1}
|
||||
bx r1
|
||||
thumb_func_end sub_8037B28
|
||||
|
||||
.align 2,0
|
||||
36
charmap.txt
36
charmap.txt
@@ -1,3 +1,5 @@
|
||||
'\0' = 00
|
||||
'\n' = 0A
|
||||
' ' = 20
|
||||
'!' = 21
|
||||
'"' = 22
|
||||
@@ -238,10 +240,11 @@
|
||||
'ナ' = 83 69
|
||||
|
||||
POKE = 83 BF 83 C4
|
||||
|
||||
UNK_ICON_40 = 87 40
|
||||
STAR_BULLET = 87 42
|
||||
TM = 87 4E
|
||||
ORB = 87 4F
|
||||
|
||||
STAR_BULLET = 87 42
|
||||
A_BUTTON = 87 50
|
||||
B_BUTTON = 87 51
|
||||
L_BUTTON = 87 74
|
||||
@@ -250,9 +253,6 @@ SELECT_BUTTON = 87 72 87 73
|
||||
START_BUTTON = 87 53 87 71
|
||||
DPAD = 87 52
|
||||
|
||||
'\0' = 00
|
||||
'\n' = 0A
|
||||
|
||||
@ Character codes escaped with a '~'.
|
||||
APOSTROPHE = 7E 32 37 @ ~27
|
||||
COMMA = 7E 32 63 @ ~2c
|
||||
@@ -260,6 +260,14 @@ QUOTE_START = 7E 39 33 @ ~93
|
||||
QUOTE_END = 7E 39 34 @ ~94
|
||||
|
||||
@ Placeholders for message arguments to swap out for names within strings.
|
||||
ARG_FRIEND_AREA = 24 68 @ $h
|
||||
ARG_MOVE_ITEM_0 = 24 69 30 @ $i0
|
||||
ARG_MOVE_ITEM_1 = 24 69 31 @ $i1
|
||||
ARG_VALUE_0 = 24 64 30 @ $d0
|
||||
ARG_VALUE_1 = 24 64 31 @ $d1
|
||||
ARG_VALUE_2 = 24 64 32 @ $d2
|
||||
ARG_VALUE_3 = 24 64 33 @ $d3
|
||||
ARG_VALUE_4 = 24 64 34 @ $d4
|
||||
ARG_POKEMON_0 = 24 6D 30 @ $m0
|
||||
ARG_POKEMON_1 = 24 6D 31 @ $m1
|
||||
ARG_POKEMON_2 = 24 6D 32 @ $m2
|
||||
@@ -269,19 +277,17 @@ ARG_POKEMON_5 = 24 6D 35 @ $m5
|
||||
ARG_POKEMON_6 = 24 6D 36 @ $m6
|
||||
ARG_POKEMON_7 = 24 6D 37 @ $m7
|
||||
ARG_POKEMON_8 = 24 6D 38 @ $m8
|
||||
ARG_MOVE_ITEM_0 = 24 69 30 @ $i0
|
||||
ARG_MOVE_ITEM_1 = 24 69 31 @ $i1
|
||||
ARG_FRIEND_AREA = 24 68 @ $h
|
||||
ARG_NICKNAME_0 = 24 6E 30 @ $n0
|
||||
|
||||
@ TEXT MACROS
|
||||
@
|
||||
@ "#" is a text macro for different things
|
||||
@ case is insensitive but need different
|
||||
@ definitions to match
|
||||
@ case is insensitive but need different definitions to match
|
||||
|
||||
CENTER_ALIGN = 23 2B @ #+
|
||||
UNK_MACRO_3D = 23 3D @ #= (Probably used to manually position text at an x coordinate)
|
||||
EXTRA_MSG = 23 50 @ #P
|
||||
WAIT_PRESS = 23 57 @ #W
|
||||
CENTER_ALIGN = 23 2B @ #+
|
||||
NEW_LINE = 23 6E @ #n
|
||||
|
||||
|
||||
@@ -320,3 +326,11 @@ GREEN_2 = 49 @ I
|
||||
CYAN_3 = 4D @ M
|
||||
YELLOW_5 = 4E @ N
|
||||
RED_2 = 57 @ W
|
||||
|
||||
@ FOR UNK_MACRO_3D
|
||||
M3D_50 = 32 @ 2
|
||||
M3D_64 = 40 2E @ @.
|
||||
M3D_80 = 50 2E @ P.
|
||||
M3D_120 = 78 2E @ x.
|
||||
M3D_136 = 88 2E @ ˆ.
|
||||
M3D_160 = A0 2E @ \u00A0.
|
||||
@@ -1,3 +1,95 @@
|
||||
.section .rodata
|
||||
|
||||
@ credits1.c
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
|
||||
.global gUnknown_80E4A10
|
||||
gUnknown_80E4A10: @ 80E4A10
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80E4A28
|
||||
gUnknown_80E4A28: @ 80E4A28
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x1a, 0x00, 0x10, 0x00
|
||||
.byte 0x10, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80E4A40
|
||||
gUnknown_80E4A40: @ 80E4A40
|
||||
.byte 0x18, 0x18
|
||||
.byte 0x38, 0x00
|
||||
.byte 0x21, 0xff
|
||||
.byte 0x22, 0xff
|
||||
.byte 0x23, 0xff
|
||||
.byte 0x24, 0xff
|
||||
.byte 0x25, 0xff
|
||||
.byte 0x26, 0xff
|
||||
.byte 0x27, 0xff
|
||||
.byte 0x28, 0xff
|
||||
.byte 0x29, 0xff
|
||||
.byte 0x2a, 0xff
|
||||
.byte 0x2b, 0xff
|
||||
.byte 0x2c, 0xff
|
||||
.byte 0x2d, 0xff
|
||||
.byte 0x2e, 0xff
|
||||
.byte 0x2f, 0xff
|
||||
.byte 0x30, 0xff
|
||||
.byte 0x31, 0xff
|
||||
.byte 0x32, 0xff
|
||||
.byte 0x33, 0xff
|
||||
.byte 0x34, 0xff
|
||||
.byte 0x35, 0xff
|
||||
.byte 0x36, 0xff
|
||||
.byte 0x37, 0xff
|
||||
.byte 0x38, 0xff
|
||||
.byte 0x39, 0xff
|
||||
.byte 0x3a, 0xff
|
||||
.byte 0x41, 0xff
|
||||
.byte 0x42, 0xff
|
||||
.byte 0x43, 0xff
|
||||
.byte 0x44, 0xff
|
||||
.byte 0x45, 0xff
|
||||
.byte 0x46, 0xff
|
||||
.byte 0x47, 0xff
|
||||
.byte 0x48, 0xff
|
||||
.byte 0x49, 0xff
|
||||
.byte 0x4a, 0xff
|
||||
.byte 0x4b, 0xff
|
||||
.byte 0x4c, 0xff
|
||||
.byte 0x4d, 0xff
|
||||
.byte 0x4e, 0xff
|
||||
.byte 0x4f, 0xff
|
||||
.byte 0x50, 0xff
|
||||
.byte 0x51, 0xff
|
||||
.byte 0x52, 0xff
|
||||
.byte 0x53, 0xff
|
||||
.byte 0x54, 0xff
|
||||
.byte 0x55, 0xff
|
||||
.byte 0x56, 0xff
|
||||
.byte 0x57, 0xff
|
||||
.byte 0x58, 0xff
|
||||
.byte 0x59, 0xff
|
||||
.byte 0x5a, 0xff
|
||||
.byte 0x10, 0xff
|
||||
.byte 0x11, 0xff
|
||||
.byte 0x12, 0xff
|
||||
.byte 0x13, 0xff
|
||||
.byte 0x14, 0xff
|
||||
.byte 0x15, 0xff
|
||||
.byte 0x16, 0xff
|
||||
.byte 0x17, 0xff
|
||||
.byte 0x18, 0xff
|
||||
.byte 0x19, 0xff
|
||||
|
||||
@ Actual Start of Credits
|
||||
.global Credits_StaffCredits
|
||||
Credits_StaffCredits:
|
||||
@@ -915,6 +1007,4 @@ gCreditsTable: @ 80E591C
|
||||
.4byte Credits_OriginalDirector
|
||||
.4byte Credits_Producers
|
||||
.4byte Credits_ExecutiveProducer
|
||||
.4byte Credits_ExecutiveProducer2
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
.4byte Credits_ExecutiveProducer2
|
||||
3086
data/data_80D47B8.s
3086
data/data_80D47B8.s
File diff suppressed because it is too large
Load Diff
368
data/data_80DAF70.s
Normal file
368
data/data_80DAF70.s
Normal file
@@ -0,0 +1,368 @@
|
||||
.section .rodata
|
||||
|
||||
.align 2, 0
|
||||
@ START code_80130A8 #3
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_80DAF70
|
||||
gUnknown_80DAF70: @ 80DAF70
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DAF88
|
||||
gUnknown_80DAF88: @ 80DAF88
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x1a, 0x00, 0x0c, 0x00
|
||||
.byte 0x0c, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DAFA0
|
||||
gUnknown_80DAFA0: @ 80DAFA0
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x16, 0x00, 0x0f, 0x00
|
||||
.byte 0x06, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
@ END code_80130A8 #3
|
||||
|
||||
@ START code_80130A8 #4
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_80DAFC0
|
||||
gUnknown_80DAFC0: @ 80DAFC0
|
||||
.2byte 3, 0xD
|
||||
.2byte 0xF, 0xD
|
||||
.2byte 0x1B, 0xD
|
||||
.2byte 0x27, 0xD
|
||||
.2byte 0x33, 0xD
|
||||
.2byte 0x40, 0xF
|
||||
.2byte 0x4C, 0xF
|
||||
.2byte 0x58, 0xF
|
||||
.2byte 0x64, 0xF
|
||||
.2byte 0x70, 0xF
|
||||
.2byte 0x7C, 0xF
|
||||
.2byte 0x88, 0xF
|
||||
.2byte 0x94, 0xF
|
||||
.2byte 0xA1, 0xD
|
||||
.2byte 0xAD, 0xD
|
||||
.2byte 0xB9, 0xD
|
||||
.2byte 0xC5, 0xD
|
||||
.2byte 0xD1, 0xD
|
||||
.2byte 3, 0x1A
|
||||
.2byte 0xF, 0x1A
|
||||
.2byte 0x1B, 0x1A
|
||||
.2byte 0x27, 0x1A
|
||||
.2byte 0x33, 0x1A
|
||||
.2byte 0x40, 0x1C
|
||||
.2byte 0x4C, 0x1C
|
||||
.2byte 0x58, 0x1C
|
||||
.2byte 0x64, 0x1C
|
||||
.2byte 0x70, 0x1C
|
||||
.2byte 0x7C, 0x1C
|
||||
.2byte 0x88, 0x1C
|
||||
.2byte 0x94, 0x1C
|
||||
.2byte 0xA1, 0x1A
|
||||
.2byte 0xAD, 0x1A
|
||||
.2byte 0xB9, 0x1A
|
||||
.2byte 0xC5, 0x1A
|
||||
.2byte 0xD1, 0x1A
|
||||
.2byte 3, 0x28
|
||||
.2byte 0xF, 0x28
|
||||
.2byte 0x1B, 0x28
|
||||
.2byte 0x27, 0x28
|
||||
.2byte 0x33, 0x28
|
||||
.2byte 0x40, 0x2A
|
||||
.2byte 0x4C, 0x2A
|
||||
.2byte 0x58, 0x2A
|
||||
.2byte 0x64, 0x2A
|
||||
.2byte 0x70, 0x2A
|
||||
.2byte 0x7C, 0x2A
|
||||
.2byte 0x88, 0x2A
|
||||
.2byte 0x94, 0x2A
|
||||
.2byte 0xA1, 0x28
|
||||
.2byte 0xAD, 0x28
|
||||
.2byte 0xB9, 0x28
|
||||
.2byte 0xC5, 0x28
|
||||
.2byte 0xD1, 0x28
|
||||
|
||||
.global gUnknown_80DB098
|
||||
gUnknown_80DB098: @ 80DB098
|
||||
.2byte 0x20, 0x12
|
||||
.2byte 0x2E, 0x12
|
||||
.2byte 0x3C, 0x12
|
||||
.2byte 0x4A, 0x12
|
||||
.2byte 0x58, 0x14
|
||||
.2byte 0x66, 0x14
|
||||
.2byte 0x74, 0x14
|
||||
.2byte 0x82, 0x14
|
||||
.2byte 0x90, 0x12
|
||||
.2byte 0x9E, 0x12
|
||||
.2byte 0xAC, 0x12
|
||||
.2byte 0xBA, 0x12
|
||||
.2byte 0x20, 0x24
|
||||
.2byte 0x2E, 0x24
|
||||
.2byte 0x3C, 0x24
|
||||
.2byte 0x4A, 0x24
|
||||
.2byte 0x58, 0x26
|
||||
.2byte 0x66, 0x26
|
||||
.2byte 0x74, 0x26
|
||||
.2byte 0x82, 0x26
|
||||
.2byte 0x90, 0x24
|
||||
.2byte 0x9E, 0x24
|
||||
.2byte 0xAC, 0x24
|
||||
.2byte 0xBA, 0x24
|
||||
|
||||
.global gUnknown_80DB0F8
|
||||
gUnknown_80DB0F8: @ 80DB0F8
|
||||
.macro st_80DB0F8, a, b, c, d, e, f, g, h
|
||||
.byte \a, \b, \c, \d, \e, \f, \g
|
||||
.align 2, 0
|
||||
.4byte \h
|
||||
.endm
|
||||
st_80DB0F8 0, 0, 0, 0, 8, 3, 0, 264
|
||||
st_80DB0F8 0, 0, 0, 0, 8, 14, 0, 264
|
||||
st_80DB0F8 0, 0, 0, 0, 8, 25, 0, 264
|
||||
st_80DB0F8 5, 4, 81, 9, 8, 36, 3, 263
|
||||
st_80DB0F8 3, 5, 82, 10, 8, 47, 3, 261
|
||||
st_80DB0F8 4, 3, 83, 11, 8, 58, 3, 262
|
||||
st_80DB0F8 11, 7, 78, 12, 36, 3, 0, 97
|
||||
st_80DB0F8 6, 8, 79, 13, 36, 14, 0, 110
|
||||
st_80DB0F8 7, 9, 80, 14, 36, 25, 0, 65
|
||||
st_80DB0F8 8, 10, 3, 15, 36, 36, 0, 78
|
||||
st_80DB0F8 9, 11, 4, 16, 36, 47, 0, 233
|
||||
st_80DB0F8 10, 6, 5, 17, 36, 58, 0, 43
|
||||
st_80DB0F8 17, 13, 6, 18, 50, 3, 0, 98
|
||||
st_80DB0F8 12, 14, 7, 19, 50, 14, 0, 111
|
||||
st_80DB0F8 13, 15, 8, 20, 50, 25, 0, 66
|
||||
st_80DB0F8 14, 16, 9, 21, 50, 36, 0, 79
|
||||
st_80DB0F8 15, 17, 10, 22, 50, 47, 0, 49
|
||||
st_80DB0F8 16, 12, 11, 23, 50, 58, 0, 45
|
||||
st_80DB0F8 23, 19, 12, 24, 64, 3, 0, 99
|
||||
st_80DB0F8 18, 20, 13, 25, 64, 14, 0, 112
|
||||
st_80DB0F8 19, 21, 14, 26, 64, 25, 0, 67
|
||||
st_80DB0F8 20, 22, 15, 27, 64, 36, 0, 80
|
||||
st_80DB0F8 21, 23, 16, 28, 64, 47, 0, 50
|
||||
st_80DB0F8 22, 18, 17, 29, 64, 58, 0, 44
|
||||
st_80DB0F8 29, 25, 18, 30, 78, 3, 0, 100
|
||||
st_80DB0F8 24, 26, 19, 31, 78, 14, 0, 113
|
||||
st_80DB0F8 25, 27, 20, 32, 78, 25, 0, 68
|
||||
st_80DB0F8 26, 28, 21, 33, 78, 36, 0, 81
|
||||
st_80DB0F8 27, 29, 22, 34, 78, 47, 0, 51
|
||||
st_80DB0F8 28, 24, 23, 35, 78, 58, 0, 46
|
||||
st_80DB0F8 35, 31, 24, 36, 92, 3, 0, 101
|
||||
st_80DB0F8 30, 32, 25, 37, 92, 14, 0, 114
|
||||
st_80DB0F8 31, 33, 26, 38, 92, 25, 0, 69
|
||||
st_80DB0F8 32, 34, 27, 39, 92, 36, 0, 82
|
||||
st_80DB0F8 33, 35, 28, 40, 92, 47, 0, 52
|
||||
st_80DB0F8 34, 30, 29, 41, 92, 58, 0, 33
|
||||
st_80DB0F8 41, 37, 30, 42, 106, 3, 0, 102
|
||||
st_80DB0F8 36, 38, 31, 43, 106, 14, 0, 115
|
||||
st_80DB0F8 37, 39, 32, 44, 106, 25, 0, 70
|
||||
st_80DB0F8 38, 40, 33, 45, 106, 36, 0, 83
|
||||
st_80DB0F8 39, 41, 34, 46, 106, 47, 0, 53
|
||||
st_80DB0F8 40, 36, 35, 47, 106, 58, 0, 63
|
||||
st_80DB0F8 47, 43, 36, 48, 120, 3, 0, 103
|
||||
st_80DB0F8 42, 44, 37, 49, 120, 14, 0, 116
|
||||
st_80DB0F8 43, 45, 38, 50, 120, 25, 0, 71
|
||||
st_80DB0F8 44, 46, 39, 51, 120, 36, 0, 84
|
||||
st_80DB0F8 45, 47, 40, 52, 120, 47, 0, 54
|
||||
st_80DB0F8 46, 42, 41, 53, 120, 58, 0, 145
|
||||
st_80DB0F8 53, 49, 42, 54, 134, 3, 0, 104
|
||||
st_80DB0F8 48, 50, 43, 55, 134, 14, 0, 117
|
||||
st_80DB0F8 49, 51, 44, 56, 134, 25, 0, 72
|
||||
st_80DB0F8 50, 52, 45, 57, 134, 36, 0, 85
|
||||
st_80DB0F8 51, 53, 46, 58, 134, 47, 0, 55
|
||||
st_80DB0F8 52, 48, 47, 59, 134, 58, 0, 146
|
||||
st_80DB0F8 59, 55, 48, 60, 148, 3, 0, 105
|
||||
st_80DB0F8 54, 56, 49, 61, 148, 14, 0, 118
|
||||
st_80DB0F8 55, 57, 50, 62, 148, 25, 0, 73
|
||||
st_80DB0F8 56, 58, 51, 63, 148, 36, 0, 86
|
||||
st_80DB0F8 57, 59, 52, 64, 148, 47, 0, 56
|
||||
st_80DB0F8 58, 54, 53, 65, 148, 58, 0, 147
|
||||
st_80DB0F8 65, 61, 54, 66, 162, 3, 0, 106
|
||||
st_80DB0F8 60, 62, 55, 67, 162, 14, 0, 119
|
||||
st_80DB0F8 61, 63, 56, 68, 162, 25, 0, 74
|
||||
st_80DB0F8 62, 64, 57, 69, 162, 36, 0, 87
|
||||
st_80DB0F8 63, 65, 58, 70, 162, 47, 0, 57
|
||||
st_80DB0F8 64, 60, 59, 71, 162, 58, 0, 148
|
||||
st_80DB0F8 71, 67, 60, 72, 176, 3, 0, 107
|
||||
st_80DB0F8 66, 68, 61, 73, 176, 14, 0, 120
|
||||
st_80DB0F8 67, 69, 62, 74, 176, 25, 0, 75
|
||||
st_80DB0F8 68, 70, 63, 75, 176, 36, 0, 88
|
||||
st_80DB0F8 69, 71, 64, 76, 176, 47, 0, 48
|
||||
st_80DB0F8 70, 66, 65, 77, 176, 58, 0, 189
|
||||
st_80DB0F8 77, 73, 66, 78, 190, 3, 0, 108
|
||||
st_80DB0F8 72, 74, 67, 79, 190, 14, 0, 121
|
||||
st_80DB0F8 73, 75, 68, 80, 190, 25, 0, 76
|
||||
st_80DB0F8 74, 76, 69, 81, 190, 36, 0, 89
|
||||
st_80DB0F8 75, 77, 70, 82, 190, 47, 0, 58
|
||||
st_80DB0F8 76, 72, 71, 83, 190, 58, 0, 190
|
||||
st_80DB0F8 83, 79, 72, 6, 204, 3, 0, 109
|
||||
st_80DB0F8 78, 80, 73, 7, 204, 14, 0, 122
|
||||
st_80DB0F8 79, 81, 74, 8, 204, 25, 0, 77
|
||||
st_80DB0F8 80, 82, 75, 3, 204, 36, 0, 90
|
||||
st_80DB0F8 81, 83, 76, 4, 204, 47, 0, 133
|
||||
st_80DB0F8 82, 78, 77, 5, 204, 58, 0, 32
|
||||
st_80DB0F8 0, 0, 0, 0, 8, 3, 2, 265
|
||||
|
||||
.global gUnknown_80DB4F4
|
||||
gUnknown_80DB4F4: @ 80DB4F4
|
||||
.4byte sUnknown_80DB534
|
||||
.4byte sUnknown_80DB530
|
||||
.4byte sUnknown_80DB528
|
||||
.4byte sUnknown_80DB520
|
||||
.4byte sUnknown_80DB518
|
||||
.4byte sUnknown_80DB514
|
||||
.4byte sUnknown_80DB510
|
||||
|
||||
sUnknown_80DB510:
|
||||
.string "END\0"
|
||||
.align 2, 0
|
||||
|
||||
sUnknown_80DB514:
|
||||
.string "DEL\0"
|
||||
.align 2, 0
|
||||
|
||||
sUnknown_80DB518:
|
||||
.string "ABC\0"
|
||||
.align 2, 0
|
||||
|
||||
sUnknown_80DB520:
|
||||
.string "カナ\0"
|
||||
.align 2, 0
|
||||
|
||||
sUnknown_80DB528:
|
||||
.string "かな\0"
|
||||
.align 2, 0
|
||||
|
||||
sUnknown_80DB530:
|
||||
.string "゜\0"
|
||||
.align 2, 0
|
||||
|
||||
sUnknown_80DB534:
|
||||
.string "゛\0"
|
||||
.align 2, 0
|
||||
|
||||
.global gUnknown_80DB538
|
||||
gUnknown_80DB538: @ 80DB538
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DB550
|
||||
gUnknown_80DB550: @ 80DB550
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x01, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x01, 0x00
|
||||
.byte 0x0a, 0x00
|
||||
.byte 0x1c, 0x00
|
||||
.byte 0x09, 0x00
|
||||
.byte 0x09, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DB568
|
||||
gUnknown_80DB568: @ 80DB568
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x01, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x04, 0x00
|
||||
.byte 0x03, 0x00
|
||||
.byte 0x16, 0x00
|
||||
.byte 0x05, 0x00
|
||||
.byte 0x05, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DB580
|
||||
gUnknown_80DB580: @ 80DB580
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x01, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x01, 0x00
|
||||
.byte 0x02, 0x00
|
||||
.byte 0x1c, 0x00
|
||||
.byte 0x07, 0x00
|
||||
.byte 0x07, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DB598
|
||||
gUnknown_80DB598: @ 80DB598
|
||||
.string "{COLOR_1 GREEN}OVR{END_COLOR_TEXT_1}\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB5A4
|
||||
gUnknown_80DB5A4: @ 80DB5A4
|
||||
.string "{COLOR_1 YELLOW}INS{END_COLOR_TEXT_1}\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB5B0
|
||||
gUnknown_80DB5B0: @ 80DB5B0
|
||||
.string "{COLOR_1}%c"
|
||||
.byte 0x81, 0x59
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB5B8
|
||||
gUnknown_80DB5B8: @ 80DB5B8
|
||||
.string "{COLOR_1}%c%s\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB5C0
|
||||
gUnknown_80DB5C0: @ 80DB5C0
|
||||
.string "What is your name?\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB5D4
|
||||
gUnknown_80DB5D4: @ 80DB5D4
|
||||
.string "What is this Pokémon{APOSTROPHE}s nickname?\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB5F8
|
||||
gUnknown_80DB5F8: @ 80DB5F8
|
||||
.string "What is your partner{APOSTROPHE}s nickname?\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB61C
|
||||
gUnknown_80DB61C: @ 80DB61C
|
||||
.string "What is your team{APOSTROPHE}s name?\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB638
|
||||
gUnknown_80DB638: @ 80DB638
|
||||
.string "Please enter the password.\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB654
|
||||
gUnknown_80DB654: @ 80DB654
|
||||
.string "{COLOR_1 RED}%s{END_COLOR_TEXT_1}\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB65C
|
||||
gUnknown_80DB65C: @ 80DB65C
|
||||
.string "{COLOR_1 CYAN}%s{END_COLOR_TEXT_1}\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DB664
|
||||
gUnknown_80DB664: @ 80DB664
|
||||
.string "%s\0"
|
||||
.align 2,0
|
||||
|
||||
@ END code_80130A8 #4
|
||||
@@ -1,365 +0,0 @@
|
||||
.section .rodata
|
||||
|
||||
@ code_801C620 #1
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_80DBD98
|
||||
gUnknown_80DBD98: @ 80DBD98
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
|
||||
.global gUnknown_80DBDB0
|
||||
gUnknown_80DBDB0: @ 80DBDB0
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x04, 0x00
|
||||
.byte 0x06, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DBDC8
|
||||
gUnknown_80DBDC8: @ 80DBDC8
|
||||
.string "Switch\0"
|
||||
|
||||
@ code_801C620 #2
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBDD8
|
||||
gUnknown_80DBDD8: @ 80DBDD8
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DBDF0
|
||||
gUnknown_80DBDF0: @ 80DBDF0
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x10, 0x00, 0x11, 0x00
|
||||
.byte 0x13, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DBE08
|
||||
gUnknown_80DBE08: @ 80DBE08
|
||||
.string "IQ Skills\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBE14
|
||||
gUnknown_80DBE14: @ 80DBE14
|
||||
.byte 0x87, 0x42, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DBE18
|
||||
gUnknown_80DBE18: @ 80DBE18
|
||||
.byte 0x87, 0x40, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DBE1C
|
||||
gUnknown_80DBE1C: @ 80DBE1C
|
||||
.string "{ARG_MOVE_ITEM_0}{ARG_MOVE_ITEM_1}\0"
|
||||
|
||||
@ code_801C620 #3
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBE2C
|
||||
gUnknown_80DBE2C: @ 80DBE2C
|
||||
.string "{ARG_MOVE_ITEM_0}\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBE30
|
||||
gUnknown_80DBE30: @ 80DBE30
|
||||
.string "{ARG_POKEMON_0}\0"
|
||||
|
||||
@ code_801C620 #4
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBE3C
|
||||
gUnknown_80DBE3C: @ 80DBE3C
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DBE54
|
||||
gUnknown_80DBE54: @ 80DBE54
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x10, 0x00, 0x0E, 0x00
|
||||
.byte 0x10, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DBE6C
|
||||
gUnknown_80DBE6C: @ 80DBE6C
|
||||
|
||||
@ code_801C620 #5
|
||||
.string "Storage\0"
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBE7C
|
||||
gUnknown_80DBE7C: @ 80DBE7C
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global UnkData_80DBE94
|
||||
UnkData_80DBE94:
|
||||
.byte 0x01, 0x00, 0x07, 0x00
|
||||
|
||||
.global gUnknown_80DBE98
|
||||
gUnknown_80DBE98: @ 80DBE98
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x09, 0x00, 0x06, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte UnkData_80DBE94
|
||||
|
||||
.global gUnknown_80DBEB0
|
||||
gUnknown_80DBEB0: @ 80DBEB0
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x03, 0x00, 0x08, 0x00, 0x06, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x0c, 0x00, 0x04, 0x00, 0x10, 0x00, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x0e, 0x00, 0x1a, 0x00, 0x04, 0x00
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gMenuItems
|
||||
gMenuItems: @ 80DBF10
|
||||
.string "Items\0"
|
||||
.align 2,0
|
||||
|
||||
.global gMenuTeam
|
||||
gMenuTeam: @ 80DBF18
|
||||
.string "Team\0"
|
||||
.align 2,0
|
||||
|
||||
.global gMenuJobList
|
||||
gMenuJobList: @ 80DBF20
|
||||
.string "Job List\0"
|
||||
.align 2,0
|
||||
|
||||
.global gMenuOthers
|
||||
gMenuOthers: @ 80DBF2C
|
||||
.string "Others\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBF34
|
||||
gUnknown_80DBF34: @ 80DBF34
|
||||
.byte 0x81, 0x48
|
||||
.byte 0x81, 0x48
|
||||
.byte 0x81, 0x48
|
||||
.byte 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DBF3C
|
||||
gUnknown_80DBF3C: @ 80DBF3C
|
||||
.string "%s {COLOR_1 CYAN}%d{END_COLOR_TEXT_1} Pts.\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBF4C
|
||||
gUnknown_80DBF4C: @ 80DBF4C
|
||||
.string "Money: {COLOR_1 CYAN}%d{END_COLOR_TEXT_1} {POKE}"
|
||||
.align 2,0
|
||||
|
||||
.global gTeamRankBadgeFileName
|
||||
gTeamRankBadgeFileName: @ 80DBF60
|
||||
.string "tmrkpat\0"
|
||||
|
||||
@ code_801D760
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBF70
|
||||
gUnknown_80DBF70: @ 80DBF70
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DBF88
|
||||
gUnknown_80DBF88: @ 80DBF88
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x18, 0x00, 0x11, 0x00
|
||||
.byte 0x11, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DBFA0
|
||||
gUnknown_80DBFA0: @ 80DBFA0
|
||||
.string "Field\0"
|
||||
|
||||
@ options_menu #1
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBFB0
|
||||
gUnknown_80DBFB0: @ 80DBFB0
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global UnkData_80DBFC8
|
||||
UnkData_80DBFC8:
|
||||
.byte 0x01, 0x00, 0x07, 0x00
|
||||
|
||||
.global gUnknown_80DBFCC
|
||||
gUnknown_80DBFCC: @ 80DBFCC
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x0A, 0x00, 0x06, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte UnkData_80DBFC8
|
||||
|
||||
.global gOthers_MenuOption
|
||||
gOthers_MenuOption: @ 80DBFE4
|
||||
.string "Others\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DBFEC
|
||||
gUnknown_80DBFEC: @ 80DBFEC
|
||||
.string "Change settings?\0"
|
||||
.align 2,0
|
||||
|
||||
.global gOthers_GameOptions
|
||||
gOthers_GameOptions: @ 80DC000
|
||||
.string "Game Options\0"
|
||||
.align 2,0
|
||||
|
||||
.global gOthers_Hints
|
||||
gOthers_Hints: @ 80DC010
|
||||
.string "Hints\0"
|
||||
|
||||
@ options_menu #2
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC020
|
||||
gUnknown_80DC020: @ 80DC020
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global UnkData_80DC038
|
||||
UnkData_80DC038:
|
||||
.byte 0x01, 0x00, 0x0a, 0x00
|
||||
|
||||
.global gUnknown_80DC03C
|
||||
gUnknown_80DC03C: @ 80DC03C
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x18, 0x00, 0x10, 0x00
|
||||
.byte 0x12, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte UnkData_80DC038
|
||||
|
||||
.global gWindowBGTitle
|
||||
gWindowBGTitle: @ 80DC054
|
||||
.string "Game Options\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC064
|
||||
gUnknown_80DC064: @ 80DC064
|
||||
.string "Windows#=P.Blue#=x.Red#="
|
||||
.byte 0xA0
|
||||
.string ".Green\0"
|
||||
.align 2,0
|
||||
|
||||
.global gWindowBGBlueString
|
||||
gWindowBGBlueString: @ 80DC084
|
||||
.string "Blue\0"
|
||||
.align 2,0
|
||||
|
||||
.global gWindowBGRedString
|
||||
gWindowBGRedString: @ 80DC08C
|
||||
.string "Red\0"
|
||||
.align 2,0
|
||||
|
||||
.global gWindowBGGreenString
|
||||
gWindowBGGreenString: @ 80DC090
|
||||
.string "Green\0"
|
||||
|
||||
@ hints_menu #1
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC0A0
|
||||
gUnknown_80DC0A0: @ 80DC0A0
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global Data_80DC0B8
|
||||
Data_80DC0B8:
|
||||
.byte 0x01, 0x00, 0x08, 0x00
|
||||
|
||||
.global gUnknown_80DC0BC
|
||||
gUnknown_80DC0BC: @ 80DC0BC
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x18, 0x00, 0x0E, 0x00
|
||||
.byte 0x0E, 0x00, 0x00, 0x00
|
||||
|
||||
.4byte Data_80DC0B8
|
||||
|
||||
.global gUnknown_80DC0D4
|
||||
gUnknown_80DC0D4: @ 80DC0D4
|
||||
.string "Hints\0"
|
||||
|
||||
@ hints_menu #2
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC0E4
|
||||
gUnknown_80DC0E4: @ 80DC0E4
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC0FC
|
||||
gUnknown_80DC0FC: @ 80DC0FC
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x1a, 0x00, 0x10, 0x00
|
||||
.byte 0x10, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
@@ -1,413 +0,0 @@
|
||||
.section .rodata
|
||||
|
||||
@ wigglytuff_shop1
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC464
|
||||
gUnknown_80DC464: @ 80DC464
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC47C
|
||||
gUnknown_80DC47C: @ 80DC47C
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x06, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x02, 0x00
|
||||
.byte 0x02, 0x00
|
||||
.byte 0x11, 0x00
|
||||
.byte 0x11, 0x00
|
||||
.byte 0x11, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC494
|
||||
gUnknown_80DC494: @ 80DC494
|
||||
.string "Friend Areas\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC4A4
|
||||
gUnknown_80DC4A4: @ 80DC4A4
|
||||
.string "{COLOR_1 RED}%s{END_COLOR_TEXT_1}\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC4AC
|
||||
gUnknown_80DC4AC: @ 80DC4AC
|
||||
.string "{COLOR_1 GREEN}%s{END_COLOR_TEXT_1}\0"
|
||||
.align 2,0
|
||||
|
||||
@ wigglytuff_shop2
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC4BC
|
||||
gUnknown_80DC4BC: @ 80DC4BC
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC4D4
|
||||
gUnknown_80DC4D4: @ 80DC4D4
|
||||
.byte 0x01, 0x00, 0x12, 0x00
|
||||
|
||||
.global gUnknown_80DC4D8
|
||||
gUnknown_80DC4D8: @ 80DC4D8
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x06, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.byte 0x02, 0x00
|
||||
.byte 0x02, 0x00
|
||||
.byte 0x1a, 0x00
|
||||
.byte 0x11, 0x00
|
||||
.byte 0x11, 0x00
|
||||
.byte 0x00, 0x00
|
||||
|
||||
.4byte gUnknown_80DC4D4
|
||||
|
||||
.global gUnknown_80DC4F0
|
||||
gUnknown_80DC4F0: @ 80DC4F0
|
||||
.string "Inhabitants (Friends: {COLOR_2 CYAN}Light blue{END_COLOR_TEXT_2})\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC518
|
||||
gUnknown_80DC518: @ 80DC518
|
||||
.string "Inhabitants\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC524
|
||||
gUnknown_80DC524: @ 80DC524
|
||||
.string "{COLOR_2 CYAN}%s{END_COLOR_TEXT_2}\0"
|
||||
.align 2,0
|
||||
|
||||
@ wigglytuff_shop3
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC534
|
||||
gUnknown_80DC534: @ 80DC534
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC54C
|
||||
gUnknown_80DC54C: @ 80DC54C
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x15, 0x00, 0x04, 0x00
|
||||
.byte 0x06, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC564
|
||||
gUnknown_80DC564: @ 80DC564
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x15, 0x00, 0x0e, 0x00
|
||||
.byte 0x06, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
@ code_8023144
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC584
|
||||
gUnknown_80DC584: @ 80DC584
|
||||
.4byte Yes_80DC5A0
|
||||
.byte 0x02, 0x00, 0x00, 0x00
|
||||
.4byte No_80DC59C
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x01, 0x00, 0x00, 0x00
|
||||
|
||||
.global No_80DC59C
|
||||
No_80DC59C:
|
||||
.string "No\0"
|
||||
.align 2,0
|
||||
.global Yes_80DC5A0
|
||||
Yes_80DC5A0:
|
||||
.string "Yes\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC5A4
|
||||
gUnknown_80DC5A4: @ 80DC5A4
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC5BC
|
||||
gUnknown_80DC5BC: @ 80DC5BC
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x04, 0x00
|
||||
.byte 0x06, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC5D4
|
||||
gUnknown_80DC5D4: @ 80DC5D4
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x0b, 0x00
|
||||
.byte 0x06, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC5EC
|
||||
gUnknown_80DC5EC: @ 80DC5EC
|
||||
.byte 0x81, 0x48
|
||||
.byte 0x81, 0x48
|
||||
.byte 0x81, 0x48
|
||||
.byte 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC5F4
|
||||
gUnknown_80DC5F4: @ 80DC5F4
|
||||
.string "It doesn{APOSTROPHE}t appear to be hungry.\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC618
|
||||
gUnknown_80DC618: @ 80DC618
|
||||
.string "{ARG_POKEMON_1} took the Gummi and ate it.\n"
|
||||
.string "This Gummi looks like a big favorite!\n"
|
||||
.string "{ARG_POKEMON_1}{APOSTROPHE}s IQ went up!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC674
|
||||
gUnknown_80DC674: @ 80DC674
|
||||
.string "{ARG_POKEMON_1} took the Gummi and ate it.\n"
|
||||
.string "This Gummi looks like a favorite!\n"
|
||||
.string "{ARG_POKEMON_1}{APOSTROPHE}s IQ went up!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC6CC
|
||||
gUnknown_80DC6CC: @ 80DC6CC
|
||||
.string "{ARG_POKEMON_1} took the Gummi and ate it.\n"
|
||||
.string "It doesn{APOSTROPHE}t seem to dislike this Gummi.\n"
|
||||
.string "{ARG_POKEMON_1}{APOSTROPHE}s IQ went up!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC728
|
||||
gUnknown_80DC728: @ 80DC728
|
||||
.string "{ARG_POKEMON_1} took the Gummi and ate it.\n"
|
||||
.string "It appears to be just a little satisfied.\n"
|
||||
.string "{ARG_POKEMON_1}{APOSTROPHE}s IQ went up!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC788
|
||||
gUnknown_80DC788: @ 80DC788
|
||||
.string "{ARG_POKEMON_1}{APOSTROPHE}s IQ helped it learn how to\n"
|
||||
.string "use {ARG_MOVE_ITEM_1}!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC7B4
|
||||
gUnknown_80DC7B4: @ 80DC7B4
|
||||
.string "Yes! {ARG_POKEMON_1} grew explosively!\n"
|
||||
.string "Attack{COMMA} Defense{COMMA} and so on rose by 1!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC7FC
|
||||
gUnknown_80DC7FC: @ 80DC7FC
|
||||
.string "Yes!\n"
|
||||
.string "{ARG_POKEMON_1}{APOSTROPHE}s Attack rose by 1!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC81C
|
||||
gUnknown_80DC81C: @ 80DC81C
|
||||
.string "Yes!\n"
|
||||
.string "{ARG_POKEMON_1}{APOSTROPHE}s Special Attack rose by 1!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC844
|
||||
gUnknown_80DC844: @ 80DC844
|
||||
.string "Yes!\n"
|
||||
.string "{ARG_POKEMON_1}{APOSTROPHE}s Defense rose by 1!\0"
|
||||
.align 2,0
|
||||
|
||||
|
||||
.global gUnknown_80DC864
|
||||
gUnknown_80DC864: @ 80DC864
|
||||
.string "Yes!\n"
|
||||
.string "{ARG_POKEMON_1}{APOSTROPHE}s Special Defense rose by 1!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC88C
|
||||
gUnknown_80DC88C: @ 80DC88C
|
||||
.string "You don{APOSTROPHE}t have any Gummis.\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC8AC
|
||||
gUnknown_80DC8AC: @ 80DC8AC
|
||||
.string "You don{APOSTROPHE}t have an item.\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC8C8
|
||||
gUnknown_80DC8C8: @ 80DC8C8
|
||||
.string "The Gummi is gone!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC8DC
|
||||
gUnknown_80DC8DC: @ 80DC8DC
|
||||
.string "The item is gone!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC8F0
|
||||
gUnknown_80DC8F0: @ 80DC8F0
|
||||
.string "Give\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC8F8
|
||||
gUnknown_80DC8F8: @ 80DC8F8
|
||||
.string "Use\0"
|
||||
.align 2,0
|
||||
|
||||
@ code_8023144 #2
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC904
|
||||
gUnknown_80DC904: @ 80DC904
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC91C
|
||||
gUnknown_80DC91C: @ 80DC91C
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x0f, 0x00, 0x0e, 0x00
|
||||
.byte 0x0e, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC934
|
||||
gUnknown_80DC934: @ 80DC934
|
||||
.string "Pokémon\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC93C
|
||||
gUnknown_80DC93C: @ 80DC93C
|
||||
.string "{COLOR_2}%c%s{END_COLOR_TEXT_2}\0"
|
||||
.align 2,0
|
||||
|
||||
@ code_801EE10_1
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC950
|
||||
gUnknown_80DC950: @ 80DC950
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC968
|
||||
gUnknown_80DC968: @ 80DC968
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x0f, 0x00, 0x0e, 0x00
|
||||
.byte 0x0e, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC980
|
||||
gUnknown_80DC980: @ 80DC980
|
||||
.string "Friends\0"
|
||||
|
||||
.global gUnknown_80DC988
|
||||
gUnknown_80DC988: @ 80DC988
|
||||
.string "Pokémon Friends\0"
|
||||
|
||||
.global gUnknown_80DC998
|
||||
gUnknown_80DC998: @ 80DC998
|
||||
.string "{COLOR_2}%c%s{END_COLOR_TEXT_2}\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC9A4
|
||||
gUnknown_80DC9A4: @ 80DC9A4
|
||||
.string "%s\0"
|
||||
.align 2,0
|
||||
|
||||
@ code_801EE10_1 #2
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC9B0
|
||||
gUnknown_80DC9B0: @ 80DC9B0
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DC9C8
|
||||
gUnknown_80DC9C8: @ 80DC9C8
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x12, 0x00, 0x0e, 0x00
|
||||
.byte 0x12, 0x00, 0x02, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
@ luminous_cave
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80DC9E8
|
||||
gUnknown_80DC9E8: @ 80DC9E8
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DCA00
|
||||
gUnknown_80DCA00: @ 80DCA00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x14, 0x00, 0x04, 0x00
|
||||
.byte 0x06, 0x00, 0x03, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80DCA18
|
||||
gUnknown_80DCA18: @ 80DCA18
|
||||
.string "Evolve\0"
|
||||
.align 2,0
|
||||
.4byte gUnknown_80DCA18
|
||||
|
||||
.global gUnknown_80DCA24
|
||||
gUnknown_80DCA24: @ 80DCA24
|
||||
.string "No\0"
|
||||
.align 2,0
|
||||
.4byte gUnknown_80DCA24
|
||||
|
||||
.global gUnknown_80DCA2C
|
||||
gUnknown_80DCA2C: @ 80DCA2C
|
||||
.string "Yes\0"
|
||||
.align 2,0
|
||||
.4byte gUnknown_80DCA2C
|
||||
@@ -1,6 +1,9 @@
|
||||
.section .rodata
|
||||
|
||||
.global gUnknown_80E7F3C
|
||||
@ code_803B050 #1
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.global gUnknown_80E7F3C
|
||||
gUnknown_80E7F3C: @ 80E7F3C
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
@@ -9,7 +12,7 @@ gUnknown_80E7F3C: @ 80E7F3C
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80E7F54
|
||||
.global gUnknown_80E7F54
|
||||
gUnknown_80E7F54: @ 80E7F54
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x00, 0x00
|
||||
@@ -18,19 +21,27 @@ gUnknown_80E7F54: @ 80E7F54
|
||||
.byte 0x11, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80E7F6C
|
||||
.global gUnknown_80E7F6C
|
||||
gUnknown_80E7F6C: @ 80E7F6C
|
||||
.string "Script\0"
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
@ code_803B050 #2
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ code_803B050 #3
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ code_803B050 #4
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ code_803B050 #5
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
|
||||
.align 2,0
|
||||
.global gUnknown_80E7F94
|
||||
gUnknown_80E7F94: @ 80E7F94
|
||||
.macro st_80E7F94 a, b, c, e, f, g, h, i, j, k, m, n
|
||||
@@ -75,7 +86,7 @@ sUnknown_80E8088: @ 80E8088
|
||||
.string "SHOW TITLE00\0"
|
||||
.align 2, 0
|
||||
|
||||
sUnknown_80E8098: @ 80E8098
|
||||
@ code_803B050 #6 (code_803C1D0)
|
||||
.string "pksdir0\0"
|
||||
.align 2, 0
|
||||
|
||||
@@ -1174,12 +1185,13 @@ gRewardText: @ 80E8B74
|
||||
gUnknown_80E8B7C: @ 80E8B7C
|
||||
.string "Wonder Mail:\0"
|
||||
.align 2,0
|
||||
|
||||
@ code_803B050 #7
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80E8B94
|
||||
gUnknown_80E8B94: @ 80E8B94
|
||||
@ replacing .incbin "baserom.gba", 0x000e8b94, 0x38
|
||||
.4byte UnkData_80E8BC8
|
||||
.4byte UnkData_80E8BC4
|
||||
.4byte UnkData_80E8BC0
|
||||
|
||||
@@ -8376,9 +8376,7 @@ gUnknown_80FE748: @ 80FE748
|
||||
|
||||
.global OptionsSpeed
|
||||
OptionsSpeed:
|
||||
.string "Speed#=P.Slow#="
|
||||
.byte 0x88
|
||||
.string ".Fast\0"
|
||||
.string "Speed{UNK_MACRO_3D M3D_80}Slow{UNK_MACRO_3D M3D_136}Fast\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80FE764
|
||||
@@ -8387,10 +8385,7 @@ gUnknown_80FE764: @ 80FE764
|
||||
|
||||
.global OptionsFarOffPals
|
||||
OptionsFarOffPals:
|
||||
.string "Far-off pals#="
|
||||
.string "P.Self#="
|
||||
.byte 0x88
|
||||
.string ".Look\0"
|
||||
.string "Far-off pals{UNK_MACRO_3D M3D_80}Self{UNK_MACRO_3D M3D_136}Look\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80FE788
|
||||
@@ -8399,10 +8394,7 @@ gUnknown_80FE788: @ 80FE788
|
||||
|
||||
.global OptionsDamageTurn
|
||||
OptionsDamageTurn:
|
||||
.string "Damage turn#=P."
|
||||
.string "No#="
|
||||
.byte 0x88
|
||||
.string ".Yes\0"
|
||||
.string "Damage turn{UNK_MACRO_3D M3D_80}No{UNK_MACRO_3D M3D_136}Yes\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80FE7A8
|
||||
@@ -8411,10 +8403,7 @@ gUnknown_80FE7A8: @ 80FE7A8
|
||||
|
||||
.global OptionsGrid
|
||||
OptionsGrid:
|
||||
.string "Grids#=P."
|
||||
.string "Off#="
|
||||
.byte 0x88
|
||||
.string ".On\0"
|
||||
.string "Grids{UNK_MACRO_3D M3D_80}Off{UNK_MACRO_3D M3D_136}On\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80FE7C0
|
||||
@@ -8423,11 +8412,7 @@ gUnknown_80FE7C0: @ 80FE7C0
|
||||
|
||||
.global OptionsMap
|
||||
OptionsMap:
|
||||
.string "Map#=P."
|
||||
.string "Off#=x."
|
||||
.string "Clear#="
|
||||
.byte 0xa0
|
||||
.string ".Shade\0"
|
||||
.string "Map{UNK_MACRO_3D M3D_80}Off{UNK_MACRO_3D M3D_120}Clear{UNK_MACRO_3D M3D_160}Shade\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_80FE7E4
|
||||
@@ -8438,11 +8423,7 @@ gUnknown_80FE7E4: @ 80FE7E4
|
||||
|
||||
.global OptionsWindowColor
|
||||
OptionsWindowColor:
|
||||
.string "Windows#=P."
|
||||
.string "Blue#=x."
|
||||
.string "Red#="
|
||||
.byte 0xa0
|
||||
.string ".Green\0"
|
||||
.string "Windows{UNK_MACRO_3D M3D_80}Blue{UNK_MACRO_3D M3D_120}Red{UNK_MACRO_3D M3D_160}Green\0"
|
||||
.align 2,0
|
||||
|
||||
.global gOptionsWindowColorPtr
|
||||
@@ -9671,7 +9652,7 @@ gUnknown_8100208: @ 8100208
|
||||
|
||||
.global gMagnitudeMessage
|
||||
gMagnitudeMessage: @ 810020C
|
||||
.string "It{APOSTROPHE}s Magnitude $d0!\0"
|
||||
.string "It{APOSTROPHE}s Magnitude {ARG_VALUE_0}!\0"
|
||||
.align 2, 0
|
||||
|
||||
.global gPtrMagnitudeMessage
|
||||
@@ -9707,7 +9688,7 @@ gPtrSelfHealPreventedHungerMessage: @ 8100298
|
||||
|
||||
.global gUnknown_810029C
|
||||
gUnknown_810029C: @ 810029C
|
||||
.string "Rescue challenges left: $d0\0"
|
||||
.string "Rescue challenges left: {ARG_VALUE_0}\0"
|
||||
.align 2, 0
|
||||
|
||||
.global gUnknown_81002B8
|
||||
@@ -11350,7 +11331,8 @@ gArticunoPostStoryPreFightDialogue_2: @ 81029B4
|
||||
.global gUnknown_81029C0
|
||||
gUnknown_81029C0:
|
||||
.string " Your arrival in this frozen\n"
|
||||
.string "forest means only one thing...{EXTRA_MSG} You mean to challenge me!\0"
|
||||
.string "forest means only one thing...{EXTRA_MSG}"
|
||||
.string " You mean to challenge me!\0"
|
||||
|
||||
.global gArticunoPostStoryPreFightDialogue_3
|
||||
gArticunoPostStoryPreFightDialogue_3: @ 8102A18
|
||||
@@ -11995,7 +11977,8 @@ gRayquazaPreFightDialogue_4: @ 81035D4
|
||||
.global gUnknown_81035E0
|
||||
gUnknown_81035E0:
|
||||
.string " Indeed I am.{WAIT_PRESS}\n"
|
||||
.string "The sky is my domain.{EXTRA_MSG} Depart at once!\0"
|
||||
.string "The sky is my domain.{EXTRA_MSG}"
|
||||
.string " Depart at once!\0"
|
||||
.align 2,0
|
||||
|
||||
.global gRayquazaPreFightDialogue_5
|
||||
|
||||
@@ -290,7 +290,7 @@ gUnknown_8106E5C: @ 8106E5C
|
||||
.global gUnknown_8106E6C
|
||||
gUnknown_8106E6C: @ 8106E6C
|
||||
.string "Say bye to\n"
|
||||
.string "$d0 more\0"
|
||||
.string "{ARG_VALUE_0} more\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8106E80
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
.section .rodata
|
||||
|
||||
.string "pksdir0\0"
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ START code_80718D8
|
||||
@ sub_807218C
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_8107010
|
||||
gUnknown_8107010: @ 8107010
|
||||
@@ -27,9 +28,6 @@ gUnknown_8107028:
|
||||
.global gUnknown_810702C
|
||||
gUnknown_810702C:
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ END code_80718D8
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
@@ -75,7 +73,9 @@ gUnknown_810702C:
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ START code_807CD9C
|
||||
|
||||
@ sub_807DF38
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_81070E8
|
||||
gUnknown_81070E8:
|
||||
@@ -98,26 +98,35 @@ gUnknown_8107178: @ 8107178
|
||||
.4byte gUnknown_81070E8
|
||||
.4byte gUnknown_81070E8
|
||||
.4byte gUnknown_8107110
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ END code_807CD9C
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ sub_8080B30 - sub_808217C
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_81071D4
|
||||
@@ -127,19 +136,24 @@ gUnknown_81071D4: @ 81071D4
|
||||
.global gUnknown_81071E0
|
||||
gUnknown_81071E0: @ 81071E0
|
||||
.byte 0x82, 0xdd, 0x82, 0xb3, 0x82, 0xab, 0x97, 0x6c, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ START code_808417C #1
|
||||
.string "pksdir0\0"
|
||||
|
||||
.byte 0x70, 0x6b, 0x73, 0x64
|
||||
.byte 0x69, 0x72, 0x30, 0x00
|
||||
@@ -148,10 +162,11 @@ gUnknown_81071E0: @ 81071E0
|
||||
gUnknown_8107224: @ 8107224
|
||||
@ replacing .incbin "baserom.gba", 0x107224, 0x10
|
||||
.byte 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x00, 0x00
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ END code_808417C #1
|
||||
|
||||
@ code_8085B0C
|
||||
.string "pksdir0\0"
|
||||
.global gUnknown_8107234
|
||||
gUnknown_8107234: @ 8107234
|
||||
.byte 0x01, 0x01, 0x00, 0x02, 0x01, 0x03, 0x00, 0x00, 0x02, 0x04, 0x02, 0x05, 0x03, 0x06, 0x00, 0x00
|
||||
@@ -189,13 +204,15 @@ gUnknown_8107374: @ 8107374
|
||||
.global gUnknown_8107380
|
||||
gUnknown_8107380: @ 8107380
|
||||
.byte 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ code_8086A3C #1
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_810739C
|
||||
gUnknown_810739C: @ 810739C
|
||||
@ replacing .incbin "baserom.gba", 0x10739C, 0x38
|
||||
.byte 0x04, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00, 0x18, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x02, 0x00, 0x18, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
@@ -203,7 +220,6 @@ gUnknown_810739C: @ 810739C
|
||||
|
||||
.global gUnknown_81073D4
|
||||
gUnknown_81073D4: @ 81073D4
|
||||
@ replacing .incbin "baserom.gba", 0x1073D4, 0x38
|
||||
.byte 0x04, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00, 0x18, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x02, 0x00, 0x18, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00
|
||||
.byte 0x06, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
@@ -211,56 +227,86 @@ gUnknown_81073D4: @ 81073D4
|
||||
|
||||
.global gUnknown_810740C
|
||||
gUnknown_810740C: @ 810740C
|
||||
@ replacing .incbin "baserom.gba", 0x10740C, 0x40
|
||||
.byte 0x04, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00, 0x18, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x0a, 0x00, 0x08, 0x00, 0x00, 0x00
|
||||
|
||||
@ code_8086A3C #2
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_810744C
|
||||
gUnknown_810744C: @ 810744C
|
||||
@ replacing .incbin "baserom.gba", 0x10744C, 0x18
|
||||
.byte 0x01, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_8107464
|
||||
gUnknown_8107464: @ 8107464
|
||||
@ replacing .incbin "baserom.gba", 0x107464, 0x98
|
||||
.byte 0x05, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x00, 0x00
|
||||
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00, 0x00, 0x00
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_81074FC
|
||||
gUnknown_81074FC: @ 81074FC
|
||||
@ replacing .incbin "baserom.gba", 0x1074FC, 0x48
|
||||
.byte 0x4e, 0x4f, 0x50, 0x51, 0x4a, 0x49, 0x3e, 0x38
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_8107544
|
||||
gUnknown_8107544: @ 8107544
|
||||
@ replacing .incbin "baserom.gba", 0x107544, 0xB0
|
||||
.byte 0x02, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x17, 0x00, 0x08, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x07, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x08, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||
@@ -272,6 +318,8 @@ gUnknown_8107544: @ 8107544
|
||||
.byte 0x0d, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x17, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00
|
||||
.byte 0x12, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
@ pokemon
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_81075F4
|
||||
@@ -345,6 +393,8 @@ gUnknown_81076C4: @ 81076C4
|
||||
.4byte -4
|
||||
.4byte -8
|
||||
.4byte -16
|
||||
|
||||
@ pokemon_3 #1
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gIQSkillGroups
|
||||
@@ -373,7 +423,11 @@ gIQSkillGroups: @ 81076E4
|
||||
.4byte 9
|
||||
.4byte 17
|
||||
.4byte 6
|
||||
|
||||
@ pokemon_3 #2
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ pokemon_3 #3
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_8107754
|
||||
@@ -418,6 +472,8 @@ gUnknown_8107790: @ 8107790
|
||||
gUnknown_8107798: @ 8107798
|
||||
.string "Info\0"
|
||||
.align 2,0
|
||||
|
||||
@ dungeon
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
@@ -1184,12 +1240,13 @@ gUnknown_8108F4A: @ 8108F4A
|
||||
gUnknown_8108F50: @ 8108F50
|
||||
.string "No problem.\0"
|
||||
.align 2,0
|
||||
|
||||
@ items.c
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8108F64
|
||||
gUnknown_8108F64: @ 8108F64
|
||||
@ replacing .incbin "baserom.gba", 0x108F64, 0x800
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x2c, 0x01, 0x04, 0x00, 0x00, 0x02, 0x00, 0x00
|
||||
@@ -1396,9 +1453,10 @@ gUnknown_81097F8: @ 81097F8
|
||||
.byte 0x13, 0x00, 0x00, 0x00
|
||||
.byte 0x15, 0x00, 0x00, 0x00
|
||||
.byte 0x17, 0x00, 0x00, 0x00
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ START rescue_team_info.c
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gRescueRankMaxPoints
|
||||
gRescueRankMaxPoints: @ 8109810
|
||||
.4byte 50
|
||||
@@ -1412,9 +1470,11 @@ gRescueRankMaxPoints: @ 8109810
|
||||
.global gTeamNamePlaceholder
|
||||
gTeamNamePlaceholder: @ 810982C
|
||||
.string "Pokémon\0"
|
||||
.string "pksdir0\0"
|
||||
@ END rescue_team_info.c
|
||||
|
||||
@ text_util
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gUnknown_810983C
|
||||
gUnknown_810983C: @ 810983C
|
||||
.4byte gUnknown_8109888
|
||||
@@ -1457,13 +1517,15 @@ gUnknown_8109884:
|
||||
.global gUnknown_8109888
|
||||
gUnknown_8109888:
|
||||
.byte 0x82, 0x4f, 0x00, 0x00
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ START friend_area.c
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global sUnknown_81098A4
|
||||
sUnknown_81098A4: @ 81098A4
|
||||
@@ -1472,11 +1534,13 @@ sUnknown_81098A4: @ 81098A4
|
||||
|
||||
.global sUnknown_81098AC
|
||||
sUnknown_81098AC: @ 81098AC
|
||||
.string "%s#=%c{COLOR_1 UNK_COLOR_4}%s{END_COLOR_TEXT_1}\0"
|
||||
.string "%s{UNK_MACRO_3D}%c{COLOR_1 UNK_COLOR_4}%s{END_COLOR_TEXT_1}\0"
|
||||
.align 2,0
|
||||
@ END friend_area.c
|
||||
|
||||
@ moves.c
|
||||
.string "pksdir0"
|
||||
|
||||
@ END friend_area.c
|
||||
|
||||
.align 2,0
|
||||
.global gUnknown_81098C4
|
||||
@@ -1513,7 +1577,7 @@ gUnknown_810990C: @ 810990C
|
||||
|
||||
.global gUnknown_8109910
|
||||
gUnknown_8109910: @ 8109910
|
||||
.string "{COLOR_2}%c%s%s%s#=%c%2d/%2d{END_COLOR_TEXT_2}\0"
|
||||
.string "{COLOR_2}%c%s%s%s{UNK_MACRO_3D}%c%2d/%2d{END_COLOR_TEXT_2}\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8109928
|
||||
@@ -1533,12 +1597,20 @@ gUnknown_810992C: @ 810992C
|
||||
gUnknown_8109930: @ 8109930
|
||||
.string "{ARG_POKEMON_0}\0"
|
||||
.align 2,0
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
@ game_options.c
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
@@ -1548,19 +1620,29 @@ gWindowBGColors: @ 8109954
|
||||
.byte 0x80, 0x38, 0x20, 0x00
|
||||
.byte 0x28, 0x80, 0x48, 0x00
|
||||
.byte 0x28, 0x80, 0x48, 0x00
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8109984
|
||||
gUnknown_8109984: @ 8109984
|
||||
.byte 0x00, 0x01, 0x02, 0x03, 0x04, 0x02, 0x01, 0x00
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.global gStoryMissionText
|
||||
@@ -1746,7 +1828,9 @@ gDummyScenarioText: @ 8109CA8
|
||||
gUnknown_8109CC0: @ 8109CC0
|
||||
.string "{COLOR_1 RED_2}???{END_COLOR_TEXT_1}\0"
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ code_80972F4.c
|
||||
.string "pksdir0\0"
|
||||
|
||||
.global gMeetNinetalesText
|
||||
gMeetNinetalesText: @ 8109CD4
|
||||
@@ -1763,9 +1847,17 @@ gFinalScenarioText: @ 8109CF4
|
||||
@ replacing .incbin "baserom.gba", 0x109CF4, 0x3C
|
||||
.byte 0x44, 0x65, 0x66, 0x65, 0x61, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x66, 0x69, 0x6e, 0x61, 0x6c
|
||||
.byte 0x20, 0x50, 0x6f, 0x6b, 0xe9, 0x6d, 0x6f, 0x6e, 0x2e, 0x00, 0x00, 0x00
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ ???.c
|
||||
.string "pksdir0\0"
|
||||
|
||||
@ 8109D30
|
||||
@@ -1860,7 +1952,6 @@ gUnknown_810A3F0: @ 810A3F0 (money related according to PMDe
|
||||
gTypeGummiIQBoost: @ 810A580
|
||||
// s16[0x12][NUMBER_OF_GUMMIS = 18]
|
||||
// relates [type][gummi tyep] -> iq boost amount
|
||||
@ replacing .incbin "baserom.gba", 0x10A580, 0x288
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00
|
||||
@@ -1905,7 +1996,6 @@ gTypeGummiIQBoost: @ 810A580
|
||||
|
||||
.global gUnknown_810A808
|
||||
gUnknown_810A808: @ 810A808
|
||||
@ replacing .incbin "baserom.gba", 0x10A808, 0x288
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x19, 0x00, 0x19, 0x00, 0x19, 0x00, 0x19, 0x00
|
||||
|
||||
@@ -250,32 +250,32 @@ AllFriendAreas_810B2A4:
|
||||
|
||||
.global NumFloorsExplored_810B2C4
|
||||
NumFloorsExplored_810B2C4:
|
||||
.string "$d0 floors were explored.\0"
|
||||
.string "{ARG_VALUE_0} floors were explored.\0"
|
||||
.align 2,0
|
||||
|
||||
.global NumThievingAttempts_810B2E0
|
||||
NumThievingAttempts_810B2E0:
|
||||
.string "$d0 thieving attempts succeeded.\0"
|
||||
.string "{ARG_VALUE_0} thieving attempts succeeded.\0"
|
||||
.align 2,0
|
||||
|
||||
.global NumPokemonJoined_810B304
|
||||
NumPokemonJoined_810B304:
|
||||
.string "$d0 Pokémon joined the team.\0"
|
||||
.string "{ARG_VALUE_0} Pokémon joined the team.\0"
|
||||
.align 2,0
|
||||
|
||||
.global NumPokemonEvolved_810B324
|
||||
NumPokemonEvolved_810B324:
|
||||
.string "$d0 Pokémon evolved.\0"
|
||||
.string "{ARG_VALUE_0} Pokémon evolved.\0"
|
||||
.align 2,0
|
||||
|
||||
.global NumFriendRescues_810B33C
|
||||
NumFriendRescues_810B33C:
|
||||
.string "$d0 Friend Rescues were successful.\0"
|
||||
.string "{ARG_VALUE_0} Friend Rescues were successful.\0"
|
||||
.align 2,0
|
||||
|
||||
.global NumMoves_810B360
|
||||
NumMoves_810B360:
|
||||
.string "$d0 moves were learned.\0"
|
||||
.string "{ARG_VALUE_0} moves were learned.\0"
|
||||
.align 2,0
|
||||
|
||||
.global SpottedMunchlax_810B378
|
||||
@@ -1557,7 +1557,7 @@ MoveRangeThreeTilesDiagonally:
|
||||
|
||||
.global RangeText
|
||||
RangeText:
|
||||
.string "Range#=@.{ARG_POKEMON_0} \0"
|
||||
.string "Range{UNK_MACRO_3D M3D_64}{ARG_POKEMON_0} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_810CF00
|
||||
@@ -2461,7 +2461,7 @@ gIQSkill810DD68_Ptr: @ 810DD68
|
||||
|
||||
.global Level_810DD6C
|
||||
Level_810DD6C:
|
||||
.string "Level: #>82.$d0 \0"
|
||||
.string "Level: #>82.{ARG_VALUE_0} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gLevel810DD6C_Ptr
|
||||
@@ -2470,7 +2470,7 @@ gLevel810DD6C_Ptr: @ 810DD80
|
||||
|
||||
.global ExpPts_810DD84
|
||||
ExpPts_810DD84:
|
||||
.string "Exp. Pts.: #>82.$d1 \0"
|
||||
.string "Exp. Pts.: #>82.{ARG_VALUE_1} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gExpPts810DD9C_Ptr
|
||||
@@ -2479,7 +2479,7 @@ gExpPts810DD9C_Ptr: @ 810DD9C
|
||||
|
||||
.global ToNextLevel_810DDA0
|
||||
ToNextLevel_810DDA0:
|
||||
.string "To next level:#>82.$d0\0"
|
||||
.string "To next level:#>82.{ARG_VALUE_0}\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_810DDB8
|
||||
@@ -5129,7 +5129,7 @@ gUnknown_8113870: @ 8113870
|
||||
|
||||
.global Level_8113874
|
||||
Level_8113874:
|
||||
.string "Level #>42.$d1#>64.Exp. Pts. $d0 \0"
|
||||
.string "Level #>42.{ARG_VALUE_1}#>64.Exp. Pts. {ARG_VALUE_0} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8113898
|
||||
@@ -5138,7 +5138,7 @@ gUnknown_8113898: @ 8113898
|
||||
|
||||
.global Level_811389C
|
||||
Level_811389C:
|
||||
.string "Level #>35.$d1#>64.Exp. Pts.$d0 \0"
|
||||
.string "Level #>35.{ARG_VALUE_1}#>64.Exp. Pts.{ARG_VALUE_0} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_81138C0
|
||||
@@ -5147,7 +5147,7 @@ gUnknown_81138C0: @ 81138C0
|
||||
|
||||
.global HP_81138C4
|
||||
HP_81138C4:
|
||||
.string "HP#>42.$d0 \0"
|
||||
.string "HP#>42.{ARG_VALUE_0} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_81138D0
|
||||
@@ -5156,7 +5156,7 @@ gUnknown_81138D0: @ 81138D0
|
||||
|
||||
.global Attack_81138D4
|
||||
Attack_81138D4:
|
||||
.string "Attack#>42.$d0 \0"
|
||||
.string "Attack#>42.{ARG_VALUE_0} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_81138E4
|
||||
@@ -5165,7 +5165,7 @@ gUnknown_81138E4: @ 81138E4
|
||||
|
||||
.global Defense_81138E8
|
||||
Defense_81138E8:
|
||||
.string "#>80.Defense#>128.$d1 \0"
|
||||
.string "#>80.Defense#>128.{ARG_VALUE_1} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8113900
|
||||
@@ -5174,7 +5174,7 @@ gUnknown_8113900: @ 8113900
|
||||
|
||||
.global SpAtk_8113904
|
||||
SpAtk_8113904:
|
||||
.string "Sp. Atk.#>42.$d0 \0"
|
||||
.string "Sp. Atk.#>42.{ARG_VALUE_0} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8113918
|
||||
@@ -5183,7 +5183,7 @@ gUnknown_8113918: @ 8113918
|
||||
|
||||
.global SpDef_811391C
|
||||
SpDef_811391C:
|
||||
.string "#>80.Sp. Def.#>128.$d1 \0"
|
||||
.string "#>80.Sp. Def.#>128.{ARG_VALUE_1} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8113934
|
||||
@@ -5192,7 +5192,7 @@ gUnknown_8113934: @ 8113934
|
||||
|
||||
.global Attack_8113938
|
||||
Attack_8113938:
|
||||
.string "Attack#>42.{COLOR_2 RED}$d0{END_COLOR_TEXT_2} \0"
|
||||
.string "Attack#>42.{COLOR_2 RED}{ARG_VALUE_0}{END_COLOR_TEXT_2} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8113950
|
||||
@@ -5201,7 +5201,7 @@ gUnknown_8113950: @ 8113950
|
||||
|
||||
.global Defense_8113954
|
||||
Defense_8113954:
|
||||
.string "#>80.Defense#>128.{COLOR_2 RED}$d1{END_COLOR_TEXT_2} \0"
|
||||
.string "#>80.Defense#>128.{COLOR_2 RED}{ARG_VALUE_1}{END_COLOR_TEXT_2} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8113974
|
||||
@@ -5210,7 +5210,7 @@ gUnknown_8113974: @ 8113974
|
||||
|
||||
.global SpAtk_8113978
|
||||
SpAtk_8113978:
|
||||
.string "Sp. Atk.#>42.{COLOR_2 RED}$d0{END_COLOR_TEXT_2} \0"
|
||||
.string "Sp. Atk.#>42.{COLOR_2 RED}{ARG_VALUE_0}{END_COLOR_TEXT_2} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8113990
|
||||
@@ -5219,7 +5219,7 @@ gUnknown_8113990: @ 8113990
|
||||
|
||||
.global SpDef_8113994
|
||||
SpDef_8113994:
|
||||
.string "#>80.Sp. Def.#>128.{COLOR_2 RED}$d1{END_COLOR_TEXT_2} \0"
|
||||
.string "#>80.Sp. Def.#>128.{COLOR_2 RED}{ARG_VALUE_1}{END_COLOR_TEXT_2} \0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_81139B4
|
||||
@@ -6276,7 +6276,7 @@ gUnknown_8115960:
|
||||
|
||||
.global PPD0Text
|
||||
PPD0Text:
|
||||
.string "PP $d0 \0"
|
||||
.string "PP {ARG_VALUE_0} \0"
|
||||
|
||||
.global gPtrPPD0Text
|
||||
gPtrPPD0Text: @ 8115970
|
||||
@@ -6305,9 +6305,9 @@ gUnknown_8115A2C: @ 8115A2C
|
||||
|
||||
.global ItemLimitText_8105A30
|
||||
ItemLimitText_8105A30:
|
||||
.string "Only $d0 items may be brought into\n"
|
||||
.string "Only {ARG_VALUE_0} items may be brought into\n"
|
||||
.string "this dungeon.\n"
|
||||
.string "Please put away $d1 item(s).\0"
|
||||
.string "Please put away {ARG_VALUE_1} item(s).\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8115A80
|
||||
@@ -6316,9 +6316,9 @@ gUnknown_8115A80: @ 8115A80
|
||||
|
||||
.global ItemLimitAlsoText_8105A84
|
||||
ItemLimitAlsoText_8105A84:
|
||||
.string "Also{COMMA} only $d0 items may be brought\n"
|
||||
.string "Also{COMMA} only {ARG_VALUE_0} items may be brought\n"
|
||||
.string "into this dungeon.\n"
|
||||
.string "Please put away $d1 item(s).\0"
|
||||
.string "Please put away {ARG_VALUE_1} item(s).\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_8115ADC
|
||||
|
||||
@@ -316,13 +316,13 @@ gUnknown_81163E4: @ 81163E4
|
||||
|
||||
.global gUnknown_81163F0
|
||||
gUnknown_81163F0: @ 81163F0
|
||||
.string "{CENTER_ALIGN}However{COMMA} $n0{APOSTROPHE}s team\n"
|
||||
.string "{CENTER_ALIGN}However{COMMA} {ARG_NICKNAME_0}{APOSTROPHE}s team\n"
|
||||
.string "{CENTER_ALIGN}had too much money already...\0"
|
||||
.align 2,0
|
||||
|
||||
.global gUnknown_811642C
|
||||
gUnknown_811642C: @ 811642C
|
||||
.string "{CENTER_ALIGN}However{COMMA} $n0{APOSTROPHE}s team\n"
|
||||
.string "{CENTER_ALIGN}However{COMMA} {ARG_NICKNAME_0}{APOSTROPHE}s team\n"
|
||||
.string "{CENTER_ALIGN}had too many items already...\0"
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
.section .rodata
|
||||
|
||||
@ friend_rescue.c
|
||||
|
||||
.global gUnknown_80E2068
|
||||
gUnknown_80E2068: @ 80E2068
|
||||
.4byte GoRescue_80E20AC
|
||||
@@ -1129,108 +1131,4 @@ gUnknown_80E499C: @ 80E499C
|
||||
gUnknown_80E49C4: @ 80E49C4
|
||||
.string "This password does not appear to be\n"
|
||||
.string "that of a {COLOR_1 LIGHT_BLUE}Thank-You Mail{END_COLOR_TEXT_1}.\0"
|
||||
.align 2,0
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
|
||||
.global gUnknown_80E4A10
|
||||
gUnknown_80E4A10: @ 80E4A10
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x03, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80E4A28
|
||||
gUnknown_80E4A28: @ 80E4A28
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x00, 0x00
|
||||
.byte 0x02, 0x00, 0x02, 0x00
|
||||
.byte 0x1a, 0x00, 0x10, 0x00
|
||||
.byte 0x10, 0x00, 0x00, 0x00
|
||||
.byte 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
.global gUnknown_80E4A40
|
||||
gUnknown_80E4A40: @ 80E4A40
|
||||
.byte 0x18, 0x18
|
||||
.byte 0x38, 0x00
|
||||
.byte 0x21, 0xff
|
||||
.byte 0x22, 0xff
|
||||
.byte 0x23, 0xff
|
||||
.byte 0x24, 0xff
|
||||
.byte 0x25, 0xff
|
||||
.byte 0x26, 0xff
|
||||
.byte 0x27, 0xff
|
||||
.byte 0x28, 0xff
|
||||
.byte 0x29, 0xff
|
||||
.byte 0x2a, 0xff
|
||||
.byte 0x2b, 0xff
|
||||
.byte 0x2c, 0xff
|
||||
.byte 0x2d, 0xff
|
||||
.byte 0x2e, 0xff
|
||||
.byte 0x2f, 0xff
|
||||
.byte 0x30, 0xff
|
||||
.byte 0x31, 0xff
|
||||
.byte 0x32, 0xff
|
||||
.byte 0x33, 0xff
|
||||
.byte 0x34, 0xff
|
||||
.byte 0x35, 0xff
|
||||
.byte 0x36, 0xff
|
||||
.byte 0x37, 0xff
|
||||
.byte 0x38, 0xff
|
||||
.byte 0x39, 0xff
|
||||
.byte 0x3a, 0xff
|
||||
.byte 0x41, 0xff
|
||||
.byte 0x42, 0xff
|
||||
.byte 0x43, 0xff
|
||||
.byte 0x44, 0xff
|
||||
.byte 0x45, 0xff
|
||||
.byte 0x46, 0xff
|
||||
.byte 0x47, 0xff
|
||||
.byte 0x48, 0xff
|
||||
.byte 0x49, 0xff
|
||||
.byte 0x4a, 0xff
|
||||
.byte 0x4b, 0xff
|
||||
.byte 0x4c, 0xff
|
||||
.byte 0x4d, 0xff
|
||||
.byte 0x4e, 0xff
|
||||
.byte 0x4f, 0xff
|
||||
.byte 0x50, 0xff
|
||||
.byte 0x51, 0xff
|
||||
.byte 0x52, 0xff
|
||||
.byte 0x53, 0xff
|
||||
.byte 0x54, 0xff
|
||||
.byte 0x55, 0xff
|
||||
.byte 0x56, 0xff
|
||||
.byte 0x57, 0xff
|
||||
.byte 0x58, 0xff
|
||||
.byte 0x59, 0xff
|
||||
.byte 0x5a, 0xff
|
||||
.byte 0x10, 0xff
|
||||
.byte 0x11, 0xff
|
||||
.byte 0x12, 0xff
|
||||
.byte 0x13, 0xff
|
||||
.byte 0x14, 0xff
|
||||
.byte 0x15, 0xff
|
||||
.byte 0x16, 0xff
|
||||
.byte 0x17, 0xff
|
||||
.byte 0x18, 0xff
|
||||
.byte 0x19, 0xff
|
||||
|
||||
#include "text/credits.inc"
|
||||
|
||||
.global gUnknown_80E5990
|
||||
gUnknown_80E5990: @ 80E5990
|
||||
.byte 0x06, 0x02
|
||||
.byte 0x40, 0x00
|
||||
.byte 0x80, 0x00
|
||||
.byte 0x10, 0x00
|
||||
.byte 0x20, 0x00
|
||||
.byte 0x01, 0x00
|
||||
.byte 0x02, 0x00
|
||||
.byte 0x00, 0x00
|
||||
.string "pksdir0\0"
|
||||
.align 2,0
|
||||
|
||||
.align 2,0
|
||||
@@ -8,7 +8,7 @@
|
||||
"types": [
|
||||
"TYPE_NORMAL"
|
||||
],
|
||||
"friendArea": "NONE",
|
||||
"friendArea": "FRIEND_AREA_NONE",
|
||||
"abilities": [
|
||||
"ABILITY_OVERGROW"
|
||||
],
|
||||
@@ -19959,7 +19959,7 @@
|
||||
"types": [
|
||||
"TYPE_PSYCHIC"
|
||||
],
|
||||
"friendArea": "NONE",
|
||||
"friendArea": "FRIEND_AREA_NONE",
|
||||
"abilities": [
|
||||
"ABILITY_PRESSURE"
|
||||
],
|
||||
@@ -20002,7 +20002,7 @@
|
||||
"types": [
|
||||
"TYPE_STEEL"
|
||||
],
|
||||
"friendArea": "NONE",
|
||||
"friendArea": "FRIEND_AREA_NONE",
|
||||
"abilities": [
|
||||
"ABILITY_PRESSURE"
|
||||
],
|
||||
@@ -20045,7 +20045,7 @@
|
||||
"types": [
|
||||
"TYPE_WATER"
|
||||
],
|
||||
"friendArea": "NONE",
|
||||
"friendArea": "FRIEND_AREA_NONE",
|
||||
"abilities": [
|
||||
"ABILITY_DRIZZLE"
|
||||
],
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define GUARD_ADVENTURE_LOG_H
|
||||
|
||||
#include "input.h"
|
||||
#include "text.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0xA0
|
||||
typedef struct AdventureLog
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
|
||||
void InitBGPaletteBuffer(void);
|
||||
void nullsub_4(s32 index, u8 *colorArray, s32, u8 *);
|
||||
void nullsub_5(void);
|
||||
void SetBGPaletteBufferColorArray(s32 index, u8 *colorArray);
|
||||
void SetBGPaletteBufferColorRGB(s32 index, u8 *colorArray, s32, u8 *);
|
||||
void TransferBGPaletteBuffer(void);
|
||||
|
||||
#endif // GUARD_BG_PALETTE_BUFFER_H
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_CHARGE_MOVE_H
|
||||
#define GUARD_CHARGE_MOVE_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
bool8 MoveMatchesChargingStatus(Entity *pokemon, Move *move);
|
||||
// checkCharge = Check for the move named Charge.
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include "input.h"
|
||||
|
||||
void ReadKeyInput(Inputs *);
|
||||
void xxx_call_update_bg_sound_input(void);
|
||||
|
||||
void sub_800CB20(void);
|
||||
|
||||
#endif // GUARD_CODE_800D090_H
|
||||
@@ -1,8 +1,7 @@
|
||||
#ifndef GUARD_CODE_8012A18_H
|
||||
#define GUARD_CODE_8012A18_H
|
||||
#ifndef GUARD_CODE_8012A18_1_H
|
||||
#define GUARD_CODE_8012A18_1_H
|
||||
|
||||
u32 sub_801602C(u32, u8 *);
|
||||
u32 sub_8016080(void);
|
||||
void sub_80160D8(void);
|
||||
s32 sub_8015FEC(u8 *buffer, s32 size);
|
||||
s32 sub_8016028(void);
|
||||
|
||||
#endif // GUARD_CODE_8012A18_H
|
||||
#endif // GUARD_CODE_8012A18_1_H
|
||||
@@ -2,13 +2,11 @@
|
||||
#define GUARD_CODE_80130A8_H
|
||||
|
||||
#include "file_system.h"
|
||||
#include "menu.h"
|
||||
#include "text.h"
|
||||
#include "structs/menu.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// code_80130A8.s
|
||||
extern void sub_8013AA0(u32 *);
|
||||
extern u32 sub_8013BBC(u32 *);
|
||||
extern void sub_8013C68(u32 *);
|
||||
extern void sub_8013E54(void);
|
||||
extern void sub_8013F84(void);
|
||||
extern void sub_80140B4(UnkTextStruct2 *);
|
||||
extern void sub_80140DC(void);
|
||||
@@ -16,6 +14,11 @@ extern void sub_8014114(void);
|
||||
extern void sub_80141B4(const u8 *, u32, OpenedFile **, u32);
|
||||
extern void sub_8014248(const u8 *, u32, u32, const MenuItem *, void *, u32, u32, OpenedFile **, u32);
|
||||
extern s32 sub_80144A4(s32 *);
|
||||
extern void sub_80151C0(u32, u8 *);
|
||||
extern u32 sub_80154F0(void);
|
||||
extern void sub_80155F0(void);
|
||||
extern void xxx_draw_string_80144C4(void);
|
||||
extern void xxx_format_and_draw(u32, u32, const u8 *, u32, u32);
|
||||
extern void xxx_format_string(const u8 *, u8 *, u8 *, u32);
|
||||
|
||||
#endif // GUARD_CODE_80130A8_H
|
||||
21
include/code_801602C.h
Normal file
21
include/code_801602C.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef GUARD_CODE_801602C_H
|
||||
#define GUARD_CODE_801602C_H
|
||||
|
||||
#include "structs/menu.h"
|
||||
|
||||
// size: 0x50
|
||||
struct unkStruct_203B200
|
||||
{
|
||||
u32 unk0;
|
||||
u32 unk4;
|
||||
/* 0x8 */ u8 *pokeName;
|
||||
/* 0xC */ s32 state;
|
||||
/* 0x10 */ MenuItem menus[3];
|
||||
u8 fill[0x50 - 0x28];
|
||||
};
|
||||
|
||||
u32 sub_801602C(u32 mode, u8 *name);
|
||||
u32 sub_8016080(void);
|
||||
void sub_80160D8(void);
|
||||
|
||||
#endif // GUARD_CODE_801602C_H
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "constants/move.h"
|
||||
#include "menu.h"
|
||||
#include "structs/menu.h"
|
||||
#include "pokemon.h"
|
||||
|
||||
// size: 0xA4
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
#include "input.h"
|
||||
#include "items.h"
|
||||
#include "subStruct_203B240.h"
|
||||
#include "text.h"
|
||||
#include "structs/subStruct_203B240.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x94
|
||||
typedef struct unkStruct_203B230
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#define GUARD_CODE_801B60C_H
|
||||
|
||||
#include "items.h"
|
||||
#include "menu.h"
|
||||
#include "text.h"
|
||||
#include "structs/menu.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x154
|
||||
typedef struct unkStruct_203B234
|
||||
|
||||
29
include/code_801BEEC.h
Normal file
29
include/code_801BEEC.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef GUARD_CODE_801BEEC_H
|
||||
#define GUARD_CODE_801BEEC_H
|
||||
|
||||
#include "constants/iq_skill.h"
|
||||
#include "structs/menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x124
|
||||
struct unkStruct_203B238
|
||||
{
|
||||
/* 0x0 */ u32 state;
|
||||
/* 0x4 */ s16 species;
|
||||
/* 0x8 */ PokemonStruct1 *pokeStruct;
|
||||
/* 0xC */ u8 iqSkills[NUM_IQ_SKILLS];
|
||||
u32 unk24;
|
||||
/* 0x28 */ u8 iqSkillIndex;
|
||||
/* 0x2C */ u32 numIQSkills;
|
||||
/* 0x30 */ s32 menuAction;
|
||||
MenuItem unk34[8];
|
||||
MenuStruct unk74;
|
||||
UnkTextStruct2 unkC4[4];
|
||||
};
|
||||
|
||||
bool8 sub_801BEEC(s16 species);
|
||||
u32 sub_801BF48(void);
|
||||
void sub_801BF98(void);
|
||||
|
||||
#endif // GUARD_CODE_801BEEC_H
|
||||
35
include/code_801C244.h
Normal file
35
include/code_801C244.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#ifndef GUARD_CODE_801C244_H
|
||||
#define GUARD_CODE_801C244_H
|
||||
|
||||
#include "constants/iq_skill.h"
|
||||
#include "structs/menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0xC4
|
||||
struct unkStruct_203B23C
|
||||
{
|
||||
/* 0x0 */ s16 species;
|
||||
/* 0x4 */ PokemonStruct1 *pokeStruct;
|
||||
/* 0x8 */ u8 iqSkills[NUM_IQ_SKILLS];
|
||||
/* 0x20 */ s32 numIQSkills;
|
||||
/* 0x24 */ MenuInputStruct input;
|
||||
u32 unk58;
|
||||
UnkTextStruct2 *unk5C;
|
||||
UnkTextStruct2 unk60[4];
|
||||
u8 unkC0;
|
||||
u8 unkC1;
|
||||
u8 unkC2;
|
||||
u8 unkC3;
|
||||
};
|
||||
|
||||
bool8 HasNoAvailIQSkills(s16 species);
|
||||
|
||||
bool8 sub_801C244(s16 species, u32 index, u32);
|
||||
u32 sub_801C308(bool8);
|
||||
s32 sub_801C390(void);
|
||||
void sub_801C3B0(bool8);
|
||||
void sub_801C3F8(void);
|
||||
void sub_801C4C8(void);
|
||||
|
||||
#endif // GUARD_CODE_801C244_H
|
||||
@@ -1,21 +1,27 @@
|
||||
#ifndef GUARD_CODE_801C620_H
|
||||
#define GUARD_CODE_801C620_H
|
||||
|
||||
#include "text.h"
|
||||
#include "structs/menu.h"
|
||||
#include "structs/subStruct_203B240.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
bool8 sub_801BEEC(s16 species);
|
||||
u32 sub_801BF48(void);
|
||||
void sub_801BF98(void);
|
||||
bool8 sub_801C8C4(s32, s32, UnkTextStruct2_sub *, u32);
|
||||
u32 sub_801CA08(bool8);
|
||||
u8 sub_801CB24(void);
|
||||
void sub_801CB5C(bool8);
|
||||
void sub_801CBB8(void);
|
||||
void sub_801CCD8(void);
|
||||
bool8 sub_801CF14(s32);
|
||||
bool8 sub_801CF50(s32);
|
||||
void sub_801CF94(void);
|
||||
s32 sub_801CFB8(void);
|
||||
u32 sub_801CFE0(u8 index);
|
||||
// size: 0x94
|
||||
struct unkStruct_203B240
|
||||
{
|
||||
/* 0x0 */ s32 state;
|
||||
/* 0x4 */ u8 chosenIQSkill;
|
||||
s32 unk8;
|
||||
s32 unkC;
|
||||
struct subStruct_203B240 *unk10[2];
|
||||
u8 fill14[0x20 - 0x18];
|
||||
u32 unk20;
|
||||
u32 unk24;
|
||||
UnkTextStruct2 unk28[4];
|
||||
MenuInputStructSub unk88;
|
||||
};
|
||||
|
||||
bool8 sub_801C620(u8 iqSkill);
|
||||
u32 sub_801C674(void);
|
||||
void sub_801C6B4(void);
|
||||
|
||||
#endif // GUARD_CODE_801C620_H
|
||||
34
include/code_801C8C4.h
Normal file
34
include/code_801C8C4.h
Normal file
@@ -0,0 +1,34 @@
|
||||
#ifndef GUARD_CODE_801C8C4_H
|
||||
#define GUARD_CODE_801C8C4_H
|
||||
|
||||
#include "constants/item.h"
|
||||
#include "structs/menu.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x554
|
||||
struct unkStruct_203B244
|
||||
{
|
||||
u32 unk0;
|
||||
/* 0x4 */ u8 itemIDs[NUMBER_OF_ITEM_IDS];
|
||||
u32 unkF4[NUMBER_OF_ITEM_IDS];
|
||||
/* 0x4B4 */ MenuInputStruct input;
|
||||
u32 unk4E8;
|
||||
UnkTextStruct2 *unk4EC;
|
||||
UnkTextStruct2 unk4F0[4];
|
||||
u8 unk550[4];
|
||||
};
|
||||
|
||||
bool8 sub_801C8C4(s32, s32, UnkTextStruct2_sub *, u32);
|
||||
u32 sub_801CA08(bool8);
|
||||
u8 sub_801CB24(void);
|
||||
void sub_801CB5C(bool8);
|
||||
void sub_801CBB8(void);
|
||||
void sub_801CCD8(void);
|
||||
bool8 sub_801CF14(s32);
|
||||
bool8 sub_801CF50(s32);
|
||||
void sub_801CF94(void);
|
||||
s32 sub_801CFB8(void);
|
||||
u32 sub_801CFE0(u8 index);
|
||||
struct unkStruct_203B244 *sub_801D008(void);
|
||||
|
||||
#endif // GUARD_CODE_801C8C4_H
|
||||
39
include/code_801D014.h
Normal file
39
include/code_801D014.h
Normal file
@@ -0,0 +1,39 @@
|
||||
#ifndef GUARD_CODE_801D014_H
|
||||
#define GUARD_CODE_801D014_H
|
||||
|
||||
#include "structs/menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x118
|
||||
struct unk_203B250
|
||||
{
|
||||
/* 0x0 */ PokemonStruct1 *pokeStruct;
|
||||
/* 0x4 */ s16 index;
|
||||
/* 0x6 */ u8 currFriendAreaLocation; // 0 when not in a friend area
|
||||
u8 unk7;
|
||||
u8 unk8;
|
||||
u8 unk9;
|
||||
PokemonStruct1 *unkC;
|
||||
/* 0x10 */ u32 state;
|
||||
/* 0x14 */ u32 menuAction;
|
||||
MenuStruct unk18;
|
||||
MenuItem unk68[8];
|
||||
u16 unkA8[8];
|
||||
UnkTextStruct2 unkB8[4];
|
||||
};
|
||||
|
||||
// size: 0x8
|
||||
struct TeamBadgeData
|
||||
{
|
||||
/* 0x0 */ u8 *pics; // probably a pointer to an arrays of pixels?
|
||||
/* 0x4 */ u8 *pallete; // Pics share common pallete
|
||||
};
|
||||
|
||||
bool8 sub_801D014(PokemonStruct1 *);
|
||||
u32 sub_801D0DC(void);
|
||||
u32 sub_801D178(void);
|
||||
u8 sub_801D1D4(void);
|
||||
void sub_801D1E0(void);
|
||||
|
||||
#endif // GUARD_CODE_801D014_H
|
||||
35
include/code_801D9E4.h
Normal file
35
include/code_801D9E4.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#ifndef GUARD_CODE_801D9E4_H
|
||||
#define GUARD_CODE_801D9E4_H
|
||||
|
||||
#include "structs/menu.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0xA0
|
||||
struct unkStruct_203B258
|
||||
{
|
||||
/* 0x0 */ MenuInputStruct input;
|
||||
u32 unk34;
|
||||
UnkTextStruct2 *unk38;
|
||||
UnkTextStruct2 unk3C[4];
|
||||
u8 unk9C[4];
|
||||
};
|
||||
|
||||
// size: 0x1C
|
||||
struct unkStruct_81188F0
|
||||
{
|
||||
/* 0x0 */ u8 *text1;
|
||||
/* 0x4 */ u8 *text2;
|
||||
/* 0x8 */ u8 *text3;
|
||||
/* 0xC */ u8 *text4;
|
||||
/* 0x10 */ u32 unk1;
|
||||
/* 0x14 */ u32 unk2;
|
||||
/* 0x18 */ u32 unk3;
|
||||
};
|
||||
|
||||
bool8 sub_801D9E4(void);
|
||||
void sub_801DA58(s16);
|
||||
u32 sub_801DA78(void);
|
||||
s16 sub_801DAC0(void);
|
||||
void sub_801DB0C(void);
|
||||
|
||||
#endif // GUARD_CODE_801D9E4_H
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "input.h"
|
||||
#include "pokemon.h"
|
||||
#include "text.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size 0xBC
|
||||
typedef struct unkStruct_203B270
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
#ifndef GUARD_CODE_801EE10_1_H
|
||||
#define GUARD_CODE_801EE10_1_H
|
||||
|
||||
bool8 sub_8024458(s16 speciesNum, s32);
|
||||
void sub_802453C(void);
|
||||
|
||||
// code_801EE10_1.s
|
||||
extern void sub_8023868(u32, u32, u32, u32);
|
||||
extern u32 sub_8023A94(bool8);
|
||||
extern s16 sub_8023B44(void);
|
||||
extern void sub_8023B7C(u32);
|
||||
extern void sub_8023C60(void);
|
||||
extern void sub_8023DA4(void);
|
||||
|
||||
#endif // GUARD_CODE_801EE10_1_H
|
||||
@@ -11,7 +11,4 @@ bool8 sub_801F808(u16 *moveIDs);
|
||||
u32 sub_801F890(void);
|
||||
void sub_801F8D0(void);
|
||||
|
||||
// code_801EE10_mid.s
|
||||
extern void sub_8021494(void);
|
||||
|
||||
#endif // GUARD_CODE_801EE10_MID_H
|
||||
@@ -1,8 +0,0 @@
|
||||
#ifndef GUARD_CODE_8021774_H
|
||||
#define GUARD_CODE_8021774_H
|
||||
|
||||
bool8 sub_8021774(u8, u8, s32);
|
||||
u32 sub_80217EC(void);
|
||||
void sub_8021830(void);
|
||||
|
||||
#endif // GUARD_CODE_8021774_H
|
||||
@@ -1,10 +0,0 @@
|
||||
#ifndef GUARD_CODE_8021774_PRE_H
|
||||
#define GUARD_CODE_8021774_PRE_H
|
||||
|
||||
bool8 sub_80211AC(u32, u32);
|
||||
u32 sub_8021274(bool8);
|
||||
u8 sub_802132C(void);
|
||||
void sub_8021354(bool8);
|
||||
void sub_80213A0(void);
|
||||
|
||||
#endif // GUARD_CODE_8021774_PRE_H
|
||||
36
include/code_80227B8.h
Normal file
36
include/code_80227B8.h
Normal file
@@ -0,0 +1,36 @@
|
||||
#ifndef GUARD_CODE_80227B8_H
|
||||
#define GUARD_CODE_80227B8_H
|
||||
|
||||
#include "constants/iq_skill.h"
|
||||
#include "items.h"
|
||||
#include "structs/menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x1A8
|
||||
typedef struct unkStruct_203B294
|
||||
{
|
||||
/* 0x0 */ s32 state;
|
||||
/* 0x4 */ s32 fallbackState;
|
||||
/* 0x8 */ u8 iqSkillPreGummi[NUM_IQ_SKILLS];
|
||||
/* 0x20 */ u8 iqSkillPostGummi[NUM_IQ_SKILLS];
|
||||
/* 0x38 */ s32 availIQSkillPreGummi;
|
||||
/* 0x3C */ s32 availIQSkillPostGummi;
|
||||
s32 unk40; // Gummi eaten flag?
|
||||
/* 0x44 */ Gummi gummi;
|
||||
/* 0x48 */ PokemonStruct1 *pokeStruct;
|
||||
/* 0x4C */ u32 itemIndex;
|
||||
/* 0x50 */ Item item;
|
||||
MenuStruct unk54;
|
||||
MenuStruct unkA4;
|
||||
/* 0xF4 */ u32 menuAction;
|
||||
MenuItem unkF8[8];
|
||||
u16 unk138[8];
|
||||
UnkTextStruct2 unk148[4];
|
||||
} unkStruct_203B294;
|
||||
|
||||
bool8 sub_80227B8(PokemonStruct1 *pkmn);
|
||||
u32 sub_8022860(void);
|
||||
void sub_8022908(void);
|
||||
|
||||
#endif // GUARD_CODE_80227B8_H
|
||||
@@ -1,51 +1,31 @@
|
||||
#ifndef GUARD_CODE_8023144_H
|
||||
#define GUARD_CODE_8023144_H
|
||||
|
||||
#include "constants/iq_skill.h"
|
||||
#include "input.h"
|
||||
#include "items.h"
|
||||
#include "menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "text.h"
|
||||
|
||||
// size: 0x1A8
|
||||
typedef struct unkStruct_203B294
|
||||
{
|
||||
/* 0x0 */ s32 state;
|
||||
/* 0x4 */ s32 fallbackState;
|
||||
u8 iqSkillPreGummi[NUM_IQ_SKILLS];
|
||||
u8 iqSkillPostGummi[NUM_IQ_SKILLS];
|
||||
u32 availIQSkillPreGummi;
|
||||
u32 availIQSkillPostGummi;
|
||||
u32 unk40; // Gummi eaten flag?
|
||||
Gummi gummi;
|
||||
/* 0x48 */ PokemonStruct1 *pokeStruct;
|
||||
u32 itemIndex;
|
||||
Item item;
|
||||
MenuStruct unk54;
|
||||
MenuStruct unkA4;
|
||||
u32 menuAction;
|
||||
MenuItem unkF8[0x8];
|
||||
u16 unk138[0x8];
|
||||
UnkTextStruct2 unk148[4];
|
||||
} unkStruct_203B294;
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x3FC
|
||||
typedef struct unkStruct_3001B5C
|
||||
{
|
||||
u8 unk0;
|
||||
u32 unk4;
|
||||
u32 unk8;
|
||||
s32 unk8;
|
||||
s16 unkC[2];
|
||||
u32 unk10;
|
||||
u8 fill14[0x354 - 0x14];
|
||||
u8 unk354;
|
||||
u8 fill355[0x35C - 0x355];
|
||||
MenuInputStruct input;
|
||||
/* 0x35C */ MenuInputStruct input;
|
||||
u32 unk390;
|
||||
UnkTextStruct2 *unk394;
|
||||
UnkTextStruct2 unk398[4];
|
||||
u8 unk3F8[4];
|
||||
} unkStruct_3001B5C;
|
||||
|
||||
bool8 sub_8023144(s32, s32 index, UnkTextStruct2_sub *sub, u32);
|
||||
u32 sub_8023278(bool8);
|
||||
s16 sub_802331C(void);
|
||||
void sub_8023354(bool8 cursorSprite);
|
||||
void sub_80233A0(void);
|
||||
|
||||
#endif // GUARD_CODE_8023144_H
|
||||
30
include/code_8023868.h
Normal file
30
include/code_8023868.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef GUARD_CODE_8023868_H
|
||||
#define GUARD_CODE_8023868_H
|
||||
|
||||
struct unkStruct_3001B60
|
||||
{
|
||||
u32 unk0;
|
||||
u32 sortMethod;
|
||||
u32 unk8;
|
||||
u32 unkC;
|
||||
u32 unk10;
|
||||
u8 fill14[0x18 - 0x14];
|
||||
s16 unk18;
|
||||
s16 unk1A[2];
|
||||
u8 fill1C[0x370 - 0x1E];
|
||||
s16 unk370;
|
||||
s16 unk372;
|
||||
s16 unk374;
|
||||
s16 unk376;
|
||||
};
|
||||
|
||||
// code_8023868.s
|
||||
extern void sub_8023868(u32, u32, u32, u32);
|
||||
extern u32 sub_8023A94(bool8);
|
||||
extern s16 sub_8023B44(void);
|
||||
extern void sub_8023B7C(u32);
|
||||
extern void sub_8023C60(void);
|
||||
extern void sub_8023DA4(void);
|
||||
extern bool8 sub_8024108(u32);
|
||||
|
||||
#endif // GUARD_CODE_8023868_H
|
||||
28
include/code_8024458.h
Normal file
28
include/code_8024458.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef GUARD_CODE_8024458_H
|
||||
#define GUARD_CODE_8024458_H
|
||||
|
||||
#include "input.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
struct unkStruct_203B2AC
|
||||
{
|
||||
MenuInputStruct input;
|
||||
u32 unk34[3];
|
||||
u8 unk40[0x48 - 0x40];
|
||||
s16 speciesNum;
|
||||
u32 unk4C;
|
||||
u8 unk50[0xB0 - 0x50];
|
||||
u32 unkB0;
|
||||
u8 fillB4[0xE0 - 0xB4];
|
||||
u32 unkE0;
|
||||
UnkTextStruct2 *unkE4;
|
||||
UnkTextStruct2 unkE8[4];
|
||||
u8 unk148[4];
|
||||
};
|
||||
|
||||
bool8 sub_8024458(s16 speciesNum, s32);
|
||||
u32 sub_80244E4(void);
|
||||
void sub_802452C(void);
|
||||
void sub_802453C(void);
|
||||
|
||||
#endif // GUARD_CODE_8024458_H
|
||||
30
include/code_802DB28.h
Normal file
30
include/code_802DB28.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef GUARD_CODE_802DB28_H
|
||||
#define GUARD_CODE_802DB28_H
|
||||
|
||||
#include "file_system.h"
|
||||
#include "wonder_mail.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0xA8
|
||||
struct unkStruct_203B2FC
|
||||
{
|
||||
/* 0x0 */ u32 state;
|
||||
/* 0x4 */ u32 fallbackState;
|
||||
unkStruct_802F204 unk8;
|
||||
/* 0x30 */ u8 jobSlotIndex;
|
||||
/* 0x34 */ WonderMail *jobInfo;
|
||||
/* 0x38 */ OpenedFile *faceFile;
|
||||
/* 0x3C */ u8 *faceData;
|
||||
u16 unk40;
|
||||
u16 unk42;
|
||||
u8 unk44;
|
||||
u8 unk45;
|
||||
u8 unk46;
|
||||
UnkTextStruct2 unk48[4];
|
||||
};
|
||||
|
||||
bool8 sub_802DB28(u8 jobSlotIndex, u8 dungeon);
|
||||
u32 sub_802DBD4(void);
|
||||
void sub_802DC00(void);
|
||||
|
||||
#endif // GUARD_CODE_802DB28_H
|
||||
23
include/code_802DE84.h
Normal file
23
include/code_802DE84.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef GUARD_CODE_802DE84_H
|
||||
#define GUARD_CODE_802DE84_H
|
||||
|
||||
#include "code_802C39C.h"
|
||||
#include "input.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x7C
|
||||
struct unkStruct_203B300
|
||||
{
|
||||
MenuInputStructSub unk0;
|
||||
/* 0xC */ unkStruct_802C39C *mail;
|
||||
u32 unk10;
|
||||
UnkTextStruct2 *unk14;
|
||||
UnkTextStruct2 unk18[4];
|
||||
u8 unk78[4];
|
||||
};
|
||||
|
||||
bool8 sub_802DE84(unkStruct_802C39C *mail);
|
||||
u32 sub_802DEE0(void);
|
||||
void sub_802DF24(void);
|
||||
|
||||
#endif // GUARD_CODE_802DE84_H
|
||||
10
include/code_802F204.h
Normal file
10
include/code_802F204.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef GUARD_CODE_802F204_H
|
||||
#define GUARD_CODE_802F204_H
|
||||
|
||||
#include "wonder_mail.h"
|
||||
|
||||
u32 sub_802F204(unkStruct_802F204 *, bool8 displayClientSprite);
|
||||
u32 sub_802F298(void);
|
||||
void sub_802F2C0(void);
|
||||
|
||||
#endif // GUARD_CODE_802F204_H
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef GUARD_CODE_803B050_H
|
||||
#define GUARD_CODE_803B050_H
|
||||
|
||||
#include "code_802C39C.h"
|
||||
|
||||
// size: 0x8
|
||||
typedef struct unkStruct_80E9920
|
||||
{
|
||||
@@ -18,6 +20,12 @@ typedef struct unkStruct_80E9F8C
|
||||
/* 0x8 */ u8 *text2;
|
||||
} unkStruct_80E9F8C;
|
||||
|
||||
void CreateRescueDescription(unkStruct_802C39C *);
|
||||
void CreateRescueTitle(unkStruct_802C39C *);
|
||||
|
||||
void sub_803B6B0(s32 x, s32 y, u8 index, u32);
|
||||
|
||||
// code_803B050.s
|
||||
extern void sub_803B35C(WonderMail *, unkStruct_802C39C *);
|
||||
|
||||
#endif // GUARD_CODE_803B050_H
|
||||
9
include/code_803C1D0.h
Normal file
9
include/code_803C1D0.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef GUARD_CODE_803C1D0_H
|
||||
#define GUARD_CODE_803C1D0_H
|
||||
|
||||
#include "wonder_mail.h"
|
||||
|
||||
// code_803C1D0.s
|
||||
extern void sub_803C21C(WonderMail *, unkStruct_802F204*);
|
||||
|
||||
#endif // GUARD_CODE_803C1D0_H
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_CODE_80521D0_H
|
||||
#define GUARD_CODE_80521D0_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
void SendMessage(Entity *pokemon, const char message[]);
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_CODE_806CD90_H
|
||||
#define GUARD_CODE_806CD90_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
void sub_806CC10(void);
|
||||
void sub_806CC70(void);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_CODE_80869E4_H
|
||||
#define GUARD_CODE_80869E4_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
// size: 0x8
|
||||
typedef struct unkStruct_202F3D0
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define GUARD_CODE_8094F88_H
|
||||
|
||||
#include "code_8092334.h"
|
||||
#include "dungeon_global_data.h"
|
||||
#include "structs/str_dungeon.h"
|
||||
#include "items.h"
|
||||
#include "pokemon.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,22 @@
|
||||
|
||||
#include "wonder_mail.h"
|
||||
|
||||
// size: 0x8
|
||||
struct unkStruct_8096AF8
|
||||
{
|
||||
bool8 unk0;
|
||||
/* 0x2 */ u16 clientSpecies;
|
||||
/* 0x4 */ u16 targetSpecies;
|
||||
};
|
||||
|
||||
s32 CountJobsinDungeon(u8 dungeon);
|
||||
WonderMail *GetJobSlotInfo(u8 index);
|
||||
bool8 IsMailinJobSlot(WonderMail *mail);
|
||||
|
||||
void sub_8096AF8(struct unkStruct_8096AF8 *, u8 slotIndex, u8 dungeon);
|
||||
|
||||
// code_80958E8_1.s
|
||||
extern WonderMail *GetPelipperBoardSlotInfo(u8);
|
||||
extern bool8 IsPelipperBoardSlotEmpty(u8);
|
||||
|
||||
#endif // GUARD_CODE_80958E8_1_H
|
||||
9
include/code_8096AF8.h
Normal file
9
include/code_8096AF8.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef GUARD_CODE_8096AF8_H
|
||||
#define GUARD_CODE_8096AF8_H
|
||||
|
||||
// code_8096AF8.s
|
||||
extern u8 CheckPKMNNewsSlot(u8);
|
||||
extern bool8 sub_8096E2C(void);
|
||||
extern void sub_8096EEC(void);
|
||||
|
||||
#endif // GUARD_CODE_8096AF8_H
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_CODE_8097670_H
|
||||
#define GUARD_CODE_8097670_H
|
||||
|
||||
#include "dungeon_global_data.h"
|
||||
#include "structs/str_dungeon.h"
|
||||
|
||||
// size: 0xC4
|
||||
struct unkStruct_203B494
|
||||
|
||||
8
include/code_8097DD0.h
Normal file
8
include/code_8097DD0.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef GUARD_CODE_8097DD0_H
|
||||
#define GUARD_CODE_8097DD0_H
|
||||
|
||||
#include "structs/subStruct_203B240.h"
|
||||
|
||||
extern u32 sub_8097DF0(u8 *, struct subStruct_203B240 **);
|
||||
|
||||
#endif // GUARD_CODE_8097DD0_H
|
||||
@@ -2,8 +2,12 @@
|
||||
#define GUARD_CODE_8098BDC_H
|
||||
|
||||
// code_8098DBC.s
|
||||
extern void nullsub_104(void);
|
||||
extern void sub_80993D8(void);
|
||||
extern void sub_80993E4(void);
|
||||
extern void sub_8099690(u32);
|
||||
extern void sub_8099A5C(u32, u32, u32);
|
||||
extern void sub_8099AFC(u32, u32, u32);
|
||||
extern bool8 sub_8099B94(void);
|
||||
|
||||
#endif // GUARD_CODE_8098BDC_H
|
||||
38
include/common_strings.h
Normal file
38
include/common_strings.h
Normal file
@@ -0,0 +1,38 @@
|
||||
#ifndef GUARD_COMMON_STRINGS_H
|
||||
#define GUARD_COMMON_STRINGS_H
|
||||
|
||||
#include "constants/common_strings_felicity_bank.h"
|
||||
#include "constants/common_strings_kangaskhan_storage.h"
|
||||
#include "constants/common_strings_kecleon_bros.h"
|
||||
#include "constants/common_strings_wigglytuff_shop.h"
|
||||
#include "constants/common_strings_gulpin_shop.h"
|
||||
#include "constants/common_strings_makuhita_dojo.h"
|
||||
#include "constants/common_strings_hints.h"
|
||||
|
||||
extern const u8* const gCommonYes[];
|
||||
extern const u8* const gCommonNo[];
|
||||
extern const u8* const gCommonCancel[];
|
||||
extern const u8* const gCommonTrash[];
|
||||
extern const u8* const gCommonDelete[];
|
||||
extern const u8* const gCommonStore[];
|
||||
extern const u8* const gCommonTake[];
|
||||
extern const u8* const gCommonInfo[];
|
||||
extern const u8* const gCommonBuy[];
|
||||
extern const u8* const gCommonSell[];
|
||||
extern const u8* const gCommonAccept[];
|
||||
extern const u8* const gCommonCheck[];
|
||||
extern const u8* const gCommonFriend[];
|
||||
extern const u8* const gCommonExit[];
|
||||
extern const u8* const gCommonTripleQuestionMark[];
|
||||
extern const u8* const gCommonDepositPrompt[];
|
||||
extern const u8* const gCommonWithdrawPrompt[];
|
||||
|
||||
extern const u8* const gCommonFelicity[FEL_MODE_COUNT][FEL_DLG_MAX];
|
||||
extern const u8* const gCommonKangStorage[KANG_MODE_COUNT][KANG_DLG_MAX];
|
||||
extern const u8* const gCommonKecleonBros[KECLEON_BROS_MODE_COUNT][KECLEON_DLG_MAX];
|
||||
extern const u8* const gCommonWigglytuff[WIGGLYTUFF_SHOP_MODE_COUNT][WIGGLY_DLG_MAX];
|
||||
extern const u8* const gCommonGulpin[GULPIN_SHOP_MODE_DIALOGUE_COUNT][GULPIN_DLG_MAX];
|
||||
extern const u8* const gCommonMakuhita[MAKUHITA_DOJO_MODE_COUNT][MAKUHITA_DLG_MAX];
|
||||
extern const Hints gCommonHints[NUM_HINTS];
|
||||
|
||||
#endif // GUARD_COMMON_STRINGS_H
|
||||
30
include/constants/common_strings_felicity_bank.h
Normal file
30
include/constants/common_strings_felicity_bank.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef GUARD_COMMON_STRINGS_FELICITY_BANK_H
|
||||
#define GUARD_COMMON_STRINGS_FELICITY_BANK_H
|
||||
|
||||
enum FelicityBankMode
|
||||
{
|
||||
FEL_MODE_AWAKE,
|
||||
FEL_MODE_ASLEEP,
|
||||
FEL_MODE_COUNT
|
||||
};
|
||||
enum FelicityBankDialogue
|
||||
{
|
||||
FEL_DLG_WELCOME,
|
||||
FEL_DLG_HOW_MAY_I_SERVE__NO_MONEY,
|
||||
FEL_DLG_HOW_MAY_I_SERVE__HAS_MONEY,
|
||||
FEL_DLG_VERY_WELL,
|
||||
FEL_DLG_BYE__NO_MONEY,
|
||||
FEL_DLG_BYE__HAS_MONEY,
|
||||
FEL_DLG_DEPOSIT__HOW_MUCH,
|
||||
FEL_DLG_DEPOSIT__NO_MONEY,
|
||||
FEL_DLG_DEPOSIT__BANK_FULL,
|
||||
FEL_DLG_DEPOSIT__RECEIPT,
|
||||
FEL_DLG_WITHDRAW__HOW_MUCH,
|
||||
FEL_DLG_WITHDRAW__NO_MONEY,
|
||||
FEL_DLG_WITHDRAW__WALLET_FULL,
|
||||
FEL_DLG_WITHDRAW__RECEIPT,
|
||||
FEL_DLG_HOW_IT_WORKS,
|
||||
FEL_DLG_MAX
|
||||
};
|
||||
|
||||
#endif // GUARD_COMMON_STRINGS_FELICITY_BANK_H
|
||||
41
include/constants/common_strings_gulpin_shop.h
Normal file
41
include/constants/common_strings_gulpin_shop.h
Normal file
@@ -0,0 +1,41 @@
|
||||
#ifndef GUARD_COMMON_STRINGS_GULPIN_SHOP_H
|
||||
#define GUARD_COMMON_STRINGS_GULPIN_SHOP_H
|
||||
|
||||
enum GulpinShopMode
|
||||
{
|
||||
GULPIN_SHOP_MODE_AWAKE,
|
||||
GULPIN_SHOP_MODE_ASLEEP,
|
||||
GULPIN_SHOP_MODE_UNK2,
|
||||
GULPIN_SHOP_MODE_DIALOGUE_COUNT = 2
|
||||
};
|
||||
enum GulpinShopDialogue
|
||||
{
|
||||
GULPIN_DLG_00,
|
||||
GULPIN_DLG_01,
|
||||
GULPIN_DLG_02,
|
||||
GULPIN_DLG_03,
|
||||
GULPIN_DLG_04,
|
||||
GULPIN_DLG_05,
|
||||
GULPIN_DLG_06,
|
||||
GULPIN_DLG_07,
|
||||
GULPIN_DLG_08,
|
||||
GULPIN_DLG_09,
|
||||
GULPIN_DLG_10,
|
||||
GULPIN_DLG_11,
|
||||
GULPIN_DLG_12,
|
||||
GULPIN_DLG_13,
|
||||
GULPIN_DLG_14,
|
||||
GULPIN_DLG_15,
|
||||
GULPIN_DLG_16,
|
||||
GULPIN_DLG_17,
|
||||
GULPIN_DLG_18,
|
||||
GULPIN_DLG_19,
|
||||
GULPIN_DLG_20,
|
||||
GULPIN_DLG_21,
|
||||
GULPIN_DLG_22,
|
||||
GULPIN_DLG_23,
|
||||
GULPIN_DLG_24,
|
||||
GULPIN_DLG_MAX
|
||||
};
|
||||
|
||||
#endif // GUARD_COMMON_STRINGS_GULPIN_SHOP_H
|
||||
13
include/constants/common_strings_hints.h
Normal file
13
include/constants/common_strings_hints.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef GUARD_COMMON_STRINGS_HINTS_H
|
||||
#define GUARD_COMMON_STRINGS_HINTS_H
|
||||
|
||||
// size: 0x8
|
||||
typedef struct Hints
|
||||
{
|
||||
const u8 *heading;
|
||||
const u8 *body;
|
||||
} Hints;
|
||||
|
||||
#define NUM_HINTS 5
|
||||
|
||||
#endif // GUARD_COMMON_STRINGS_HINTS_H
|
||||
35
include/constants/common_strings_kangaskhan_storage.h
Normal file
35
include/constants/common_strings_kangaskhan_storage.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#ifndef GUARD_COMMON_STRINGS_KANGASKHAN_STORAGE_H
|
||||
#define GUARD_COMMON_STRINGS_KANGASKHAN_STORAGE_H
|
||||
|
||||
enum KangaskhanStorageMode
|
||||
{
|
||||
KANG_MODE_AWAKE,
|
||||
KANG_MODE_ASLEEP,
|
||||
KANG_MODE_COUNT
|
||||
};
|
||||
enum KangaskhanStorageDialogue
|
||||
{
|
||||
KANG_DLG_WELCOME,
|
||||
KANG_DLG_ANYTHING_ELSE,
|
||||
KANG_DLG_BYE,
|
||||
KANG_DLG_STORE_WHAT,
|
||||
KANG_DLG_STORE_MORE,
|
||||
KANG_DLG_DEPOSIT_ONE_PROMPT,
|
||||
KANG_DLG_DEPOSIT_MANY_PROMPT,
|
||||
KANG_DLG_DEPOSIT_CONFIRMATION,
|
||||
KANG_DLG_TAKE_WHAT,
|
||||
KANG_DLG_TAKE_MORE,
|
||||
KANG_DLG_WITHDRAW_ONE_PROMPT,
|
||||
KANG_DLG_WITHDRAW_MANY_PROMPT,
|
||||
KANG_DLG_WITHDRAW_CONFIRMATION,
|
||||
KANG_DLG_YOU_HAVE_NOTHING,
|
||||
KANG_DLG_YOU_ARE_FULL,
|
||||
KANG_DLG_STORAGE_HAS_NOTHING,
|
||||
KANG_DLG_DEPOSIT__INVALID_ITEM,
|
||||
KANG_DLG_DEPOSIT__TOO_MANY_OF_ITEM,
|
||||
KANG_DLG_STORAGE_FULL,
|
||||
KANG_DLG_HOW_IT_WORKS,
|
||||
KANG_DLG_MAX
|
||||
};
|
||||
|
||||
#endif // GUARD_COMMON_STRINGS_KANGASKHAN_STORAGE_H
|
||||
40
include/constants/common_strings_kecleon_bros.h
Normal file
40
include/constants/common_strings_kecleon_bros.h
Normal file
@@ -0,0 +1,40 @@
|
||||
#ifndef GUARD_COMMON_STRINGS_KECLEON_BROS_H
|
||||
#define GUARD_COMMON_STRINGS_KECLEON_BROS_H
|
||||
|
||||
enum KecleonBrosMode
|
||||
{
|
||||
KECLEON_BROS_MODE_ITEMS_AWAKE,
|
||||
KECLEON_BROS_MODE_ITEMS_ASLEEP,
|
||||
KECLEON_BROS_MODE_WARES_AWAKE,
|
||||
KECLEON_BROS_MODE_WARES_ASLEEP,
|
||||
KECLEON_BROS_MODE_COUNT
|
||||
};
|
||||
enum KecleonBrosDialogue
|
||||
{
|
||||
KECLEON_DLG_00,
|
||||
KECLEON_DLG_01,
|
||||
KECLEON_DLG_02,
|
||||
KECLEON_DLG_03,
|
||||
KECLEON_DLG_04,
|
||||
KECLEON_DLG_05,
|
||||
KECLEON_DLG_06,
|
||||
KECLEON_DLG_07,
|
||||
KECLEON_DLG_08,
|
||||
KECLEON_DLG_09,
|
||||
KECLEON_DLG_10,
|
||||
KECLEON_DLG_11,
|
||||
KECLEON_DLG_12,
|
||||
KECLEON_DLG_13,
|
||||
KECLEON_DLG_14,
|
||||
KECLEON_DLG_15,
|
||||
KECLEON_DLG_16,
|
||||
KECLEON_DLG_17,
|
||||
KECLEON_DLG_18,
|
||||
KECLEON_DLG_19,
|
||||
KECLEON_DLG_20,
|
||||
KECLEON_DLG_21,
|
||||
KECLEON_DLG_22,
|
||||
KECLEON_DLG_MAX
|
||||
};
|
||||
|
||||
#endif // GUARD_COMMON_STRINGS_KECLEON_BROS_H
|
||||
25
include/constants/common_strings_makuhita_dojo.h
Normal file
25
include/constants/common_strings_makuhita_dojo.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef GUARD_COMMON_STRINGS_MAKUHITA_DOJO_H
|
||||
#define GUARD_COMMON_STRINGS_MAKUHITA_DOJO_H
|
||||
|
||||
enum MakuhitaDojoMode
|
||||
{
|
||||
MAKUHITA_DOJO_MODE_AWAKE,
|
||||
MAKUHITA_DOJO_MODE_ASLEEP,
|
||||
MAKUHITA_DOJO_MODE_COUNT
|
||||
};
|
||||
enum MakuhitaDojoDialogue
|
||||
{
|
||||
MAKUHITA_DLG_0,
|
||||
MAKUHITA_DLG_1,
|
||||
MAKUHITA_DLG_2,
|
||||
MAKUHITA_DLG_3,
|
||||
MAKUHITA_DLG_4,
|
||||
MAKUHITA_DLG_5,
|
||||
MAKUHITA_DLG_6,
|
||||
MAKUHITA_DLG_7,
|
||||
MAKUHITA_DLG_8,
|
||||
MAKUHITA_DLG_9,
|
||||
MAKUHITA_DLG_MAX
|
||||
};
|
||||
|
||||
#endif // GUARD_COMMON_STRINGS_MAKUHITA_DOJO_H
|
||||
35
include/constants/common_strings_wigglytuff_shop.h
Normal file
35
include/constants/common_strings_wigglytuff_shop.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#ifndef GUARD_COMMON_STRINGS_WIGGLYTUFF_SHOP_H
|
||||
#define GUARD_COMMON_STRINGS_WIGGLYTUFF_SHOP_H
|
||||
|
||||
enum WigglytuffShopMode
|
||||
{
|
||||
WIGGLYTUFF_SHOP_MODE_AWAKE,
|
||||
WIGGLYTUFF_SHOP_MODE_ASLEEP,
|
||||
WIGGLYTUFF_SHOP_MODE_COUNT
|
||||
};
|
||||
enum WigglytuffShopDialogue
|
||||
{
|
||||
WIGGLY_DLG_00,
|
||||
WIGGLY_DLG_01,
|
||||
WIGGLY_DLG_02,
|
||||
WIGGLY_DLG_03,
|
||||
WIGGLY_DLG_04,
|
||||
WIGGLY_DLG_05,
|
||||
WIGGLY_DLG_06,
|
||||
WIGGLY_DLG_07,
|
||||
WIGGLY_DLG_08,
|
||||
WIGGLY_DLG_09,
|
||||
WIGGLY_DLG_10,
|
||||
WIGGLY_DLG_11,
|
||||
WIGGLY_DLG_12,
|
||||
WIGGLY_DLG_13,
|
||||
WIGGLY_DLG_14,
|
||||
WIGGLY_DLG_15,
|
||||
WIGGLY_DLG_16,
|
||||
WIGGLY_DLG_17,
|
||||
WIGGLY_DLG_18,
|
||||
WIGGLY_DLG_19,
|
||||
WIGGLY_DLG_MAX
|
||||
};
|
||||
|
||||
#endif // GUARD_COMMON_STRINGS_WIGGLYTUFF_SHOP_H
|
||||
@@ -10,7 +10,7 @@
|
||||
#define UNLOCK_WONDER_MAIL 2
|
||||
#define UNLOCK_LEGENDARY_REQUEST 3
|
||||
|
||||
#define NONE 0
|
||||
#define FRIEND_AREA_NONE 0
|
||||
#define BOUNTIFUL_SEA 1
|
||||
#define TREASURE_SEA 2
|
||||
#define SERENE_SEA 3
|
||||
|
||||
@@ -12,14 +12,11 @@
|
||||
#define INPUT_DPAD_DOWN 8
|
||||
#define INPUT_DPAD_LEFT 9
|
||||
#define INPUT_DPAD_RIGHT 10
|
||||
|
||||
// When R button is pressed in combination with other keys
|
||||
// When R button is pressed in combination with other keys:
|
||||
#define INPUT_R_A_BUTTONS 11
|
||||
#define INPUT_R_DPAD_UP_BUTTONS 12
|
||||
#define INPUT_R_DPAD_DOWN_BUTTONS 13
|
||||
#define INPUT_R_DPAD_LEFT_BUTTONS 14
|
||||
#define INPUT_R_DPAD_RIGHT_BUTTONS 15
|
||||
|
||||
|
||||
#endif // GUARD_CONSTANTS_INPUT_H
|
||||
|
||||
#endif // GUARD_CONSTANTS_INPUT_H
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
enum IQSkillID
|
||||
{
|
||||
IQ_NONE = 0x0,
|
||||
IQ_TYPE_ADVANTAGE_MASTER = 0x1,
|
||||
IQ_ITEM_CATCHER = 0x2,
|
||||
IQ_COURSE_CHECKER = 0x3,
|
||||
IQ_SURE_HIT_ATTACKER = 0x4,
|
||||
IQ_QUICK_DODGER = 0x5,
|
||||
IQ_PP_CHECKER = 0x6,
|
||||
IQ_NONTRAITOR = 0x7,
|
||||
IQ_STATUS_CHECKER = 0x8,
|
||||
IQ_EXP_GO_GETTER = 0x9,
|
||||
IQ_EFFICIENCY_EXPERT = 0xA,
|
||||
IQ_WEAK_TYPE_PICKER = 0xB,
|
||||
IQ_ALL_TERRAIN_HIKER = 0xC,
|
||||
IQ_SUPER_MOBILE = 0xD,
|
||||
IQ_TRAP_AVOIDER = 0xE,
|
||||
IQ_HOUSE_AVOIDER = 0xF,
|
||||
IQ_ENERGY_SAVER = 0x10,
|
||||
IQ_NONSLEEPER = 0x11,
|
||||
IQ_SELF_CURER = 0x12,
|
||||
IQ_TRAP_SEER = 0x13,
|
||||
IQ_LAVA_EVADER = 0x14,
|
||||
IQ_DEDICATED_TRAVELER = 0x15,
|
||||
IQ_ITEM_MASTER = 0x16,
|
||||
IQ_EXCLUSIVE_MOVE_USER = 0x17,
|
||||
NUM_IQ_SKILLS = 0x18
|
||||
IQ_NONE,
|
||||
IQ_TYPE_ADVANTAGE_MASTER,
|
||||
IQ_ITEM_CATCHER,
|
||||
IQ_COURSE_CHECKER,
|
||||
IQ_SURE_HIT_ATTACKER,
|
||||
IQ_QUICK_DODGER,
|
||||
IQ_PP_CHECKER,
|
||||
IQ_NONTRAITOR,
|
||||
IQ_STATUS_CHECKER,
|
||||
IQ_EXP_GO_GETTER,
|
||||
IQ_EFFICIENCY_EXPERT,
|
||||
IQ_WEAK_TYPE_PICKER,
|
||||
IQ_ALL_TERRAIN_HIKER,
|
||||
IQ_SUPER_MOBILE,
|
||||
IQ_TRAP_AVOIDER,
|
||||
IQ_HOUSE_AVOIDER,
|
||||
IQ_ENERGY_SAVER,
|
||||
IQ_NONSLEEPER,
|
||||
IQ_SELF_CURER,
|
||||
IQ_TRAP_SEER,
|
||||
IQ_LAVA_EVADER,
|
||||
IQ_DEDICATED_TRAVELER,
|
||||
IQ_ITEM_MASTER,
|
||||
IQ_EXCLUSIVE_MOVE_USER,
|
||||
NUM_IQ_SKILLS
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // GUARD_CONSTANTS_IQ_SKILL_H
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef GUARD_CONSTANTS_ITEM_H
|
||||
#define GUARD_CONSTANTS_ITEM_H
|
||||
|
||||
// Cannot include enums in this file since it's used by the data_item and data_monster assemblers
|
||||
|
||||
#define MAX_KECLEON_ITEM_SHOP_ITEMS 8
|
||||
#define MAX_KECLEON_WARE_SHOP_ITEMS 4
|
||||
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
#ifndef GUARD_CONSTANTS_MAILBOX_H
|
||||
#define GUARD_CONSTANTS_MAILBOX_H
|
||||
#define GUARD_CONSTANTS_MAILBOX_H
|
||||
|
||||
#define MAX_ACCEPTED_JOBS 8
|
||||
#define NUM_MAILBOX_SLOTS 4
|
||||
|
||||
enum JOB_LIST_MAIL_TYPES
|
||||
{
|
||||
MAIL_TYPE_NONE = 0,
|
||||
MAIL_TYPE_NONE,
|
||||
MAIL_TYPE_UNK1,
|
||||
MAIL_TYPE_UNK2,
|
||||
MAIL_TYPE_UNK3,
|
||||
MAIL_TYPE_UNK4,
|
||||
MAIL_TYPE_SUSPENDED_JOB = 5,
|
||||
MAIL_TYPE_SUSPENDED_JOB,
|
||||
MAIL_TYPE_TAKEN_JOB,
|
||||
MAIL_TYPE_UNK7,
|
||||
MAIL_TYPE_UNK8,
|
||||
MAIL_TYPE_UNK9,
|
||||
};
|
||||
|
||||
#endif // GUARD_CONSTANTS_MAILBOX_H
|
||||
#endif // GUARD_CONSTANTS_MAILBOX_H
|
||||
39
include/constants/main_menu.h
Normal file
39
include/constants/main_menu.h
Normal file
@@ -0,0 +1,39 @@
|
||||
#ifndef GUARD_CONSTANTS_MAIN_MENU_H
|
||||
#define GUARD_CONSTANTS_MAIN_MENU_H
|
||||
|
||||
enum MainMenuScreens
|
||||
{
|
||||
MENU_MAIN_SCREEN = 1,
|
||||
// 2
|
||||
MENU_NEW_GAME = 3,
|
||||
// 4 - 5
|
||||
MENU_AWAITING_RESCUE = 6,
|
||||
MENU_CONTINUE, // used by Revive Team/Continue
|
||||
MENU_DELETE_SAVE_PROMPT,
|
||||
MENU_DELETE_SAVE_CONFIRM,
|
||||
MENU_ADVENTURE_LOG,
|
||||
MENU_FRIEND_RESCUE,
|
||||
MENU_TRADE_ITEMS,
|
||||
MENU_WONDER_MAIL,
|
||||
MENU_DUAL_SLOT,
|
||||
MENU_WIRELESS_COMMS,
|
||||
MENU_DEBUG,
|
||||
MENU_SEND_ITEMS,
|
||||
MENU_RECEIVE_ITEMS,
|
||||
MENU_COMMUNICATION_1,
|
||||
MENU_COMMUNICATION_2,
|
||||
// NOTE: 27 - 34 used by Rescue Password Menu
|
||||
MENU_DISPLAY_RESCUE_PASSWORD = 33,
|
||||
MENU_RESCUE_PASSWORD_ENTRY,
|
||||
// 35 - 45
|
||||
MENU_DELETE_SAVE = 46,
|
||||
MENU_DEBUG_DUNGEON,
|
||||
MENU_DEBUG_FIELD,
|
||||
MENU_DEBUG_FIELD_MAP,
|
||||
MENU_DEBUG_FIELD_SCRIPT,
|
||||
MENU_DEBUG_DEBUG_MENU,
|
||||
MENU_DEBUG_UNKNOWN_1,
|
||||
MENU_NO_SCREEN_CHANGE = 65500 // (s16)-36
|
||||
};
|
||||
|
||||
#endif // GUARD_CONSTANTS_MAIN_MENU_H
|
||||
@@ -428,6 +428,6 @@
|
||||
#define MONSTER_RAYQUAZA_CUTSCENE 423
|
||||
|
||||
#define NUM_MONSTERS MONSTER_JIRACHI
|
||||
#define MONSTER_MAX MONSTER_RAYQUAZA_CUTSCENE
|
||||
#define MONSTER_MAX (MONSTER_RAYQUAZA_CUTSCENE + 1)
|
||||
|
||||
#endif // GUARD_CONSTANTS_MONSTER_H
|
||||
@@ -34,42 +34,6 @@ enum AccuracyType
|
||||
NUM_ACCURACY_TYPES
|
||||
};
|
||||
|
||||
// size: 0x24
|
||||
typedef struct MoveDataEntry
|
||||
{
|
||||
/* 0x0 */ u8 *name;
|
||||
/* 0x4 */ s16 basePower;
|
||||
/* 0x6 */ u8 type;
|
||||
// Determines the range of moves.
|
||||
/* 0x8 */ u16 targetingFlags[2]; // 0 for player and 1 for AI
|
||||
// The AI consider certain moves to have different range than they actually do.
|
||||
/* 0xC */ u8 basePP;
|
||||
/* 0xD */ u8 aiWeight;
|
||||
// There are multiple accuracy values. These are define with the AccuracyType enum.
|
||||
/* 0xE */ u8 accuracy[NUM_ACCURACY_TYPES];
|
||||
/* 0x11 */ u8 numberOfChainedHits; // Maximum number of times the move will hit. Used for multi-hit moves like Fury Attack.
|
||||
/* 0x12 */ u8 maxUpgradeLevel;
|
||||
/* 0x13 */ u8 critChance;
|
||||
/* 0x14 */ bool8 affectedByMagicCoat; // If true, this move is reflected by Magic Coat.
|
||||
/* 0x15 */ bool8 isSnatchable;
|
||||
/* 0x16 */ bool8 usesMouth; // If true, this move can't be used with the Muzzled status.
|
||||
/* 0x17 */ bool8 cannotHitFrozen; // Used by Status Checker to determine if a move can be used on a frozen target.
|
||||
/* 0x18 */ bool8 ignoresTaunted;
|
||||
/* 0x19 */ u8 rangeID;
|
||||
/* 0x1C */ u8 *description;
|
||||
/* 0x20 */ u8 *useText; // The text displayed when this move is used.
|
||||
} MoveDataEntry;
|
||||
|
||||
// size: 0x8
|
||||
typedef struct Move
|
||||
{
|
||||
u8 moveFlags;
|
||||
u8 moveFlags2;
|
||||
u16 id;
|
||||
u8 PP;
|
||||
u8 ginseng; // How much the move is boosted by Ginsengs.
|
||||
} Move;
|
||||
|
||||
enum TargetingFlag
|
||||
{
|
||||
TARGETING_FLAG_TARGET_OTHER = 0x0,
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
|
||||
enum TacticID
|
||||
{
|
||||
TACTIC_LETS_GO_TOGETHER = 0x0,
|
||||
TACTIC_GO_THE_OTHER_WAY = 0x1,
|
||||
TACTIC_GO_AFTER_FOES = 0x2,
|
||||
TACTIC_AVOID_THE_FIRST_HIT = 0x3,
|
||||
TACTIC_ALL_FOR_ONE = 0x4, // Unused
|
||||
TACTIC_GROUP_SAFETY = 0x5, // Unused
|
||||
TACTIC_AVOID_TROUBLE = 0x6,
|
||||
TACTIC_BE_PATIENT = 0x7,
|
||||
TACTIC_KEEP_YOUR_DISTANCE = 0x8,
|
||||
TACTIC_WAIT_THERE = 0x9,
|
||||
TACTIC_GET_AWAY = 0xA,
|
||||
TACTIC_UNUSED = 0xB,
|
||||
NUM_TACTICS = 0xC
|
||||
TACTIC_LETS_GO_TOGETHER,
|
||||
TACTIC_GO_THE_OTHER_WAY,
|
||||
TACTIC_GO_AFTER_FOES,
|
||||
TACTIC_AVOID_THE_FIRST_HIT,
|
||||
TACTIC_ALL_FOR_ONE, // Unused
|
||||
TACTIC_GROUP_SAFETY, // Unused
|
||||
TACTIC_AVOID_TROUBLE,
|
||||
TACTIC_BE_PATIENT,
|
||||
TACTIC_KEEP_YOUR_DISTANCE,
|
||||
TACTIC_WAIT_THERE,
|
||||
TACTIC_GET_AWAY,
|
||||
TACTIC_UNUSED,
|
||||
NUM_TACTICS
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // GUARD_CONSTANTS_TACTIC_H
|
||||
@@ -3,26 +3,26 @@
|
||||
|
||||
enum TrapID
|
||||
{
|
||||
TRAP_TRIP_TRAP = 0x0,
|
||||
TRAP_MUD_TRAP = 0x1,
|
||||
TRAP_STICKY_TRAP = 0x2,
|
||||
TRAP_GRIMY_TRAP = 0x3,
|
||||
TRAP_SUMMON_TRAP = 0x4,
|
||||
TRAP_PITFALL_TRAP = 0x5,
|
||||
TRAP_WARP_TRAP = 0x6,
|
||||
TRAP_WHIRLWIND_TRAP = 0x7,
|
||||
TRAP_SPIN_TRAP = 0x8,
|
||||
TRAP_SLUMBER_TRAP = 0x9,
|
||||
TRAP_SLOW_TRAP = 0xA,
|
||||
TRAP_SEAL_TRAP = 0xB,
|
||||
TRAP_POISON_TRAP = 0xC,
|
||||
TRAP_SELFDESTRUCT_TRAP = 0xD,
|
||||
TRAP_EXPLOSION_TRAP = 0xE,
|
||||
TRAP_PP_ZERO_TRAP = 0xF,
|
||||
TRAP_CHESTNUT_TRAP = 0x10,
|
||||
TRAP_WONDER_TILE = 0x11,
|
||||
TRAP_POKEMON_TRAP = 0x12,
|
||||
TRAP_SPIKE_TRAP = 0x13
|
||||
TRAP_TRIP_TRAP,
|
||||
TRAP_MUD_TRAP,
|
||||
TRAP_STICKY_TRAP,
|
||||
TRAP_GRIMY_TRAP,
|
||||
TRAP_SUMMON_TRAP,
|
||||
TRAP_PITFALL_TRAP,
|
||||
TRAP_WARP_TRAP,
|
||||
TRAP_WHIRLWIND_TRAP,
|
||||
TRAP_SPIN_TRAP,
|
||||
TRAP_SLUMBER_TRAP,
|
||||
TRAP_SLOW_TRAP,
|
||||
TRAP_SEAL_TRAP,
|
||||
TRAP_POISON_TRAP,
|
||||
TRAP_SELFDESTRUCT_TRAP,
|
||||
TRAP_EXPLOSION_TRAP,
|
||||
TRAP_PP_ZERO_TRAP,
|
||||
TRAP_CHESTNUT_TRAP,
|
||||
TRAP_WONDER_TILE,
|
||||
TRAP_POKEMON_TRAP,
|
||||
TRAP_SPIKE_TRAP
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // GUARD_CONSTANTS_TRAP_H
|
||||
@@ -16,36 +16,44 @@ enum RewardType
|
||||
END_REWARDS
|
||||
};
|
||||
|
||||
enum WonderMailMode {
|
||||
enum WonderMailMode
|
||||
{
|
||||
WONDER_MAIL_MODE_SEND = 1,
|
||||
WONDER_MAIL_MODE_RECEIVE = 2,
|
||||
WONDER_MAIL_MODE_RECEIVE,
|
||||
};
|
||||
|
||||
enum WonderMailMethod {
|
||||
enum WonderMailMethod
|
||||
{
|
||||
// 0 - 2
|
||||
WONDER_MAIL_GAME_LINK = 3,
|
||||
WONDER_MAIL_PASSWORD = 5,
|
||||
// 4
|
||||
WONDER_MAIL_PASSWORD = 5,
|
||||
};
|
||||
|
||||
enum WonderMailTypes {
|
||||
enum WonderMailTypes
|
||||
{
|
||||
WONDER_MAIL_TYPE_NONE = 0,
|
||||
WONDER_MAIL_TYPE_SOS = 1,
|
||||
WONDER_MAIL_TYPE_SOS,
|
||||
//WONDER_MAIL_TYPE_SOS = 2, // SOS MAIL is 1 and 2?
|
||||
// 2 - 3
|
||||
WONDER_MAIL_TYPE_AOK = 4,
|
||||
WONDER_MAIL_TYPE_THANK_YOU = 5,
|
||||
WONDER_MAIL_TYPE_WONDER = 5,
|
||||
WONDER_MAIL_TYPE_COMPLETED = 6,
|
||||
WONDER_MAIL_TYPE_OKD = 7,
|
||||
WONDER_MAIL_TYPE_COMPLETED,
|
||||
WONDER_MAIL_TYPE_OKD,
|
||||
};
|
||||
|
||||
// Used in CreateRescueTitle and CreateRescueDescription
|
||||
enum MailStatuses {
|
||||
enum MailStatuses
|
||||
{
|
||||
MAIL_STATUS_SUSPENDED,
|
||||
MAIL_STATUS_TAKE_JOB,
|
||||
MAIL_STATUS_DONE
|
||||
};
|
||||
|
||||
// Used in CreateRescueTitle and CreateRescueDescription
|
||||
enum MissionTypes {
|
||||
enum MissionTypes
|
||||
{
|
||||
MISSION_TYPE_FRIEND_RESCUE,
|
||||
MISSION_TYPE_FIND_ITEM,
|
||||
MISSION_TYPE_DELIVER_ITEM,
|
||||
@@ -57,11 +65,12 @@ enum MissionTypes {
|
||||
|
||||
enum WonderMailMissionTypes
|
||||
{
|
||||
WONDER_MAIL_MISSION_TYPE_RESCUE_CLIENT = 0,
|
||||
WONDER_MAIL_MISSION_TYPE_RESCUE_TARGET = 1,
|
||||
WONDER_MAIL_MISSION_TYPE_ESCORT_CLIENT = 2,
|
||||
WONDER_MAIL_MISSION_TYPE_FIND_ITEM = 3,
|
||||
WONDER_MAIL_MISSION_TYPE_DELIVER_ITEM = 4,
|
||||
WONDER_MAIL_MISSION_TYPE_RESCUE_CLIENT,
|
||||
WONDER_MAIL_MISSION_TYPE_RESCUE_TARGET,
|
||||
WONDER_MAIL_MISSION_TYPE_ESCORT_CLIENT,
|
||||
WONDER_MAIL_MISSION_TYPE_FIND_ITEM,
|
||||
WONDER_MAIL_MISSION_TYPE_DELIVER_ITEM,
|
||||
// 5
|
||||
WONDER_MAIL_MISSION_TYPE_UNK6 = 6,
|
||||
};
|
||||
|
||||
@@ -73,4 +82,4 @@ enum WonderMailMissionTypes
|
||||
#define MAX_ITEM_REWARDS 3
|
||||
|
||||
|
||||
#endif //GUARD_CONSTANTS_WONDER_MAIL_H
|
||||
#endif //GUARD_CONSTANTS_WONDER_MAIL_H
|
||||
29
include/credits1.h
Normal file
29
include/credits1.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef GUARD_CREDITS1_H
|
||||
#define GUARD_CREDITS1_H
|
||||
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x6C
|
||||
typedef struct Credits1Work
|
||||
{
|
||||
UnkTextStruct2 unk0[4];
|
||||
s32 unk60;
|
||||
s32 unk64;
|
||||
/* 0x68 */ s32 creditsCategoryIndex;
|
||||
} Credits1Work;
|
||||
|
||||
// size: 0xC
|
||||
typedef struct CreditsData
|
||||
{
|
||||
/* 0x0 */ s16 type;
|
||||
/* 0x2 */ s16 x;
|
||||
/* 0x4 */ s16 y;
|
||||
/* 0x8 */ u8 *text;
|
||||
} CreditsData;
|
||||
|
||||
bool8 DrawCredits(s32 creditsCategoryIndex, s32);
|
||||
|
||||
s32 sub_8035574(void);
|
||||
void sub_803565C(void);
|
||||
|
||||
#endif // GUARD_CREDITS1_H
|
||||
15
include/credits2.h
Normal file
15
include/credits2.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef GUARD_CREDITS2_H
|
||||
#define GUARD_CREDITS2_H
|
||||
|
||||
// size: 0x8
|
||||
typedef struct Credits2Work
|
||||
{
|
||||
/* 0x0 */ u32 state;
|
||||
u32 unk4; // timer for not holding any inputs
|
||||
} Credits2Work;
|
||||
|
||||
bool8 sub_8035678(void);
|
||||
u32 sub_80356A0(void);
|
||||
void sub_8035758(void);
|
||||
|
||||
#endif // GUARD_CREDITS2_H
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef GUARD_DEBUG_MENU1_H
|
||||
#define GUARD_DEBUG_MENU1_H
|
||||
|
||||
#include "menu.h"
|
||||
#include "text.h"
|
||||
#include "structs/menu.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x1A4
|
||||
struct DebugMenu
|
||||
@@ -12,18 +12,6 @@ struct DebugMenu
|
||||
u32 fill1A0;
|
||||
};
|
||||
|
||||
enum DebugMenuOptions
|
||||
{
|
||||
MENU_DEBUG_MENU_DUNGEONS = 0,
|
||||
MENU_DEBUG_MENU_FIELD,
|
||||
MENU_DEBUG_MENU_FIELD_MAP,
|
||||
MENU_DEBUG_MENU_FIELD_SCRIPT,
|
||||
MENU_DEBUG_MENU_DEBUG_MENU,
|
||||
MENU_DEBUG_MENU_UNKNOWN_1,
|
||||
MENU_DEBUG_MENU_STORAGE,
|
||||
MENU_DEBUG_MENU_H_OPEN = 9,
|
||||
};
|
||||
|
||||
void CreateDebugMenu(void);
|
||||
void DeleteDebugMenu(void);
|
||||
u32 UpdateDebugMenu(void);
|
||||
|
||||
@@ -1,28 +1,20 @@
|
||||
#ifndef GUARD_DEBUG_MENU2_H
|
||||
#define GUARD_DEBUG_MENU2_H
|
||||
|
||||
#include "menu.h"
|
||||
#include "text.h"
|
||||
#include "structs/menu.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x138
|
||||
struct unkStruct_203B3F0
|
||||
typedef struct unkStruct_203B3F0
|
||||
{
|
||||
/* 0x0 */ u32 state;
|
||||
/* 0x4 */ u8 id;
|
||||
/* 0x8 */ u32 menuAction;
|
||||
/* 0xC */ MenuItem menuItems[8];
|
||||
MenuStruct unk4C;
|
||||
u32 unk9C;
|
||||
u32 unkA0;
|
||||
u32 unkA4;
|
||||
u32 unkA8;
|
||||
u32 unkAC;
|
||||
u32 unkB0;
|
||||
UnkTextStruct2 *unkB4;
|
||||
u32 unkB8;
|
||||
u32 unkBC;
|
||||
u8 fill4[0xD8 - 0xC0];
|
||||
unkStructFor8013AA0 unk9C;
|
||||
u8 fillCC[0xD8 - 0xCC];
|
||||
UnkTextStruct2 unkD8[4];
|
||||
};
|
||||
} unkStruct_203B3F0;
|
||||
|
||||
#endif // GUARD_DEBUG_MENU2_H
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef GUARD_DEBUG_MENU3_H
|
||||
#define GUARD_DEBUG_MENU3_H
|
||||
|
||||
#include "menu.h"
|
||||
#include "text.h"
|
||||
#include "structs/menu.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0xFC
|
||||
typedef struct unkStruct_203B3F4
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#define GUARD_DEBUG_MENU4_H
|
||||
|
||||
#include "pokemon.h"
|
||||
#include "menu.h"
|
||||
#include "text.h"
|
||||
#include "structs/menu.h"
|
||||
#include "structs/str_text.h"
|
||||
|
||||
// size: 0x140
|
||||
typedef struct unkStruct_203B3F8
|
||||
@@ -14,16 +14,7 @@ typedef struct unkStruct_203B3F8
|
||||
/* 0x8 */ PokemonStruct1 *pokemon;
|
||||
/* 0xC */ u32 menuAction;
|
||||
MenuStruct unk10;
|
||||
u32 unk60;
|
||||
u32 unk64;
|
||||
u32 unk68;
|
||||
u32 unk6C;
|
||||
u32 unk70;
|
||||
u32 unk74;
|
||||
UnkTextStruct2 *unk78;
|
||||
u32 unk7C;
|
||||
u32 unk80;
|
||||
u8 fill84[0x90 - 0x84];
|
||||
unkStructFor8013AA0 unk60;
|
||||
MenuItem unk90[8];
|
||||
u16 unkD0[8];
|
||||
UnkTextStruct2 unkE0[4];
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_H
|
||||
#define GUARD_DUNGEON_H
|
||||
|
||||
#include "dungeon_global_data.h"
|
||||
#include "structs/str_dungeon.h"
|
||||
|
||||
// size: 0x8
|
||||
typedef struct DungeonName
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_ACTION_H
|
||||
#define GUARD_DUNGEON_ACTION_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
void ClearMonsterActionFields(ActionContainer *actionPointer);
|
||||
void SetMonsterActionFields(ActionContainer *actionPointer, u16 action);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_AI_H
|
||||
#define GUARD_DUNGEON_AI_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
u32 sub_8075818(Entity *entity);
|
||||
void sub_8075900(Entity *pokemon, u8 r1);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_AI_ATTACK_H
|
||||
#define GUARD_DUNGEON_AI_ATTACK_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
#define RANGED_ATTACK_RANGE 10
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_AI_ITEM_WEIGHT_H
|
||||
#define GUARD_DUNGEON_AI_ITEM_WEIGHT_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
u32 EvaluateItem(Entity *targetPokemon, Item *item, u32 itemTargetFlags);
|
||||
bool8 CanTargetAdjacentPokemon(Entity *pokemon);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef GUARD_DUNGEON_AI_ITEMS_H
|
||||
#define GUARD_DUNGEON_AI_ITEMS_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "position.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
#include "structs/str_position.h"
|
||||
|
||||
void DecideUseItem(Entity *pokemon);
|
||||
void FindStraightThrowableTargets(Entity *pokemon, s32 thrownAIFlag, Item *item, bool8 ignoreRollChance);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_AI_LEADER_H
|
||||
#define GUARD_DUNGEON_AI_LEADER_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
bool8 TargetLeader(Entity *pokemon);
|
||||
Entity* GetLeaderIfVisible(Entity *pokemon);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_AI_MOVEMENT_H
|
||||
#define GUARD_DUNGEON_AI_MOVEMENT_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
void MoveIfPossible(Entity *pokemon, bool8 showRunAwayEffect);
|
||||
bool8 CanTakeItem(Entity *pokemon);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_AI_TARGETING_H
|
||||
#define GUARD_DUNGEON_AI_TARGETING_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
bool8 CanAttackInDirection(Entity *pokemon, s32 direction);
|
||||
bool8 CanAIMonsterMoveInDirection(Entity *pokemon, s32 direction, bool8 *pokemonInFront);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_CAPABILITIES_H
|
||||
#define GUARD_DUNGEON_CAPABILITIES_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
bool8 CannotMove(Entity *pokemon, bool8 checkBlinker);
|
||||
bool8 sub_8070BC0(Entity* entity);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_ITEMS_H
|
||||
#define GUARD_DUNGEON_ITEMS_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
bool8 HasHeldItem(Entity *pokemon, u8 id);
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_LEADER_H
|
||||
#define GUARD_DUNGEON_LEADER_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
Entity* GetLeader(void);
|
||||
EntityInfo* GetLeaderInfo(void);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_MAP_ACCESS_H
|
||||
#define GUARD_DUNGEON_MAP_ACCESS_H
|
||||
|
||||
#include "map.h"
|
||||
#include "structs/map.h"
|
||||
|
||||
typedef struct unkStruct_202F190
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_MOVEMENT
|
||||
#define GUARD_DUNGEON_MOVEMENT
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
u8 GetCrossableTerrain(s16 species);
|
||||
u8 sub_807034C(s16 id, struct Tile *tile);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_POKEMON_ATTRIBUTES_H
|
||||
#define GUARD_DUNGEON_POKEMON_ATTRIBUTES_H
|
||||
|
||||
#include "dungeon_entity.h"
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
bool8 HasSafeguardStatus(Entity * param_1, Entity * param_2, bool8 displayMessage);
|
||||
bool8 sub_80717A4(Entity *pokemon, u16 moveID);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_DUNGEON_POKEMON_SPRITES_H
|
||||
#define GUARD_DUNGEON_POKEMON_SPRITES_H
|
||||
|
||||
#include "position.h"
|
||||
#include "structs/str_position.h"
|
||||
|
||||
// size: 0x8
|
||||
typedef struct DungeonPokemonStatusSprite
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user