mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Merge pull request #108 from DizzyEggg/decompile_starter_choose
Decompile starter choose
This commit is contained in:
commit
118bf4f4b1
@ -2801,7 +2801,7 @@ sub_819BCF8: @ 819BCF8
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
add r1, sp, 0xC
|
||||
bl sub_81DB468
|
||||
bl CopyMonCategoryText
|
||||
movs r0, 0x1
|
||||
add r1, sp, 0xC
|
||||
movs r2, 0x76
|
||||
@ -8831,7 +8831,7 @@ _0819EFF2:
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
add r1, sp, 0xC
|
||||
bl sub_81DB468
|
||||
bl CopyMonCategoryText
|
||||
movs r0, 0x1
|
||||
add r1, sp, 0xC
|
||||
movs r2, 0x76
|
||||
|
@ -1328,7 +1328,7 @@ _080B1120:
|
||||
thumb_func_start sub_80B1138
|
||||
sub_80B1138: @ 80B1138
|
||||
push {lr}
|
||||
ldr r0, =set_256color_bg_bg0
|
||||
ldr r0, =CB2_ChooseStarter
|
||||
bl SetMainCallback2
|
||||
ldr r1, =gMain
|
||||
ldr r0, =sub_80B1158
|
||||
@ -1348,7 +1348,7 @@ sub_80B1158: @ 80B1158
|
||||
ldrh r1, [r2]
|
||||
strh r1, [r0]
|
||||
ldrh r0, [r2]
|
||||
bl sub_8133EDC
|
||||
bl GetStarterPokemon
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
movs r1, 0
|
||||
|
@ -3675,7 +3675,7 @@ sub_8177388: @ 8177388
|
||||
bl VarGet
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
bl sub_8133EDC
|
||||
bl GetStarterPokemon
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
bl SpeciesToNationalPokedexNum
|
||||
|
@ -52,8 +52,8 @@ _081DB462:
|
||||
bx r1
|
||||
thumb_func_end sub_81DB41C
|
||||
|
||||
thumb_func_start sub_81DB468
|
||||
sub_81DB468: @ 81DB468
|
||||
thumb_func_start CopyMonCategoryText
|
||||
CopyMonCategoryText: @ 81DB468
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r0, r1, 0
|
||||
@ -70,7 +70,7 @@ sub_81DB468: @ 81DB468
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_81DB468
|
||||
thumb_func_end CopyMonCategoryText
|
||||
|
||||
thumb_func_start sub_81DB494
|
||||
sub_81DB494: @ 81DB494
|
||||
|
@ -4211,7 +4211,7 @@ _081B23E8:
|
||||
movs r1, 0x4F
|
||||
movs r2, 0xD0
|
||||
bl sub_809882C
|
||||
bl sub_8098C64
|
||||
bl GetOverworldTextboxPalettePtr
|
||||
movs r1, 0xE0
|
||||
movs r2, 0x20
|
||||
bl LoadPalette
|
||||
|
@ -2311,7 +2311,7 @@ _080BC870:
|
||||
movs r2, 0xBE
|
||||
bl LoadPalette
|
||||
_080BC87A:
|
||||
bl sub_8098C64
|
||||
bl GetOverworldTextboxPalettePtr
|
||||
movs r1, 0xF0
|
||||
movs r2, 0x20
|
||||
bl LoadPalette
|
||||
@ -8950,7 +8950,7 @@ _080C028E:
|
||||
add r4, sp, 0x10
|
||||
adds r0, r6, 0
|
||||
adds r1, r4, 0
|
||||
bl sub_81DB468
|
||||
bl CopyMonCategoryText
|
||||
adds r0, r4, 0
|
||||
b _080C02AE
|
||||
.pool
|
||||
|
@ -7673,7 +7673,7 @@ sub_81394D8: @ 81394D8
|
||||
bl VarGet
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
bl sub_8133EDC
|
||||
bl GetStarterPokemon
|
||||
lsls r0, 16
|
||||
lsrs r6, r0, 16
|
||||
bl CalculatePlayerPartyCount
|
||||
|
@ -1,985 +0,0 @@
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
thumb_func_start sub_8133EDC
|
||||
sub_8133EDC: @ 8133EDC
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r1, r0, 16
|
||||
cmp r1, 0x3
|
||||
bls _08133EE8
|
||||
movs r1, 0
|
||||
_08133EE8:
|
||||
ldr r0, =gUnknown_085B1DF8
|
||||
lsls r1, 1
|
||||
adds r1, r0
|
||||
ldrh r0, [r1]
|
||||
pop {r1}
|
||||
bx r1
|
||||
.pool
|
||||
thumb_func_end sub_8133EDC
|
||||
|
||||
thumb_func_start sub_8133EF8
|
||||
sub_8133EF8: @ 8133EF8
|
||||
push {lr}
|
||||
bl LoadOam
|
||||
bl ProcessSpriteCopyRequests
|
||||
bl TransferPlttBuffer
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_8133EF8
|
||||
|
||||
thumb_func_start set_256color_bg_bg0
|
||||
set_256color_bg_bg0: @ 8133F0C
|
||||
push {r4-r6,lr}
|
||||
mov r6, r10
|
||||
mov r5, r9
|
||||
mov r4, r8
|
||||
push {r4-r6}
|
||||
sub sp, 0xC
|
||||
movs r0, 0
|
||||
bl SetVBlankCallback
|
||||
movs r0, 0
|
||||
movs r1, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0xE
|
||||
movs r1, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0xC
|
||||
movs r1, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0xA
|
||||
movs r1, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0x8
|
||||
movs r1, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
bl ChangeBgX
|
||||
movs r0, 0
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
bl ChangeBgY
|
||||
movs r0, 0x1
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
bl ChangeBgX
|
||||
movs r0, 0x1
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
bl ChangeBgY
|
||||
movs r0, 0x2
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
bl ChangeBgX
|
||||
movs r0, 0x2
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
bl ChangeBgY
|
||||
movs r0, 0x3
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
bl ChangeBgX
|
||||
movs r0, 0x3
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
bl ChangeBgY
|
||||
add r1, sp, 0x4
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
ldr r2, =0x040000d4
|
||||
str r1, [r2]
|
||||
movs r1, 0xC0
|
||||
lsls r1, 19
|
||||
str r1, [r2, 0x4]
|
||||
ldr r0, =0x8100c000
|
||||
str r0, [r2, 0x8]
|
||||
ldr r0, [r2, 0x8]
|
||||
movs r0, 0
|
||||
mov r9, r0
|
||||
str r0, [sp, 0x8]
|
||||
add r0, sp, 0x8
|
||||
str r0, [r2]
|
||||
movs r0, 0xE0
|
||||
lsls r0, 19
|
||||
str r0, [r2, 0x4]
|
||||
ldr r0, =0x85000100
|
||||
str r0, [r2, 0x8]
|
||||
ldr r0, [r2, 0x8]
|
||||
add r0, sp, 0x4
|
||||
mov r3, r9
|
||||
strh r3, [r0]
|
||||
str r0, [r2]
|
||||
movs r0, 0xA0
|
||||
lsls r0, 19
|
||||
str r0, [r2, 0x4]
|
||||
ldr r0, =0x81000200
|
||||
str r0, [r2, 0x8]
|
||||
ldr r0, [r2, 0x8]
|
||||
ldr r0, =gBirchHelpGfx
|
||||
bl LZ77UnCompVram
|
||||
ldr r0, =gBirchBagTilemap
|
||||
ldr r1, =0x06003000
|
||||
bl LZ77UnCompVram
|
||||
ldr r0, =gBirchGrassTilemap
|
||||
ldr r1, =0x06003800
|
||||
bl LZ77UnCompVram
|
||||
movs r0, 0
|
||||
bl ResetBgsAndClearDma3BusyFlags
|
||||
ldr r1, =gUnknown_085B1E00
|
||||
movs r0, 0
|
||||
movs r2, 0x3
|
||||
bl InitBgsFromTemplates
|
||||
ldr r0, =gUnknown_085B1DCC
|
||||
bl InitWindows
|
||||
bl DeactivateAllTextPrinters
|
||||
movs r1, 0xAA
|
||||
lsls r1, 2
|
||||
movs r0, 0
|
||||
movs r2, 0xD0
|
||||
bl sub_809882C
|
||||
bl clear_scheduled_bg_copies_to_vram
|
||||
bl remove_some_task
|
||||
bl ResetTasks
|
||||
bl ResetSpriteData
|
||||
bl ResetPaletteFade
|
||||
bl FreeAllSpritePalettes
|
||||
bl dp13_810BB8C
|
||||
bl sub_8098C64
|
||||
movs r1, 0xE0
|
||||
movs r2, 0x20
|
||||
bl LoadPalette
|
||||
ldr r0, =gBirchBagGrassPal
|
||||
movs r1, 0
|
||||
movs r2, 0x40
|
||||
bl LoadPalette
|
||||
ldr r0, =gUnknown_085B1ED8
|
||||
bl LoadCompressedObjectPic
|
||||
ldr r0, =gUnknown_085B1EE8
|
||||
bl LoadCompressedObjectPic
|
||||
ldr r0, =gUnknown_085B1EF8
|
||||
bl LoadSpritePalettes
|
||||
movs r0, 0x1
|
||||
negs r0, r0
|
||||
mov r1, r9
|
||||
str r1, [sp]
|
||||
movs r1, 0
|
||||
movs r2, 0x10
|
||||
movs r3, 0
|
||||
bl BeginNormalPaletteFade
|
||||
movs r0, 0x1
|
||||
bl EnableInterrupts
|
||||
ldr r0, =sub_8133EF8
|
||||
bl SetVBlankCallback
|
||||
ldr r0, =sub_81341E0
|
||||
bl SetMainCallback2
|
||||
movs r0, 0x48
|
||||
movs r1, 0x3F
|
||||
bl SetGpuReg
|
||||
movs r0, 0x4A
|
||||
movs r1, 0x1F
|
||||
bl SetGpuReg
|
||||
movs r0, 0x40
|
||||
movs r1, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0x44
|
||||
movs r1, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0x50
|
||||
movs r1, 0xFE
|
||||
bl SetGpuReg
|
||||
movs r0, 0x52
|
||||
movs r1, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0x54
|
||||
movs r1, 0x7
|
||||
bl SetGpuReg
|
||||
movs r1, 0xC1
|
||||
lsls r1, 6
|
||||
movs r0, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0
|
||||
bl ShowBg
|
||||
movs r0, 0x2
|
||||
bl ShowBg
|
||||
movs r0, 0x3
|
||||
bl ShowBg
|
||||
ldr r0, =sub_81341FC
|
||||
movs r1, 0
|
||||
bl CreateTask
|
||||
adds r4, r0, 0
|
||||
lsls r4, 24
|
||||
lsrs r4, 24
|
||||
ldr r1, =gTasks
|
||||
lsls r0, r4, 2
|
||||
adds r0, r4
|
||||
lsls r0, 3
|
||||
adds r0, r1
|
||||
movs r3, 0x1
|
||||
mov r10, r3
|
||||
mov r1, r10
|
||||
strh r1, [r0, 0x8]
|
||||
ldr r0, =gUnknown_085B1F10
|
||||
movs r1, 0x78
|
||||
movs r2, 0x38
|
||||
movs r3, 0x2
|
||||
bl CreateSprite
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r3, =gSprites
|
||||
mov r8, r3
|
||||
lsls r1, r0, 4
|
||||
adds r1, r0
|
||||
lsls r1, 2
|
||||
add r1, r8
|
||||
strh r4, [r1, 0x2E]
|
||||
ldr r6, =gUnknown_085B1F28
|
||||
ldr r5, =gUnknown_085B1DEC
|
||||
ldrb r1, [r5]
|
||||
ldrb r2, [r5, 0x1]
|
||||
adds r0, r6, 0
|
||||
movs r3, 0x2
|
||||
bl CreateSprite
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
lsls r1, r0, 4
|
||||
adds r1, r0
|
||||
lsls r1, 2
|
||||
add r1, r8
|
||||
strh r4, [r1, 0x2E]
|
||||
mov r0, r9
|
||||
strh r0, [r1, 0x30]
|
||||
ldrb r1, [r5, 0x2]
|
||||
ldrb r2, [r5, 0x3]
|
||||
adds r0, r6, 0
|
||||
movs r3, 0x2
|
||||
bl CreateSprite
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
lsls r1, r0, 4
|
||||
adds r1, r0
|
||||
lsls r1, 2
|
||||
add r1, r8
|
||||
strh r4, [r1, 0x2E]
|
||||
mov r3, r10
|
||||
strh r3, [r1, 0x30]
|
||||
ldrb r1, [r5, 0x4]
|
||||
ldrb r2, [r5, 0x5]
|
||||
adds r0, r6, 0
|
||||
movs r3, 0x2
|
||||
bl CreateSprite
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
lsls r1, r0, 4
|
||||
adds r1, r0
|
||||
lsls r1, 2
|
||||
add r1, r8
|
||||
strh r4, [r1, 0x2E]
|
||||
movs r0, 0x2
|
||||
strh r0, [r1, 0x30]
|
||||
ldr r1, =gUnknown_030011F8
|
||||
movs r0, 0xFF
|
||||
strh r0, [r1]
|
||||
add sp, 0xC
|
||||
pop {r3-r5}
|
||||
mov r8, r3
|
||||
mov r9, r4
|
||||
mov r10, r5
|
||||
pop {r4-r6}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end set_256color_bg_bg0
|
||||
|
||||
thumb_func_start sub_81341E0
|
||||
sub_81341E0: @ 81341E0
|
||||
push {lr}
|
||||
bl RunTasks
|
||||
bl AnimateSprites
|
||||
bl BuildOamBuffer
|
||||
bl do_scheduled_bg_tilemap_copies_to_vram
|
||||
bl UpdatePaletteFade
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_81341E0
|
||||
|
||||
thumb_func_start sub_81341FC
|
||||
sub_81341FC: @ 81341FC
|
||||
push {r4,lr}
|
||||
sub sp, 0xC
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r1, =gTasks
|
||||
lsls r4, r0, 2
|
||||
adds r4, r0
|
||||
lsls r4, 3
|
||||
adds r4, r1
|
||||
ldrb r0, [r4, 0x8]
|
||||
bl sub_81344C8
|
||||
movs r2, 0xAA
|
||||
lsls r2, 2
|
||||
movs r0, 0
|
||||
movs r1, 0
|
||||
movs r3, 0xD
|
||||
bl SetWindowBorderStyle
|
||||
ldr r2, =gText_BirchInTrouble
|
||||
movs r0, 0x1
|
||||
str r0, [sp]
|
||||
movs r0, 0
|
||||
str r0, [sp, 0x4]
|
||||
str r0, [sp, 0x8]
|
||||
movs r1, 0x1
|
||||
movs r3, 0
|
||||
bl PrintTextOnWindow
|
||||
movs r0, 0
|
||||
bl PutWindowTilemap
|
||||
movs r0, 0
|
||||
bl schedule_bg_copy_tilemap_to_vram
|
||||
ldr r0, =sub_813425C
|
||||
str r0, [r4]
|
||||
add sp, 0xC
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_81341FC
|
||||
|
||||
thumb_func_start sub_813425C
|
||||
sub_813425C: @ 813425C
|
||||
push {r4-r7,lr}
|
||||
lsls r0, 24
|
||||
lsrs r5, r0, 24
|
||||
ldr r2, =gTasks
|
||||
lsls r0, r5, 2
|
||||
adds r0, r5
|
||||
lsls r0, 3
|
||||
adds r6, r0, r2
|
||||
ldrh r7, [r6, 0x8]
|
||||
ldrb r4, [r6, 0x8]
|
||||
ldr r1, =gMain
|
||||
ldrh r3, [r1, 0x2E]
|
||||
movs r0, 0x1
|
||||
ands r0, r3
|
||||
cmp r0, 0
|
||||
beq _081342F8
|
||||
bl sub_8134604
|
||||
ldr r0, =gUnknown_085B1F40
|
||||
ldr r1, =gUnknown_085B1DEC
|
||||
lsls r2, r4, 1
|
||||
adds r3, r2, r1
|
||||
ldrb r5, [r3]
|
||||
adds r1, 0x1
|
||||
adds r2, r1
|
||||
ldrb r4, [r2]
|
||||
adds r1, r5, 0
|
||||
adds r2, r4, 0
|
||||
movs r3, 0x1
|
||||
bl CreateSprite
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
strh r0, [r6, 0xC]
|
||||
ldrh r0, [r6, 0x8]
|
||||
bl sub_8133EDC
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
adds r1, r5, 0
|
||||
adds r2, r4, 0
|
||||
bl sub_8134690
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r4, =gSprites
|
||||
lsls r1, r0, 4
|
||||
adds r1, r0
|
||||
lsls r1, 2
|
||||
adds r2, r4, 0
|
||||
adds r2, 0x10
|
||||
adds r2, r1, r2
|
||||
ldr r3, =gUnknown_085B1ED0
|
||||
str r3, [r2]
|
||||
adds r4, 0x1C
|
||||
adds r1, r4
|
||||
ldr r2, =sub_8134774
|
||||
str r2, [r1]
|
||||
strh r0, [r6, 0xA]
|
||||
ldr r0, =sub_8134340
|
||||
str r0, [r6]
|
||||
b _08134334
|
||||
.pool
|
||||
_081342F8:
|
||||
movs r0, 0x20
|
||||
ands r0, r3
|
||||
cmp r0, 0
|
||||
beq _08134314
|
||||
cmp r4, 0
|
||||
beq _08134314
|
||||
subs r0, r7, 0x1
|
||||
strh r0, [r6, 0x8]
|
||||
ldr r0, =sub_8134640
|
||||
str r0, [r6]
|
||||
b _08134334
|
||||
.pool
|
||||
_08134314:
|
||||
ldrh r1, [r1, 0x2E]
|
||||
movs r0, 0x10
|
||||
ands r0, r1
|
||||
cmp r0, 0
|
||||
beq _08134334
|
||||
cmp r4, 0x1
|
||||
bhi _08134334
|
||||
lsls r0, r5, 2
|
||||
adds r0, r5
|
||||
lsls r0, 3
|
||||
adds r0, r2
|
||||
ldrh r1, [r0, 0x8]
|
||||
adds r1, 0x1
|
||||
strh r1, [r0, 0x8]
|
||||
ldr r1, =sub_8134640
|
||||
str r1, [r0]
|
||||
_08134334:
|
||||
pop {r4-r7}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_813425C
|
||||
|
||||
thumb_func_start sub_8134340
|
||||
sub_8134340: @ 8134340
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r3, =gSprites
|
||||
ldr r2, =gTasks
|
||||
lsls r1, r0, 2
|
||||
adds r1, r0
|
||||
lsls r1, 3
|
||||
adds r2, r1, r2
|
||||
movs r0, 0xC
|
||||
ldrsh r1, [r2, r0]
|
||||
lsls r0, r1, 4
|
||||
adds r0, r1
|
||||
lsls r0, 2
|
||||
adds r1, r0, r3
|
||||
adds r0, r1, 0
|
||||
adds r0, 0x3F
|
||||
ldrb r0, [r0]
|
||||
lsls r0, 26
|
||||
cmp r0, 0
|
||||
bge _0813437E
|
||||
movs r3, 0x20
|
||||
ldrsh r0, [r1, r3]
|
||||
cmp r0, 0x78
|
||||
bne _0813437E
|
||||
movs r3, 0x22
|
||||
ldrsh r0, [r1, r3]
|
||||
cmp r0, 0x40
|
||||
bne _0813437E
|
||||
ldr r0, =sub_8134390
|
||||
str r0, [r2]
|
||||
_0813437E:
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_8134340
|
||||
|
||||
thumb_func_start sub_8134390
|
||||
sub_8134390: @ 8134390
|
||||
push {r4,lr}
|
||||
sub sp, 0xC
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r1, =gTasks
|
||||
lsls r4, r0, 2
|
||||
adds r4, r0
|
||||
lsls r4, 3
|
||||
adds r4, r1
|
||||
ldrh r0, [r4, 0x8]
|
||||
bl sub_8133EDC
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
movs r1, 0
|
||||
bl PlayCry1
|
||||
movs r0, 0
|
||||
movs r1, 0x11
|
||||
bl FillWindowPixelBuffer
|
||||
ldr r2, =gText_ConfirmStarterChoice
|
||||
movs r0, 0x1
|
||||
str r0, [sp]
|
||||
movs r0, 0
|
||||
str r0, [sp, 0x4]
|
||||
str r0, [sp, 0x8]
|
||||
movs r1, 0x1
|
||||
movs r3, 0
|
||||
bl PrintTextOnWindow
|
||||
movs r0, 0
|
||||
bl schedule_bg_copy_tilemap_to_vram
|
||||
ldr r0, =gUnknown_085B1DDC
|
||||
movs r1, 0xAA
|
||||
lsls r1, 2
|
||||
movs r2, 0xD
|
||||
movs r3, 0
|
||||
bl CreateYesNoMenu
|
||||
ldr r0, =sub_8134400
|
||||
str r0, [r4]
|
||||
add sp, 0xC
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_8134390
|
||||
|
||||
thumb_func_start sub_8134400
|
||||
sub_8134400: @ 8134400
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
bl sub_8198C58
|
||||
lsls r0, 24
|
||||
asrs r1, r0, 24
|
||||
cmp r1, 0
|
||||
beq _08134426
|
||||
cmp r1, 0
|
||||
bgt _08134420
|
||||
movs r0, 0x1
|
||||
negs r0, r0
|
||||
cmp r1, r0
|
||||
beq _08134450
|
||||
b _0813449A
|
||||
_08134420:
|
||||
cmp r1, 0x1
|
||||
beq _08134450
|
||||
b _0813449A
|
||||
_08134426:
|
||||
ldr r2, =gScriptResult
|
||||
ldr r1, =gTasks
|
||||
lsls r0, r4, 2
|
||||
adds r0, r4
|
||||
lsls r0, 3
|
||||
adds r0, r1
|
||||
ldrh r0, [r0, 0x8]
|
||||
strh r0, [r2]
|
||||
bl dp13_810BB8C
|
||||
ldr r0, =gMain
|
||||
ldr r0, [r0, 0x8]
|
||||
bl SetMainCallback2
|
||||
b _0813449A
|
||||
.pool
|
||||
_08134450:
|
||||
movs r0, 0x5
|
||||
bl PlaySE
|
||||
ldr r0, =gTasks
|
||||
lsls r5, r4, 2
|
||||
adds r5, r4
|
||||
lsls r5, 3
|
||||
adds r5, r0
|
||||
ldrb r4, [r5, 0xA]
|
||||
ldr r6, =gSprites
|
||||
lsls r0, r4, 4
|
||||
adds r0, r4
|
||||
lsls r0, 2
|
||||
adds r0, r6
|
||||
ldrb r0, [r0, 0x3]
|
||||
lsls r0, 26
|
||||
lsrs r0, 27
|
||||
bl FreeOamMatrix
|
||||
adds r0, r4, 0
|
||||
bl sub_818D820
|
||||
ldrb r0, [r5, 0xC]
|
||||
lsls r4, r0, 4
|
||||
adds r4, r0
|
||||
lsls r4, 2
|
||||
adds r4, r6
|
||||
ldrb r0, [r4, 0x3]
|
||||
lsls r0, 26
|
||||
lsrs r0, 27
|
||||
bl FreeOamMatrix
|
||||
adds r0, r4, 0
|
||||
bl DestroySprite
|
||||
ldr r0, =sub_81344AC
|
||||
str r0, [r5]
|
||||
_0813449A:
|
||||
pop {r4-r6}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_8134400
|
||||
|
||||
thumb_func_start sub_81344AC
|
||||
sub_81344AC: @ 81344AC
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r2, =gTasks
|
||||
lsls r1, r0, 2
|
||||
adds r1, r0
|
||||
lsls r1, 3
|
||||
adds r1, r2
|
||||
ldr r0, =sub_81341FC
|
||||
str r0, [r1]
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end sub_81344AC
|
||||
|
||||
thumb_func_start sub_81344C8
|
||||
sub_81344C8: @ 81344C8
|
||||
push {r4-r6,lr}
|
||||
mov r6, r10
|
||||
mov r5, r9
|
||||
mov r4, r8
|
||||
push {r4-r6}
|
||||
sub sp, 0x34
|
||||
adds r5, r0, 0
|
||||
lsls r5, 24
|
||||
lsrs r5, 24
|
||||
adds r0, r5, 0
|
||||
bl sub_8133EDC
|
||||
adds r4, r0, 0
|
||||
lsls r4, 16
|
||||
lsrs r4, 16
|
||||
adds r0, r4, 0
|
||||
bl SpeciesToNationalPokedexNum
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
add r1, sp, 0xC
|
||||
bl sub_81DB468
|
||||
movs r0, 0xB
|
||||
adds r1, r4, 0
|
||||
muls r1, r0
|
||||
mov r9, r1
|
||||
ldr r0, =gSpeciesNames
|
||||
add r9, r0
|
||||
ldr r0, =gUnknown_085B1DE4
|
||||
ldr r1, [r0, 0x4]
|
||||
ldr r0, [r0]
|
||||
str r0, [sp, 0x2C]
|
||||
str r1, [sp, 0x30]
|
||||
ldr r3, =gUnknown_085B1DF2
|
||||
lsls r5, 1
|
||||
adds r2, r5, r3
|
||||
mov r10, r2
|
||||
ldrb r0, [r2]
|
||||
lsls r0, 8
|
||||
ldr r1, =0xffff00ff
|
||||
ldr r2, [sp, 0x2C]
|
||||
ands r2, r1
|
||||
orrs r2, r0
|
||||
str r2, [sp, 0x2C]
|
||||
adds r3, 0x1
|
||||
adds r5, r3
|
||||
ldrb r1, [r5]
|
||||
lsls r1, 16
|
||||
ldr r0, =0xff00ffff
|
||||
ands r0, r2
|
||||
orrs r0, r1
|
||||
str r0, [sp, 0x2C]
|
||||
add r0, sp, 0x2C
|
||||
bl AddWindow
|
||||
ldr r4, =gUnknown_030011F8
|
||||
strh r0, [r4]
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
movs r1, 0
|
||||
bl FillWindowPixelBuffer
|
||||
movs r0, 0x7
|
||||
add r1, sp, 0xC
|
||||
movs r2, 0x68
|
||||
bl GetStringCenterAlignXOffset
|
||||
adds r2, r0, 0
|
||||
ldrb r0, [r4]
|
||||
lsls r2, 24
|
||||
lsrs r2, 24
|
||||
ldr r1, =gUnknown_085B1E0C
|
||||
mov r8, r1
|
||||
str r1, [sp]
|
||||
movs r6, 0
|
||||
str r6, [sp, 0x4]
|
||||
add r1, sp, 0xC
|
||||
str r1, [sp, 0x8]
|
||||
movs r1, 0x7
|
||||
movs r3, 0x1
|
||||
bl box_print
|
||||
movs r0, 0x1
|
||||
mov r1, r9
|
||||
movs r2, 0x68
|
||||
bl GetStringCenterAlignXOffset
|
||||
adds r2, r0, 0
|
||||
ldrb r0, [r4]
|
||||
lsls r2, 24
|
||||
lsrs r2, 24
|
||||
mov r1, r8
|
||||
str r1, [sp]
|
||||
str r6, [sp, 0x4]
|
||||
mov r1, r9
|
||||
str r1, [sp, 0x8]
|
||||
movs r1, 0x1
|
||||
movs r3, 0x11
|
||||
bl box_print
|
||||
ldrb r0, [r4]
|
||||
bl PutWindowTilemap
|
||||
movs r0, 0
|
||||
bl schedule_bg_copy_tilemap_to_vram
|
||||
mov r2, r10
|
||||
ldrb r1, [r2]
|
||||
lsls r0, r1, 27
|
||||
movs r2, 0xFC
|
||||
lsls r2, 24
|
||||
adds r0, r2
|
||||
adds r1, 0xD
|
||||
lsls r1, 3
|
||||
adds r1, 0x4
|
||||
lsls r1, 24
|
||||
ldrb r4, [r5]
|
||||
lsls r5, r4, 27
|
||||
lsrs r5, 24
|
||||
adds r4, 0x4
|
||||
lsls r4, 27
|
||||
lsrs r4, 24
|
||||
lsrs r1, 8
|
||||
orrs r1, r0
|
||||
lsrs r1, 16
|
||||
movs r0, 0x40
|
||||
bl SetGpuReg
|
||||
lsls r5, 8
|
||||
orrs r5, r4
|
||||
movs r0, 0x44
|
||||
adds r1, r5, 0
|
||||
bl SetGpuReg
|
||||
add sp, 0x34
|
||||
pop {r3-r5}
|
||||
mov r8, r3
|
||||
mov r9, r4
|
||||
mov r10, r5
|
||||
pop {r4-r6}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_81344C8
|
||||
|
||||
thumb_func_start sub_8134604
|
||||
sub_8134604: @ 8134604
|
||||
push {r4,lr}
|
||||
ldr r4, =gUnknown_030011F8
|
||||
ldrb r0, [r4]
|
||||
movs r1, 0
|
||||
bl FillWindowPixelBuffer
|
||||
ldrb r0, [r4]
|
||||
bl ClearWindowTilemap
|
||||
ldrb r0, [r4]
|
||||
bl RemoveWindow
|
||||
movs r0, 0xFF
|
||||
strh r0, [r4]
|
||||
movs r0, 0x40
|
||||
movs r1, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0x44
|
||||
movs r1, 0
|
||||
bl SetGpuReg
|
||||
movs r0, 0
|
||||
bl schedule_bg_copy_tilemap_to_vram
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_8134604
|
||||
|
||||
thumb_func_start sub_8134640
|
||||
sub_8134640: @ 8134640
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
lsls r4, 24
|
||||
lsrs r4, 24
|
||||
bl sub_8134604
|
||||
ldr r1, =gTasks
|
||||
lsls r0, r4, 2
|
||||
adds r0, r4
|
||||
lsls r0, 3
|
||||
adds r0, r1
|
||||
ldr r1, =sub_8134668
|
||||
str r1, [r0]
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_8134640
|
||||
|
||||
thumb_func_start sub_8134668
|
||||
sub_8134668: @ 8134668
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r1, =gTasks
|
||||
lsls r4, r0, 2
|
||||
adds r4, r0
|
||||
lsls r4, 3
|
||||
adds r4, r1
|
||||
ldrb r0, [r4, 0x8]
|
||||
bl sub_81344C8
|
||||
ldr r0, =sub_813425C
|
||||
str r0, [r4]
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_8134668
|
||||
|
||||
thumb_func_start sub_8134690
|
||||
sub_8134690: @ 8134690
|
||||
push {lr}
|
||||
sub sp, 0x10
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
lsls r1, 24
|
||||
lsrs r1, 24
|
||||
lsls r2, 24
|
||||
lsrs r2, 24
|
||||
str r1, [sp]
|
||||
str r2, [sp, 0x4]
|
||||
movs r1, 0xE
|
||||
str r1, [sp, 0x8]
|
||||
ldr r1, =0x0000ffff
|
||||
str r1, [sp, 0xC]
|
||||
movs r1, 0x8
|
||||
movs r2, 0
|
||||
movs r3, 0x1
|
||||
bl sub_818D3E4
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r1, =gSprites
|
||||
lsls r2, r0, 4
|
||||
adds r2, r0
|
||||
lsls r2, 2
|
||||
adds r2, r1
|
||||
ldrb r3, [r2, 0x5]
|
||||
movs r1, 0xD
|
||||
negs r1, r1
|
||||
ands r1, r3
|
||||
strb r1, [r2, 0x5]
|
||||
add sp, 0x10
|
||||
pop {r1}
|
||||
bx r1
|
||||
.pool
|
||||
thumb_func_end sub_8134690
|
||||
|
||||
thumb_func_start sub_81346DC
|
||||
sub_81346DC: @ 81346DC
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
ldr r2, =gUnknown_085B1E28
|
||||
ldr r3, =gTasks
|
||||
movs r0, 0x2E
|
||||
ldrsh r1, [r4, r0]
|
||||
lsls r0, r1, 2
|
||||
adds r0, r1
|
||||
lsls r0, 3
|
||||
adds r0, r3
|
||||
movs r1, 0x8
|
||||
ldrsh r0, [r0, r1]
|
||||
lsls r0, 1
|
||||
adds r0, r2
|
||||
ldrb r0, [r0]
|
||||
strh r0, [r4, 0x20]
|
||||
movs r0, 0x2E
|
||||
ldrsh r1, [r4, r0]
|
||||
lsls r0, r1, 2
|
||||
adds r0, r1
|
||||
lsls r0, 3
|
||||
adds r0, r3
|
||||
movs r1, 0x8
|
||||
ldrsh r0, [r0, r1]
|
||||
lsls r0, 1
|
||||
adds r2, 0x1
|
||||
adds r0, r2
|
||||
ldrb r0, [r0]
|
||||
strh r0, [r4, 0x22]
|
||||
movs r1, 0x30
|
||||
ldrsh r0, [r4, r1]
|
||||
movs r1, 0x8
|
||||
bl Sin
|
||||
strh r0, [r4, 0x26]
|
||||
ldrh r0, [r4, 0x30]
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
adds r0, 0x4
|
||||
strh r0, [r4, 0x30]
|
||||
pop {r4}
|
||||
pop {r0}
|
||||
bx r0
|
||||
.pool
|
||||
thumb_func_end sub_81346DC
|
||||
|
||||
thumb_func_start sub_813473C
|
||||
sub_813473C: @ 813473C
|
||||
push {lr}
|
||||
adds r3, r0, 0
|
||||
ldr r2, =gTasks
|
||||
movs r0, 0x2E
|
||||
ldrsh r1, [r3, r0]
|
||||
lsls r0, r1, 2
|
||||
adds r0, r1
|
||||
lsls r0, 3
|
||||
adds r0, r2
|
||||
movs r2, 0x8
|
||||
ldrsh r1, [r0, r2]
|
||||
movs r2, 0x30
|
||||
ldrsh r0, [r3, r2]
|
||||
cmp r1, r0
|
||||
bne _08134768
|
||||
adds r0, r3, 0
|
||||
movs r1, 0x1
|
||||
bl StartSpriteAnimIfDifferent
|
||||
b _08134770
|
||||
.pool
|
||||
_08134768:
|
||||
adds r0, r3, 0
|
||||
movs r1, 0
|
||||
bl StartSpriteAnimIfDifferent
|
||||
_08134770:
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_813473C
|
||||
|
||||
thumb_func_start sub_8134774
|
||||
sub_8134774: @ 8134774
|
||||
push {lr}
|
||||
adds r1, r0, 0
|
||||
ldrh r2, [r1, 0x20]
|
||||
movs r3, 0x20
|
||||
ldrsh r0, [r1, r3]
|
||||
cmp r0, 0x78
|
||||
ble _08134786
|
||||
subs r0, r2, 0x4
|
||||
strh r0, [r1, 0x20]
|
||||
_08134786:
|
||||
ldrh r2, [r1, 0x20]
|
||||
movs r3, 0x20
|
||||
ldrsh r0, [r1, r3]
|
||||
cmp r0, 0x77
|
||||
bgt _08134794
|
||||
adds r0, r2, 0x4
|
||||
strh r0, [r1, 0x20]
|
||||
_08134794:
|
||||
ldrh r2, [r1, 0x22]
|
||||
movs r3, 0x22
|
||||
ldrsh r0, [r1, r3]
|
||||
cmp r0, 0x40
|
||||
ble _081347A2
|
||||
subs r0, r2, 0x2
|
||||
strh r0, [r1, 0x22]
|
||||
_081347A2:
|
||||
ldrh r2, [r1, 0x22]
|
||||
movs r3, 0x22
|
||||
ldrsh r0, [r1, r3]
|
||||
cmp r0, 0x3F
|
||||
bgt _081347B0
|
||||
adds r0, r2, 0x2
|
||||
strh r0, [r1, 0x22]
|
||||
_081347B0:
|
||||
pop {r0}
|
||||
bx r0
|
||||
thumb_func_end sub_8134774
|
||||
|
||||
.align 2, 0 @ Don't pad with nop.
|
@ -153,7 +153,7 @@ _081348FC:
|
||||
movs r2, 0x20
|
||||
bl LoadPalette
|
||||
_08134906:
|
||||
bl sub_8098C64
|
||||
bl GetOverworldTextboxPalettePtr
|
||||
movs r1, 0xE0
|
||||
movs r2, 0x20
|
||||
bl LoadPalette
|
||||
|
890
data/data4.s
890
data/data4.s
@ -4,7 +4,9 @@
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
|
||||
.align 2
|
||||
|
||||
gUnknown_085B09E4:: @ 85B09E4
|
||||
.incbin "baserom.gba", 0x5b09e4, 0x10
|
||||
|
||||
@ -14,889 +16,3 @@ gUnknown_085B09F4:: @ 85B09F4
|
||||
gUnknown_085B09F8:: @ 85B09F8
|
||||
.incbin "baserom.gba", 0x5b09f8, 0x8
|
||||
|
||||
gBirchBagGrassPal:: @ 85B0A00
|
||||
.incbin "baserom.gba", 0x5b0a00, 0x80
|
||||
|
||||
gBirchBagTilemap:: @ 85B0A80
|
||||
.incbin "baserom.gba", 0x5b0a80, 0x18c
|
||||
|
||||
gBirchGrassTilemap:: @ 85B0C0C
|
||||
.incbin "baserom.gba", 0x5b0c0c, 0x1f8
|
||||
|
||||
gBirchHelpGfx:: @ 85B0E04
|
||||
.incbin "baserom.gba", 0x5b0e04, 0xfc8
|
||||
|
||||
gUnknown_085B1DCC:: @ 85B1DCC
|
||||
.incbin "baserom.gba", 0x5b1dcc, 0x10
|
||||
|
||||
gUnknown_085B1DDC:: @ 85B1DDC
|
||||
.incbin "baserom.gba", 0x5b1ddc, 0x8
|
||||
|
||||
gUnknown_085B1DE4:: @ 85B1DE4
|
||||
.incbin "baserom.gba", 0x5b1de4, 0x8
|
||||
|
||||
gUnknown_085B1DEC:: @ 85B1DEC
|
||||
.incbin "baserom.gba", 0x5b1dec, 0x6
|
||||
|
||||
gUnknown_085B1DF2:: @ 85B1DF2
|
||||
.incbin "baserom.gba", 0x5b1df2, 0x6
|
||||
|
||||
gUnknown_085B1DF8:: @ 85B1DF8
|
||||
.incbin "baserom.gba", 0x5b1df8, 0x8
|
||||
|
||||
gUnknown_085B1E00:: @ 85B1E00
|
||||
.incbin "baserom.gba", 0x5b1e00, 0xc
|
||||
|
||||
gUnknown_085B1E0C:: @ 85B1E0C
|
||||
.incbin "baserom.gba", 0x5b1e0c, 0x1c
|
||||
|
||||
gUnknown_085B1E28:: @ 85B1E28
|
||||
.incbin "baserom.gba", 0x5b1e28, 0xa8
|
||||
|
||||
gUnknown_085B1ED0:: @ 85B1ED0
|
||||
.incbin "baserom.gba", 0x5b1ed0, 0x8
|
||||
|
||||
gUnknown_085B1ED8:: @ 85B1ED8
|
||||
.incbin "baserom.gba", 0x5b1ed8, 0x10
|
||||
|
||||
gUnknown_085B1EE8:: @ 85B1EE8
|
||||
.incbin "baserom.gba", 0x5b1ee8, 0x10
|
||||
|
||||
gUnknown_085B1EF8:: @ 85B1EF8
|
||||
.incbin "baserom.gba", 0x5b1ef8, 0x18
|
||||
|
||||
gUnknown_085B1F10:: @ 85B1F10
|
||||
.incbin "baserom.gba", 0x5b1f10, 0x18
|
||||
|
||||
gUnknown_085B1F28:: @ 85B1F28
|
||||
.incbin "baserom.gba", 0x5b1f28, 0x18
|
||||
|
||||
gUnknown_085B1F40:: @ 85B1F40
|
||||
.incbin "baserom.gba", 0x5b1f40, 0x294
|
||||
|
||||
gUnknown_085B21D4:: @ 85B21D4
|
||||
.incbin "baserom.gba", 0x5b21d4, 0x8
|
||||
|
||||
gUnknown_085B21DC:: @ 85B21DC
|
||||
.incbin "baserom.gba", 0x5b21dc, 0x18
|
||||
|
||||
gUnknown_085B21F4:: @ 85B21F4
|
||||
.incbin "baserom.gba", 0x5b21f4, 0x8
|
||||
|
||||
gUnknown_085B21FC:: @ 85B21FC
|
||||
.incbin "baserom.gba", 0x5b21fc, 0xc
|
||||
|
||||
gUnknown_085B2208:: @ 85B2208
|
||||
.incbin "baserom.gba", 0x5b2208, 0x10
|
||||
|
||||
gUnknown_085B2218:: @ 85B2218
|
||||
.incbin "baserom.gba", 0x5b2218, 0x38
|
||||
|
||||
gUnknown_085B2250:: @ 85B2250
|
||||
.incbin "baserom.gba", 0x5b2250, 0x18
|
||||
|
||||
gUnknown_085B2268:: @ 85B2268
|
||||
.incbin "baserom.gba", 0x5b2268, 0x38
|
||||
|
||||
gUnknown_085B22A0:: @ 85B22A0
|
||||
.incbin "baserom.gba", 0x5b22a0, 0x18
|
||||
|
||||
gUnknown_085B22B8:: @ 85B22B8
|
||||
.incbin "baserom.gba", 0x5b22b8, 0x18
|
||||
|
||||
gUnknown_085B22D0:: @ 85B22D0
|
||||
.incbin "baserom.gba", 0x5b22d0, 0x2d0
|
||||
|
||||
gPokeblockFlavorCompatibilityTable:: @ 85B25A0
|
||||
.incbin "baserom.gba", 0x5b25a0, 0x80
|
||||
|
||||
gUnknown_085B2620:: @ 85B2620
|
||||
.incbin "baserom.gba", 0x5b2620, 0xc
|
||||
|
||||
gPokeblockNames:: @ 85B262C
|
||||
.incbin "baserom.gba", 0x5b262c, 0x3c
|
||||
|
||||
gUnknown_085B2668:: @ 85B2668
|
||||
.incbin "baserom.gba", 0x5b2668, 0x30
|
||||
|
||||
gUnknown_085B2698:: @ 85B2698
|
||||
.incbin "baserom.gba", 0x5b2698, 0x3
|
||||
|
||||
gUnknown_085B269B:: @ 85B269B
|
||||
.incbin "baserom.gba", 0x5b269b, 0x2
|
||||
|
||||
gUnknown_085B269D:: @ 85B269D
|
||||
.incbin "baserom.gba", 0x5b269d, 0x2
|
||||
|
||||
gUnknown_085B269F:: @ 85B269F
|
||||
.incbin "baserom.gba", 0x5b269f, 0x5
|
||||
|
||||
gUnknown_085B26A4:: @ 85B26A4
|
||||
.incbin "baserom.gba", 0x5b26a4, 0x4c
|
||||
|
||||
gUnknown_085B26F0:: @ 85B26F0
|
||||
.incbin "baserom.gba", 0x5b26f0, 0x4
|
||||
|
||||
gUnknown_085B26F4:: @ 85B26F4
|
||||
.incbin "baserom.gba", 0x5b26f4, 0x8
|
||||
|
||||
gUnknown_085B26FC:: @ 85B26FC
|
||||
.incbin "baserom.gba", 0x5b26fc, 0x8
|
||||
|
||||
gUnknown_085B2704:: @ 85B2704
|
||||
.incbin "baserom.gba", 0x5b2704, 0x18
|
||||
|
||||
gUnknown_085B271C:: @ 85B271C
|
||||
.incbin "baserom.gba", 0x5b271c, 0x4
|
||||
|
||||
gUnknown_085B2720:: @ 85B2720
|
||||
.incbin "baserom.gba", 0x5b2720, 0x28
|
||||
|
||||
gUnknown_085B2748:: @ 85B2748
|
||||
.incbin "baserom.gba", 0x5b2748, 0x60
|
||||
|
||||
gUnknown_085B27A8:: @ 85B27A8
|
||||
.incbin "baserom.gba", 0x5b27a8, 0x8
|
||||
|
||||
gUnknown_085B27B0:: @ 85B27B0
|
||||
.incbin "baserom.gba", 0x5b27b0, 0x18
|
||||
|
||||
gUnknown_085B27C8:: @ 85B27C8
|
||||
.incbin "baserom.gba", 0x5b27c8, 0x88
|
||||
|
||||
gUnknown_085B2850:: @ 85B2850
|
||||
.incbin "baserom.gba", 0x5b2850, 0x20
|
||||
|
||||
gUnknown_085B2870:: @ 85B2870
|
||||
.incbin "baserom.gba", 0x5b2870, 0x20
|
||||
|
||||
gUnknown_085B2890:: @ 85B2890
|
||||
.incbin "baserom.gba", 0x5b2890, 0x10
|
||||
|
||||
gUnknown_085B28A0:: @ 85B28A0
|
||||
.incbin "baserom.gba", 0x5b28a0, 0x10
|
||||
|
||||
gUnknown_085B28B0:: @ 85B28B0
|
||||
.incbin "baserom.gba", 0x5b28b0, 0x1e0
|
||||
|
||||
gUnknown_085B2A90:: @ 85B2A90
|
||||
.incbin "baserom.gba", 0x5b2a90, 0xb4
|
||||
|
||||
gUnknown_085B2B44:: @ 85B2B44
|
||||
.incbin "baserom.gba", 0x5b2b44, 0x18
|
||||
|
||||
gUnknown_085B2B5C:: @ 85B2B5C
|
||||
.incbin "baserom.gba", 0x5b2b5c, 0x4
|
||||
|
||||
gUnknown_085B2B60:: @ 85B2B60
|
||||
.incbin "baserom.gba", 0x5b2b60, 0x8
|
||||
|
||||
gUnknown_085B2B68:: @ 85B2B68
|
||||
.incbin "baserom.gba", 0x5b2b68, 0x10
|
||||
|
||||
gUnknown_085B2B78:: @ 85B2B78
|
||||
.incbin "baserom.gba", 0x5b2b78, 0x6
|
||||
|
||||
gUnknown_085B2B7E:: @ 85B2B7E
|
||||
.incbin "baserom.gba", 0x5b2b7e, 0xa
|
||||
|
||||
gUnknown_085B2B88:: @ 85B2B88
|
||||
.incbin "baserom.gba", 0x5b2b88, 0xc
|
||||
|
||||
gUnknown_085B2B94:: @ 85B2B94
|
||||
.incbin "baserom.gba", 0x5b2b94, 0xc
|
||||
|
||||
gUnknown_085B2BA0:: @ 85B2BA0
|
||||
.incbin "baserom.gba", 0x5b2ba0, 0xc
|
||||
|
||||
gUnknown_085B2BAC:: @ 85B2BAC
|
||||
.incbin "baserom.gba", 0x5b2bac, 0x8
|
||||
|
||||
gUnknown_085B2BB4:: @ 85B2BB4
|
||||
.incbin "baserom.gba", 0x5b2bb4, 0x40
|
||||
|
||||
gUnknown_085B2BF4:: @ 85B2BF4
|
||||
.incbin "baserom.gba", 0x5b2bf4, 0x12
|
||||
|
||||
gUnknown_085B2C06:: @ 85B2C06
|
||||
.incbin "baserom.gba", 0x5b2c06, 0x12
|
||||
|
||||
gUnknown_085B2C18:: @ 85B2C18
|
||||
.incbin "baserom.gba", 0x5b2c18, 0x9
|
||||
|
||||
gUnknown_085B2C21:: @ 85B2C21
|
||||
.incbin "baserom.gba", 0x5b2c21, 0x9
|
||||
|
||||
gUnknown_085B2C2A:: @ 85B2C2A
|
||||
.incbin "baserom.gba", 0x5b2c2a, 0x26
|
||||
|
||||
gUnknown_085B2C50:: @ 85B2C50
|
||||
.incbin "baserom.gba", 0x5b2c50, 0x78
|
||||
|
||||
gUnknown_085B2CC8:: @ 85B2CC8
|
||||
.incbin "baserom.gba", 0x5b2cc8, 0x14
|
||||
|
||||
gUnknown_085B2CDC:: @ 85B2CDC
|
||||
.incbin "baserom.gba", 0x5b2cdc, 0x14
|
||||
|
||||
gUnknown_085B2CF0:: @ 85B2CF0
|
||||
.incbin "baserom.gba", 0x5b2cf0, 0x340
|
||||
|
||||
gUnknown_085B3030:: @ 85B3030
|
||||
.incbin "baserom.gba", 0x5b3030, 0x10
|
||||
|
||||
gUnknown_085B3040:: @ 85B3040
|
||||
.incbin "baserom.gba", 0x5b3040, 0x64
|
||||
|
||||
gUnknown_085B30A4:: @ 85B30A4
|
||||
.incbin "baserom.gba", 0x5b30a4, 0x30
|
||||
|
||||
gUnknown_085B30D4:: @ 85B30D4
|
||||
.incbin "baserom.gba", 0x5b30d4, 0x30
|
||||
|
||||
gUnknown_085B3104:: @ 85B3104
|
||||
.incbin "baserom.gba", 0x5b3104, 0x18
|
||||
|
||||
gUnknown_085B311C:: @ 85B311C
|
||||
.incbin "baserom.gba", 0x5b311c, 0x8
|
||||
|
||||
gUnknown_085B3124:: @ 85B3124
|
||||
.incbin "baserom.gba", 0x5b3124, 0x8
|
||||
|
||||
gUnknown_085B312C:: @ 85B312C
|
||||
.incbin "baserom.gba", 0x5b312c, 0x16
|
||||
|
||||
gUnknown_085B3142:: @ 85B3142
|
||||
.incbin "baserom.gba", 0x5b3142, 0xc
|
||||
|
||||
gUnknown_085B314E:: @ 85B314E
|
||||
.incbin "baserom.gba", 0x5b314e, 0xe
|
||||
|
||||
gUnknown_085B315C:: @ 85B315C
|
||||
.incbin "baserom.gba", 0x5b315c, 0x14
|
||||
|
||||
gUnknown_085B3170:: @ 85B3170
|
||||
.incbin "baserom.gba", 0x5b3170, 0x2c
|
||||
|
||||
gUnknown_085B319C:: @ 85B319C
|
||||
.incbin "baserom.gba", 0x5b319c, 0x18
|
||||
|
||||
gUnknown_085B31B4:: @ 85B31B4
|
||||
.incbin "baserom.gba", 0x5b31b4, 0x1c
|
||||
|
||||
gUnknown_085B31D0:: @ 85B31D0
|
||||
.incbin "baserom.gba", 0x5b31d0, 0x28
|
||||
|
||||
gUnknown_085B31F8:: @ 85B31F8
|
||||
.incbin "baserom.gba", 0x5b31f8, 0x14
|
||||
|
||||
gUnknown_085B320C:: @ 85B320C
|
||||
.incbin "baserom.gba", 0x5b320c, 0x14
|
||||
|
||||
gUnknown_085B3220:: @ 85B3220
|
||||
.incbin "baserom.gba", 0x5b3220, 0x8
|
||||
|
||||
gUnknown_085B3228:: @ 85B3228
|
||||
.incbin "baserom.gba", 0x5b3228, 0x2c
|
||||
|
||||
gUnknown_085B3254:: @ 85B3254
|
||||
.incbin "baserom.gba", 0x5b3254, 0x2c
|
||||
|
||||
gUnknown_085B3280:: @ 85B3280
|
||||
.incbin "baserom.gba", 0x5b3280, 0x160
|
||||
|
||||
gUnknown_085B33E0:: @ 85B33E0
|
||||
.incbin "baserom.gba", 0x5b33e0, 0x16
|
||||
|
||||
gUnknown_085B33F6:: @ 85B33F6
|
||||
.incbin "baserom.gba", 0x5b33f6, 0xa
|
||||
|
||||
gUnknown_085B3400:: @ 85B3400
|
||||
.incbin "baserom.gba", 0x5b3400, 0x10
|
||||
|
||||
gUnknown_085B3410:: @ 85B3410
|
||||
.incbin "baserom.gba", 0x5b3410, 0x10
|
||||
|
||||
gUnknown_085B3420:: @ 85B3420
|
||||
.incbin "baserom.gba", 0x5b3420, 0x24
|
||||
|
||||
gUnknown_085B3444:: @ 85B3444
|
||||
.incbin "baserom.gba", 0x5b3444, 0x2c
|
||||
|
||||
gUnknown_085B3470:: @ 85B3470
|
||||
.incbin "baserom.gba", 0x5b3470, 0x4
|
||||
|
||||
gUnknown_085B3474:: @ 85B3474
|
||||
.incbin "baserom.gba", 0x5b3474, 0x8
|
||||
|
||||
gUnknown_085B347C:: @ 85B347C
|
||||
.incbin "baserom.gba", 0x5b347c, 0x8
|
||||
|
||||
gUnknown_085B3484:: @ 85B3484
|
||||
.incbin "baserom.gba", 0x5b3484, 0xc0
|
||||
|
||||
gUnknown_085B3544:: @ 85B3544
|
||||
.incbin "baserom.gba", 0x5b3544, 0x20
|
||||
|
||||
gUnknown_085B3564:: @ 85B3564
|
||||
.incbin "baserom.gba", 0x5b3564, 0x800
|
||||
|
||||
gUnknown_085B3D64:: @ 85B3D64
|
||||
.incbin "baserom.gba", 0x5b3d64, 0x8
|
||||
|
||||
gUnknown_085B3D6C:: @ 85B3D6C
|
||||
.incbin "baserom.gba", 0x5b3d6c, 0x10
|
||||
|
||||
gUnknown_085B3D7C:: @ 85B3D7C
|
||||
.incbin "baserom.gba", 0x5b3d7c, 0x8
|
||||
|
||||
gUnknown_085B3D84:: @ 85B3D84
|
||||
.incbin "baserom.gba", 0x5b3d84, 0x8
|
||||
|
||||
gUnknown_085B3D8C:: @ 85B3D8C
|
||||
.incbin "baserom.gba", 0x5b3d8c, 0x8
|
||||
|
||||
gUnknown_085B3D94:: @ 85B3D94
|
||||
.incbin "baserom.gba", 0x5b3d94, 0x20
|
||||
|
||||
gUnknown_085B3DB4:: @ 85B3DB4
|
||||
.incbin "baserom.gba", 0x5b3db4, 0x134
|
||||
|
||||
gUnknown_085B3EE8:: @ 85B3EE8
|
||||
.incbin "baserom.gba", 0x5b3ee8, 0x2
|
||||
|
||||
gUnknown_085B3EEA:: @ 85B3EEA
|
||||
.incbin "baserom.gba", 0x5b3eea, 0x6
|
||||
|
||||
gUnknown_085B3EF0:: @ 85B3EF0
|
||||
.incbin "baserom.gba", 0x5b3ef0, 0xc
|
||||
|
||||
gUnknown_085B3EFC:: @ 85B3EFC
|
||||
.incbin "baserom.gba", 0x5b3efc, 0x1c
|
||||
|
||||
gUnknown_085B3F18:: @ 85B3F18
|
||||
.incbin "baserom.gba", 0x5b3f18, 0x100
|
||||
|
||||
gUnknown_085B4018:: @ 85B4018
|
||||
.incbin "baserom.gba", 0x5b4018, 0x4
|
||||
|
||||
gUnknown_085B401C:: @ 85B401C
|
||||
.incbin "baserom.gba", 0x5b401c, 0x8
|
||||
|
||||
gUnknown_085B4024:: @ 85B4024
|
||||
.incbin "baserom.gba", 0x5b4024, 0x10
|
||||
|
||||
gUnknown_085B4034:: @ 85B4034
|
||||
.incbin "baserom.gba", 0x5b4034, 0xb8
|
||||
|
||||
gUnknown_085B40EC:: @ 85B40EC
|
||||
.incbin "baserom.gba", 0x5b40ec, 0x10
|
||||
|
||||
gUnknown_085B40FC:: @ 85B40FC
|
||||
.incbin "baserom.gba", 0x5b40fc, 0x38
|
||||
|
||||
gUnknown_085B4134:: @ 85B4134
|
||||
.incbin "baserom.gba", 0x5b4134, 0x6f8
|
||||
|
||||
gUnknown_085B482C:: @ 85B482C
|
||||
.incbin "baserom.gba", 0x5b482c, 0x4e4
|
||||
|
||||
gUnknown_085B4D10:: @ 85B4D10
|
||||
.incbin "baserom.gba", 0x5b4d10, 0x4d4
|
||||
|
||||
gUnknown_085B51E4:: @ 85B51E4
|
||||
.incbin "baserom.gba", 0x5b51e4, 0x6a0
|
||||
|
||||
gUnknown_085B5884:: @ 85B5884
|
||||
.incbin "baserom.gba", 0x5b5884, 0x40
|
||||
|
||||
gText_ShedinjaJapaneseName2:: @ 85B58C4
|
||||
.incbin "baserom.gba", 0x5b58c4, 0x5
|
||||
|
||||
gUnknown_085B58C9:: @ 85B58C9
|
||||
.incbin "baserom.gba", 0x5b58c9, 0x10
|
||||
|
||||
gUnknown_085B58D9:: @ 85B58D9
|
||||
.incbin "baserom.gba", 0x5b58d9, 0x323
|
||||
|
||||
gUnknown_085B5BFC:: @ 85B5BFC
|
||||
.incbin "baserom.gba", 0x5b5bfc, 0x200
|
||||
|
||||
gUnknown_085B5DFC:: @ 85B5DFC
|
||||
.incbin "baserom.gba", 0x5b5dfc, 0x1a4
|
||||
|
||||
gUnknown_085B5FA0:: @ 85B5FA0
|
||||
.incbin "baserom.gba", 0x5b5fa0, 0x1a0
|
||||
|
||||
gUnknown_085B6140:: @ 85B6140
|
||||
.incbin "baserom.gba", 0x5b6140, 0xc
|
||||
|
||||
gUnknown_085B614C:: @ 85B614C
|
||||
.incbin "baserom.gba", 0x5b614c, 0x8
|
||||
|
||||
gUnknown_085B6154:: @ 85B6154
|
||||
.incbin "baserom.gba", 0x5b6154, 0xc
|
||||
|
||||
gUnknown_085B6160:: @ 85B6160
|
||||
.incbin "baserom.gba", 0x5b6160, 0x184
|
||||
|
||||
gUnknown_085B62E4:: @ 85B62E4
|
||||
.incbin "baserom.gba", 0x5b62e4, 0x4
|
||||
|
||||
gUnknown_085B62E8:: @ 85B62E8
|
||||
.incbin "baserom.gba", 0x5b62e8, 0x5c
|
||||
|
||||
gUnknown_085B6344:: @ 85B6344
|
||||
.incbin "baserom.gba", 0x5b6344, 0x4
|
||||
|
||||
gUnknown_085B6348:: @ 85B6348
|
||||
.incbin "baserom.gba", 0x5b6348, 0x40
|
||||
|
||||
gUnknown_085B6388:: @ 85B6388
|
||||
.incbin "baserom.gba", 0x5b6388, 0x68
|
||||
|
||||
gUnknown_085B63F0:: @ 85B63F0
|
||||
.incbin "baserom.gba", 0x5b63f0, 0x18
|
||||
|
||||
gUnknown_085B6408:: @ 85B6408
|
||||
.incbin "baserom.gba", 0x5b6408, 0x8
|
||||
|
||||
gUnknown_085B6410:: @ 85B6410
|
||||
.incbin "baserom.gba", 0x5b6410, 0x8
|
||||
|
||||
gUnknown_085B6418:: @ 85B6418
|
||||
.incbin "baserom.gba", 0x5b6418, 0x6
|
||||
|
||||
gUnknown_085B641E:: @ 85B641E
|
||||
.incbin "baserom.gba", 0x5b641e, 0x4
|
||||
|
||||
gUnknown_085B6422:: @ 85B6422
|
||||
.incbin "baserom.gba", 0x5b6422, 0xa
|
||||
|
||||
gUnknown_085B642C:: @ 85B642C
|
||||
.incbin "baserom.gba", 0x5b642c, 0x10
|
||||
|
||||
gUnknown_085B643C:: @ 85B643C
|
||||
.incbin "baserom.gba", 0x5b643c, 0xc
|
||||
|
||||
gUnknown_085B6448:: @ 85B6448
|
||||
.incbin "baserom.gba", 0x5b6448, 0xf3c
|
||||
|
||||
gUnknown_085B7384:: @ 85B7384
|
||||
.incbin "baserom.gba", 0x5b7384, 0x98
|
||||
|
||||
gUnknown_085B741C:: @ 85B741C
|
||||
.incbin "baserom.gba", 0x5b741c, 0x6c
|
||||
|
||||
gUnknown_085B7488:: @ 85B7488
|
||||
.incbin "baserom.gba", 0x5b7488, 0x8
|
||||
|
||||
gUnknown_085B7490:: @ 85B7490
|
||||
.incbin "baserom.gba", 0x5b7490, 0x78
|
||||
|
||||
gUnknown_085B7508:: @ 85B7508
|
||||
.incbin "baserom.gba", 0x5b7508, 0x60
|
||||
|
||||
gUnknown_085B7568:: @ 85B7568
|
||||
.incbin "baserom.gba", 0x5b7568, 0x48
|
||||
|
||||
gUnknown_085B75B0:: @ 85B75B0
|
||||
.incbin "baserom.gba", 0x5b75b0, 0x60
|
||||
|
||||
gUnknown_085B7610:: @ 85B7610
|
||||
.incbin "baserom.gba", 0x5b7610, 0x140
|
||||
|
||||
gUnknown_085B7750:: @ 85B7750
|
||||
.incbin "baserom.gba", 0x5b7750, 0x94
|
||||
|
||||
gUnknown_085B77E4:: @ 85B77E4
|
||||
.incbin "baserom.gba", 0x5b77e4, 0x18
|
||||
|
||||
gUnknown_085B77FC:: @ 85B77FC
|
||||
.incbin "baserom.gba", 0x5b77fc, 0x18
|
||||
|
||||
gUnknown_085B7814:: @ 85B7814
|
||||
.incbin "baserom.gba", 0x5b7814, 0x18
|
||||
|
||||
gUnknown_085B782C:: @ 85B782C
|
||||
.incbin "baserom.gba", 0x5b782c, 0x18
|
||||
|
||||
gUnknown_085B7844:: @ 85B7844
|
||||
.incbin "baserom.gba", 0x5b7844, 0x20
|
||||
|
||||
gUnknown_085B7864:: @ 85B7864
|
||||
.incbin "baserom.gba", 0x5b7864, 0xc4
|
||||
|
||||
gUnknown_085B7928:: @ 85B7928
|
||||
.incbin "baserom.gba", 0x5b7928, 0x20
|
||||
|
||||
gUnknown_085B7948:: @ 85B7948
|
||||
.incbin "baserom.gba", 0x5b7948, 0x8
|
||||
|
||||
gUnknown_085B7950:: @ 85B7950
|
||||
.incbin "baserom.gba", 0x5b7950, 0x28
|
||||
|
||||
gUnknown_085B7978:: @ 85B7978
|
||||
.incbin "baserom.gba", 0x5b7978, 0x80
|
||||
|
||||
gUnknown_085B79F8:: @ 85B79F8
|
||||
.incbin "baserom.gba", 0x5b79f8, 0x18
|
||||
|
||||
gUnknown_085B7A10:: @ 85B7A10
|
||||
.incbin "baserom.gba", 0x5b7a10, 0x30
|
||||
|
||||
gUnknown_085B7A40:: @ 85B7A40
|
||||
.incbin "baserom.gba", 0x5b7a40, 0x7c
|
||||
|
||||
gUnknown_085B7ABC:: @ 85B7ABC
|
||||
.incbin "baserom.gba", 0x5b7abc, 0x30
|
||||
|
||||
gUnknown_085B7AEC:: @ 85B7AEC
|
||||
.incbin "baserom.gba", 0x5b7aec, 0x18
|
||||
|
||||
gUnknown_085B7B04:: @ 85B7B04
|
||||
.incbin "baserom.gba", 0x5b7b04, 0x6
|
||||
|
||||
gUnknown_085B7B0A:: @ 85B7B0A
|
||||
.incbin "baserom.gba", 0x5b7b0a, 0x8
|
||||
|
||||
gUnknown_085B7B12:: @ 85B7B12
|
||||
.incbin "baserom.gba", 0x5b7b12, 0x8
|
||||
|
||||
gUnknown_085B7B1A:: @ 85B7B1A
|
||||
.incbin "baserom.gba", 0x5b7b1a, 0x14
|
||||
|
||||
gUnknown_085B7B2E:: @ 85B7B2E
|
||||
.incbin "baserom.gba", 0x5b7b2e, 0x18
|
||||
|
||||
gUnknown_085B7B46:: @ 85B7B46
|
||||
.incbin "baserom.gba", 0x5b7b46, 0x2
|
||||
|
||||
gUnknown_085B7B48:: @ 85B7B48
|
||||
.incbin "baserom.gba", 0x5b7b48, 0x8d0
|
||||
|
||||
gUnknown_085B8418:: @ 85B8418
|
||||
.incbin "baserom.gba", 0x5b8418, 0x20
|
||||
|
||||
gUnknown_085B8438:: @ 85B8438
|
||||
.incbin "baserom.gba", 0x5b8438, 0x338
|
||||
|
||||
gUnknown_085B8770:: @ 85B8770
|
||||
.incbin "baserom.gba", 0x5b8770, 0x480
|
||||
|
||||
gUnknown_085B8BF0:: @ 85B8BF0
|
||||
.incbin "baserom.gba", 0x5b8bf0, 0x20
|
||||
|
||||
gUnknown_085B8C10:: @ 85B8C10
|
||||
.incbin "baserom.gba", 0x5b8c10, 0x20
|
||||
|
||||
gUnknown_085B8C30:: @ 85B8C30
|
||||
.incbin "baserom.gba", 0x5b8c30, 0x2
|
||||
|
||||
gUnknown_085B8C32:: @ 85B8C32
|
||||
.incbin "baserom.gba", 0x5b8c32, 0x36
|
||||
|
||||
gUnknown_085B8C68:: @ 85B8C68
|
||||
.incbin "baserom.gba", 0x5b8c68, 0x18
|
||||
|
||||
gUnknown_085B8C80:: @ 85B8C80
|
||||
.incbin "baserom.gba", 0x5b8c80, 0x10
|
||||
|
||||
gUnknown_085B8C90:: @ 85B8C90
|
||||
.incbin "baserom.gba", 0x5b8c90, 0x528
|
||||
|
||||
gUnknown_085B91B8:: @ 85B91B8
|
||||
.incbin "baserom.gba", 0x5b91b8, 0x178
|
||||
|
||||
gUnknown_085B9330:: @ 85B9330
|
||||
.incbin "baserom.gba", 0x5b9330, 0x580
|
||||
|
||||
gUnknown_085B98B0:: @ 85B98B0
|
||||
.incbin "baserom.gba", 0x5b98b0, 0x240
|
||||
|
||||
gUnknown_085B9AF0:: @ 85B9AF0
|
||||
.incbin "baserom.gba", 0x5b9af0, 0x11e0
|
||||
|
||||
gUnknown_085BACD0:: @ 85BACD0
|
||||
.incbin "baserom.gba", 0x5bacd0, 0x1e0
|
||||
|
||||
gUnknown_085BAEB0:: @ 85BAEB0
|
||||
.incbin "baserom.gba", 0x5baeb0, 0x20
|
||||
|
||||
gUnknown_085BAED0:: @ 85BAED0
|
||||
.incbin "baserom.gba", 0x5baed0, 0x378
|
||||
|
||||
gUnknown_085BB248:: @ 85BB248
|
||||
.incbin "baserom.gba", 0x5bb248, 0x25c
|
||||
|
||||
gUnknown_085BB4A4:: @ 85BB4A4
|
||||
.incbin "baserom.gba", 0x5bb4a4, 0x48c
|
||||
|
||||
gUnknown_085BB930:: @ 85BB930
|
||||
.incbin "baserom.gba", 0x5bb930, 0x2e4
|
||||
|
||||
gUnknown_085BBC14:: @ 85BBC14
|
||||
.incbin "baserom.gba", 0x5bbc14, 0x6a0
|
||||
|
||||
gUnknown_085BC2B4:: @ 85BC2B4
|
||||
.incbin "baserom.gba", 0x5bc2b4, 0x20
|
||||
|
||||
gUnknown_085BC2D4:: @ 85BC2D4
|
||||
.incbin "baserom.gba", 0x5bc2d4, 0x20
|
||||
|
||||
gUnknown_085BC2F4:: @ 85BC2F4
|
||||
.incbin "baserom.gba", 0x5bc2f4, 0x20
|
||||
|
||||
gUnknown_085BC314:: @ 85BC314
|
||||
.incbin "baserom.gba", 0x5bc314, 0x800
|
||||
|
||||
gUnknown_085BCB14:: @ 85BCB14
|
||||
.incbin "baserom.gba", 0x5bcb14, 0x800
|
||||
|
||||
gUnknown_085BD314:: @ 85BD314
|
||||
.incbin "baserom.gba", 0x5bd314, 0x820
|
||||
|
||||
gUnknown_085BDB34:: @ 85BDB34
|
||||
.incbin "baserom.gba", 0x5bdb34, 0x6b4
|
||||
|
||||
gUnknown_085BE1E8:: @ 85BE1E8
|
||||
.incbin "baserom.gba", 0x5be1e8, 0x334
|
||||
|
||||
gUnknown_085BE51C:: @ 85BE51C
|
||||
.incbin "baserom.gba", 0x5be51c, 0x56c
|
||||
|
||||
gUnknown_085BEA88:: @ 85BEA88
|
||||
.incbin "baserom.gba", 0x5bea88, 0x318
|
||||
|
||||
gUnknown_085BEDA0:: @ 85BEDA0
|
||||
.incbin "baserom.gba", 0x5beda0, 0x140
|
||||
|
||||
gUnknown_085BEEE0:: @ 85BEEE0
|
||||
.incbin "baserom.gba", 0x5beee0, 0x1c0
|
||||
|
||||
gUnknown_085BF0A0:: @ 85BF0A0
|
||||
.incbin "baserom.gba", 0x5bf0a0, 0x200
|
||||
|
||||
gUnknown_085BF2A0:: @ 85BF2A0
|
||||
.incbin "baserom.gba", 0x5bf2a0, 0x200
|
||||
|
||||
gUnknown_085BF4A0:: @ 85BF4A0
|
||||
.incbin "baserom.gba", 0x5bf4a0, 0xa0
|
||||
|
||||
gUnknown_085BF540:: @ 85BF540
|
||||
.incbin "baserom.gba", 0x5bf540, 0x160
|
||||
|
||||
gUnknown_085BF6A0:: @ 85BF6A0
|
||||
.incbin "baserom.gba", 0x5bf6a0, 0x7540
|
||||
|
||||
gUnknown_085C6BE0:: @ 85C6BE0
|
||||
.incbin "baserom.gba", 0x5c6be0, 0x1000
|
||||
|
||||
gUnknown_085C7BE0:: @ 85C7BE0
|
||||
.incbin "baserom.gba", 0x5c7be0, 0x20
|
||||
|
||||
gUnknown_085C7C00:: @ 85C7C00
|
||||
.incbin "baserom.gba", 0x5c7c00, 0x68c
|
||||
|
||||
gUnknown_085C828C:: @ 85C828C
|
||||
.incbin "baserom.gba", 0x5c828c, 0x2ec
|
||||
|
||||
gUnknown_085C8578:: @ 85C8578
|
||||
.incbin "baserom.gba", 0x5c8578, 0x20
|
||||
|
||||
gUnknown_085C8598:: @ 85C8598
|
||||
.incbin "baserom.gba", 0x5c8598, 0x15c
|
||||
|
||||
gUnknown_085C86F4:: @ 85C86F4
|
||||
.incbin "baserom.gba", 0x5c86f4, 0x100
|
||||
|
||||
gUnknown_085C87F4:: @ 85C87F4
|
||||
.incbin "baserom.gba", 0x5c87f4, 0xb0
|
||||
|
||||
gUnknown_085C88A4:: @ 85C88A4
|
||||
.incbin "baserom.gba", 0x5c88a4, 0x84
|
||||
|
||||
gUnknown_085C8928:: @ 85C8928
|
||||
.incbin "baserom.gba", 0x5c8928, 0x20
|
||||
|
||||
gUnknown_085C8948:: @ 85C8948
|
||||
.incbin "baserom.gba", 0x5c8948, 0xa8
|
||||
|
||||
gUnknown_085C89F0:: @ 85C89F0
|
||||
.incbin "baserom.gba", 0x5c89f0, 0xa8
|
||||
|
||||
gUnknown_085C8A98:: @ 85C8A98
|
||||
.incbin "baserom.gba", 0x5c8a98, 0x10
|
||||
|
||||
gUnknown_085C8AA8:: @ 85C8AA8
|
||||
.incbin "baserom.gba", 0x5c8aa8, 0xc
|
||||
|
||||
gUnknown_085C8AB4:: @ 85C8AB4
|
||||
.incbin "baserom.gba", 0x5c8ab4, 0x8
|
||||
|
||||
gUnknown_085C8ABC:: @ 85C8ABC
|
||||
.incbin "baserom.gba", 0x5c8abc, 0x8
|
||||
|
||||
gUnknown_085C8AC4:: @ 85C8AC4
|
||||
.incbin "baserom.gba", 0x5c8ac4, 0x1c
|
||||
|
||||
gUnknown_085C8AE0:: @ 85C8AE0
|
||||
.incbin "baserom.gba", 0x5c8ae0, 0x1c
|
||||
|
||||
gUnknown_085C8AFC:: @ 85C8AFC
|
||||
.incbin "baserom.gba", 0x5c8afc, 0x18
|
||||
|
||||
gUnknown_085C8B14:: @ 85C8B14
|
||||
.incbin "baserom.gba", 0x5c8b14, 0x18
|
||||
|
||||
gUnknown_085C8B2C:: @ 85C8B2C
|
||||
.incbin "baserom.gba", 0x5c8b2c, 0x18
|
||||
|
||||
gUnknown_085C8B44:: @ 85C8B44
|
||||
.incbin "baserom.gba", 0x5c8b44, 0x18
|
||||
|
||||
gUnknown_085C8B5C:: @ 85C8B5C
|
||||
.incbin "baserom.gba", 0x5c8b5c, 0x20
|
||||
|
||||
gUnknown_085C8B7C:: @ 85C8B7C
|
||||
.incbin "baserom.gba", 0x5c8b7c, 0xc
|
||||
|
||||
gUnknown_085C8B88:: @ 85C8B88
|
||||
.incbin "baserom.gba", 0x5c8b88, 0x4
|
||||
|
||||
gUnknown_085C8B8C:: @ 85C8B8C
|
||||
.incbin "baserom.gba", 0x5c8b8c, 0xa
|
||||
|
||||
gUnknown_085C8B96:: @ 85C8B96
|
||||
.incbin "baserom.gba", 0x5c8b96, 0x6
|
||||
|
||||
gUnknown_085C8B9C:: @ 85C8B9C
|
||||
.incbin "baserom.gba", 0x5c8b9c, 0x1c
|
||||
|
||||
gUnknown_085C8BB8:: @ 85C8BB8
|
||||
.incbin "baserom.gba", 0x5c8bb8, 0x8
|
||||
|
||||
gUnknown_085C8BC0:: @ 85C8BC0
|
||||
.incbin "baserom.gba", 0x5c8bc0, 0xc
|
||||
|
||||
gUnknown_085C8BCC:: @ 85C8BCC
|
||||
.incbin "baserom.gba", 0x5c8bcc, 0x28
|
||||
|
||||
gUnknown_085C8BF4:: @ 85C8BF4
|
||||
.incbin "baserom.gba", 0x5c8bf4, 0x6
|
||||
|
||||
gUnknown_085C8BFA:: @ 85C8BFA
|
||||
.incbin "baserom.gba", 0x5c8bfa, 0x14
|
||||
|
||||
gUnknown_085C8C0E:: @ 85C8C0E
|
||||
.incbin "baserom.gba", 0x5c8c0e, 0x16
|
||||
|
||||
gUnknown_085C8C24:: @ 85C8C24
|
||||
.incbin "baserom.gba", 0x5c8c24, 0x1c
|
||||
|
||||
gUnknown_085C8C40:: @ 85C8C40
|
||||
.incbin "baserom.gba", 0x5c8c40, 0x4
|
||||
|
||||
gUnknown_085C8C44:: @ 85C8C44
|
||||
.incbin "baserom.gba", 0x5c8c44, 0x4
|
||||
|
||||
gUnknown_085C8C48:: @ 85C8C48
|
||||
.incbin "baserom.gba", 0x5c8c48, 0xc
|
||||
|
||||
gUnknown_085C8C54:: @ 85C8C54
|
||||
.incbin "baserom.gba", 0x5c8c54, 0x10
|
||||
|
||||
gUnknown_085C8C64:: @ 85C8C64
|
||||
.incbin "baserom.gba", 0x5c8c64, 0x2
|
||||
|
||||
gUnknown_085C8C66:: @ 85C8C66
|
||||
.incbin "baserom.gba", 0x5c8c66, 0x6
|
||||
|
||||
gUnknown_085C8C6C:: @ 85C8C6C
|
||||
.incbin "baserom.gba", 0x5c8c6c, 0xc
|
||||
|
||||
gUnknown_085C8C78:: @ 85C8C78
|
||||
.incbin "baserom.gba", 0x5c8c78, 0x8
|
||||
|
||||
gUnknown_085C8C80:: @ 85C8C80
|
||||
.incbin "baserom.gba", 0x5c8c80, 0x4
|
||||
|
||||
gUnknown_085C8C84:: @ 85C8C84
|
||||
.incbin "baserom.gba", 0x5c8c84, 0xb4
|
||||
|
||||
gUnknown_085C8D38:: @ 85C8D38
|
||||
.incbin "baserom.gba", 0x5c8d38, 0x8
|
||||
|
||||
gUnknown_085C8D40:: @ 85C8D40
|
||||
.incbin "baserom.gba", 0x5c8d40, 0x20
|
||||
|
||||
gUnknown_085C8D60:: @ 85C8D60
|
||||
.incbin "baserom.gba", 0x5c8d60, 0x2c
|
||||
|
||||
gUnknown_085C8D8C:: @ 85C8D8C
|
||||
.incbin "baserom.gba", 0x5c8d8c, 0x14
|
||||
|
||||
gUnknown_085C8DA0:: @ 85C8DA0
|
||||
.incbin "baserom.gba", 0x5c8da0, 0x10
|
||||
|
||||
gUnknown_085C8DB0:: @ 85C8DB0
|
||||
.incbin "baserom.gba", 0x5c8db0, 0xc
|
||||
|
||||
gUnknown_085C8DBC:: @ 85C8DBC
|
||||
.incbin "baserom.gba", 0x5c8dbc, 0x14
|
||||
|
||||
gUnknown_085C8DD0:: @ 85C8DD0
|
||||
.incbin "baserom.gba", 0x5c8dd0, 0x46
|
||||
|
||||
gUnknown_085C8E16:: @ 85C8E16
|
||||
.incbin "baserom.gba", 0x5c8e16, 0xe
|
||||
|
||||
gUnknown_085C8E24:: @ 85C8E24
|
||||
.incbin "baserom.gba", 0x5c8e24, 0x44
|
||||
|
||||
gUnknown_085C8E68:: @ 85C8E68
|
||||
.incbin "baserom.gba", 0x5c8e68, 0x6c
|
||||
|
||||
.align 2
|
||||
gFieldEffectObjectPalette10:: @ 85C8ED4
|
||||
.incbin "graphics/map_objects/palettes/field_effect_object_palette_10.gbapal"
|
||||
|
||||
.align 2
|
||||
gFieldEffectObjectPaletteInfo10:: @ 85C8EF4
|
||||
obj_pal gFieldEffectObjectPalette10, 0x1009
|
||||
|
||||
.incbin "baserom.gba", 0x5c8efc, 0xe0
|
||||
|
||||
gUnknown_085C8FDC:: @ 85C8FDC
|
||||
.incbin "baserom.gba", 0x5c8fdc, 0x14
|
||||
|
||||
gUnknown_085C8FF0:: @ 85C8FF0
|
||||
.incbin "baserom.gba", 0x5c8ff0, 0x30
|
||||
|
||||
gUnknown_085C9020:: @ 85C9020
|
||||
.incbin "baserom.gba", 0x5c9020, 0x4b0
|
||||
|
||||
gUnknown_085C94D0:: @ 85C94D0
|
||||
.incbin "baserom.gba", 0x5c94d0, 0x500
|
||||
|
||||
gUnknown_085C99D0:: @ 85C99D0
|
||||
.incbin "baserom.gba", 0x5c99d0, 0x18
|
||||
|
||||
gUnknown_085C99E8:: @ 85C99E8
|
||||
.incbin "baserom.gba", 0x5c99e8, 0x10
|
||||
|
||||
gUnknown_085C99F8:: @ 85C99F8
|
||||
.incbin "baserom.gba", 0x5c99f8, 0x10
|
||||
|
||||
gUnknown_085C9A08:: @ 85C9A08
|
||||
.incbin "baserom.gba", 0x5c9a08, 0x14
|
||||
|
||||
gUnknown_085C9A1C:: @ 85C9A1C
|
||||
.incbin "baserom.gba", 0x5c9a1c, 0x14
|
||||
|
||||
gUnknown_085C9A30:: @ 85C9A30
|
||||
.incbin "baserom.gba", 0x5c9a30, 0x23
|
||||
|
||||
gUnknown_085C9A53:: @ 85C9A53
|
||||
.incbin "baserom.gba", 0x5c9a53, 0x41
|
||||
|
||||
|
833
data/data4c.s
Normal file
833
data/data4c.s
Normal file
@ -0,0 +1,833 @@
|
||||
@ the fourth big chunk of data
|
||||
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
gUnknown_085B21D4:: @ 85B21D4
|
||||
.incbin "baserom.gba", 0x5b21d4, 0x8
|
||||
|
||||
gUnknown_085B21DC:: @ 85B21DC
|
||||
.incbin "baserom.gba", 0x5b21dc, 0x18
|
||||
|
||||
gUnknown_085B21F4:: @ 85B21F4
|
||||
.incbin "baserom.gba", 0x5b21f4, 0x8
|
||||
|
||||
gUnknown_085B21FC:: @ 85B21FC
|
||||
.incbin "baserom.gba", 0x5b21fc, 0xc
|
||||
|
||||
gUnknown_085B2208:: @ 85B2208
|
||||
.incbin "baserom.gba", 0x5b2208, 0x10
|
||||
|
||||
gUnknown_085B2218:: @ 85B2218
|
||||
.incbin "baserom.gba", 0x5b2218, 0x38
|
||||
|
||||
gUnknown_085B2250:: @ 85B2250
|
||||
.incbin "baserom.gba", 0x5b2250, 0x18
|
||||
|
||||
gUnknown_085B2268:: @ 85B2268
|
||||
.incbin "baserom.gba", 0x5b2268, 0x38
|
||||
|
||||
gUnknown_085B22A0:: @ 85B22A0
|
||||
.incbin "baserom.gba", 0x5b22a0, 0x18
|
||||
|
||||
gUnknown_085B22B8:: @ 85B22B8
|
||||
.incbin "baserom.gba", 0x5b22b8, 0x18
|
||||
|
||||
gUnknown_085B22D0:: @ 85B22D0
|
||||
.incbin "baserom.gba", 0x5b22d0, 0x2d0
|
||||
|
||||
gPokeblockFlavorCompatibilityTable:: @ 85B25A0
|
||||
.incbin "baserom.gba", 0x5b25a0, 0x80
|
||||
|
||||
gUnknown_085B2620:: @ 85B2620
|
||||
.incbin "baserom.gba", 0x5b2620, 0xc
|
||||
|
||||
gPokeblockNames:: @ 85B262C
|
||||
.incbin "baserom.gba", 0x5b262c, 0x3c
|
||||
|
||||
gUnknown_085B2668:: @ 85B2668
|
||||
.incbin "baserom.gba", 0x5b2668, 0x30
|
||||
|
||||
gUnknown_085B2698:: @ 85B2698
|
||||
.incbin "baserom.gba", 0x5b2698, 0x3
|
||||
|
||||
gUnknown_085B269B:: @ 85B269B
|
||||
.incbin "baserom.gba", 0x5b269b, 0x2
|
||||
|
||||
gUnknown_085B269D:: @ 85B269D
|
||||
.incbin "baserom.gba", 0x5b269d, 0x2
|
||||
|
||||
gUnknown_085B269F:: @ 85B269F
|
||||
.incbin "baserom.gba", 0x5b269f, 0x5
|
||||
|
||||
gUnknown_085B26A4:: @ 85B26A4
|
||||
.incbin "baserom.gba", 0x5b26a4, 0x4c
|
||||
|
||||
gUnknown_085B26F0:: @ 85B26F0
|
||||
.incbin "baserom.gba", 0x5b26f0, 0x4
|
||||
|
||||
gUnknown_085B26F4:: @ 85B26F4
|
||||
.incbin "baserom.gba", 0x5b26f4, 0x8
|
||||
|
||||
gUnknown_085B26FC:: @ 85B26FC
|
||||
.incbin "baserom.gba", 0x5b26fc, 0x8
|
||||
|
||||
gUnknown_085B2704:: @ 85B2704
|
||||
.incbin "baserom.gba", 0x5b2704, 0x18
|
||||
|
||||
gUnknown_085B271C:: @ 85B271C
|
||||
.incbin "baserom.gba", 0x5b271c, 0x4
|
||||
|
||||
gUnknown_085B2720:: @ 85B2720
|
||||
.incbin "baserom.gba", 0x5b2720, 0x28
|
||||
|
||||
gUnknown_085B2748:: @ 85B2748
|
||||
.incbin "baserom.gba", 0x5b2748, 0x60
|
||||
|
||||
gUnknown_085B27A8:: @ 85B27A8
|
||||
.incbin "baserom.gba", 0x5b27a8, 0x8
|
||||
|
||||
gUnknown_085B27B0:: @ 85B27B0
|
||||
.incbin "baserom.gba", 0x5b27b0, 0x18
|
||||
|
||||
gUnknown_085B27C8:: @ 85B27C8
|
||||
.incbin "baserom.gba", 0x5b27c8, 0x88
|
||||
|
||||
gUnknown_085B2850:: @ 85B2850
|
||||
.incbin "baserom.gba", 0x5b2850, 0x20
|
||||
|
||||
gUnknown_085B2870:: @ 85B2870
|
||||
.incbin "baserom.gba", 0x5b2870, 0x20
|
||||
|
||||
gUnknown_085B2890:: @ 85B2890
|
||||
.incbin "baserom.gba", 0x5b2890, 0x10
|
||||
|
||||
gUnknown_085B28A0:: @ 85B28A0
|
||||
.incbin "baserom.gba", 0x5b28a0, 0x10
|
||||
|
||||
gUnknown_085B28B0:: @ 85B28B0
|
||||
.incbin "baserom.gba", 0x5b28b0, 0x1e0
|
||||
|
||||
gUnknown_085B2A90:: @ 85B2A90
|
||||
.incbin "baserom.gba", 0x5b2a90, 0xb4
|
||||
|
||||
gUnknown_085B2B44:: @ 85B2B44
|
||||
.incbin "baserom.gba", 0x5b2b44, 0x18
|
||||
|
||||
gUnknown_085B2B5C:: @ 85B2B5C
|
||||
.incbin "baserom.gba", 0x5b2b5c, 0x4
|
||||
|
||||
gUnknown_085B2B60:: @ 85B2B60
|
||||
.incbin "baserom.gba", 0x5b2b60, 0x8
|
||||
|
||||
gUnknown_085B2B68:: @ 85B2B68
|
||||
.incbin "baserom.gba", 0x5b2b68, 0x10
|
||||
|
||||
gUnknown_085B2B78:: @ 85B2B78
|
||||
.incbin "baserom.gba", 0x5b2b78, 0x6
|
||||
|
||||
gUnknown_085B2B7E:: @ 85B2B7E
|
||||
.incbin "baserom.gba", 0x5b2b7e, 0xa
|
||||
|
||||
gUnknown_085B2B88:: @ 85B2B88
|
||||
.incbin "baserom.gba", 0x5b2b88, 0xc
|
||||
|
||||
gUnknown_085B2B94:: @ 85B2B94
|
||||
.incbin "baserom.gba", 0x5b2b94, 0xc
|
||||
|
||||
gUnknown_085B2BA0:: @ 85B2BA0
|
||||
.incbin "baserom.gba", 0x5b2ba0, 0xc
|
||||
|
||||
gUnknown_085B2BAC:: @ 85B2BAC
|
||||
.incbin "baserom.gba", 0x5b2bac, 0x8
|
||||
|
||||
gUnknown_085B2BB4:: @ 85B2BB4
|
||||
.incbin "baserom.gba", 0x5b2bb4, 0x40
|
||||
|
||||
gUnknown_085B2BF4:: @ 85B2BF4
|
||||
.incbin "baserom.gba", 0x5b2bf4, 0x12
|
||||
|
||||
gUnknown_085B2C06:: @ 85B2C06
|
||||
.incbin "baserom.gba", 0x5b2c06, 0x12
|
||||
|
||||
gUnknown_085B2C18:: @ 85B2C18
|
||||
.incbin "baserom.gba", 0x5b2c18, 0x9
|
||||
|
||||
gUnknown_085B2C21:: @ 85B2C21
|
||||
.incbin "baserom.gba", 0x5b2c21, 0x9
|
||||
|
||||
gUnknown_085B2C2A:: @ 85B2C2A
|
||||
.incbin "baserom.gba", 0x5b2c2a, 0x26
|
||||
|
||||
gUnknown_085B2C50:: @ 85B2C50
|
||||
.incbin "baserom.gba", 0x5b2c50, 0x78
|
||||
|
||||
gUnknown_085B2CC8:: @ 85B2CC8
|
||||
.incbin "baserom.gba", 0x5b2cc8, 0x14
|
||||
|
||||
gUnknown_085B2CDC:: @ 85B2CDC
|
||||
.incbin "baserom.gba", 0x5b2cdc, 0x14
|
||||
|
||||
gUnknown_085B2CF0:: @ 85B2CF0
|
||||
.incbin "baserom.gba", 0x5b2cf0, 0x340
|
||||
|
||||
gUnknown_085B3030:: @ 85B3030
|
||||
.incbin "baserom.gba", 0x5b3030, 0x10
|
||||
|
||||
gUnknown_085B3040:: @ 85B3040
|
||||
.incbin "baserom.gba", 0x5b3040, 0x64
|
||||
|
||||
gUnknown_085B30A4:: @ 85B30A4
|
||||
.incbin "baserom.gba", 0x5b30a4, 0x30
|
||||
|
||||
gUnknown_085B30D4:: @ 85B30D4
|
||||
.incbin "baserom.gba", 0x5b30d4, 0x30
|
||||
|
||||
gUnknown_085B3104:: @ 85B3104
|
||||
.incbin "baserom.gba", 0x5b3104, 0x18
|
||||
|
||||
gUnknown_085B311C:: @ 85B311C
|
||||
.incbin "baserom.gba", 0x5b311c, 0x8
|
||||
|
||||
gUnknown_085B3124:: @ 85B3124
|
||||
.incbin "baserom.gba", 0x5b3124, 0x8
|
||||
|
||||
gUnknown_085B312C:: @ 85B312C
|
||||
.incbin "baserom.gba", 0x5b312c, 0x16
|
||||
|
||||
gUnknown_085B3142:: @ 85B3142
|
||||
.incbin "baserom.gba", 0x5b3142, 0xc
|
||||
|
||||
gUnknown_085B314E:: @ 85B314E
|
||||
.incbin "baserom.gba", 0x5b314e, 0xe
|
||||
|
||||
gUnknown_085B315C:: @ 85B315C
|
||||
.incbin "baserom.gba", 0x5b315c, 0x14
|
||||
|
||||
gUnknown_085B3170:: @ 85B3170
|
||||
.incbin "baserom.gba", 0x5b3170, 0x2c
|
||||
|
||||
gUnknown_085B319C:: @ 85B319C
|
||||
.incbin "baserom.gba", 0x5b319c, 0x18
|
||||
|
||||
gUnknown_085B31B4:: @ 85B31B4
|
||||
.incbin "baserom.gba", 0x5b31b4, 0x1c
|
||||
|
||||
gUnknown_085B31D0:: @ 85B31D0
|
||||
.incbin "baserom.gba", 0x5b31d0, 0x28
|
||||
|
||||
gUnknown_085B31F8:: @ 85B31F8
|
||||
.incbin "baserom.gba", 0x5b31f8, 0x14
|
||||
|
||||
gUnknown_085B320C:: @ 85B320C
|
||||
.incbin "baserom.gba", 0x5b320c, 0x14
|
||||
|
||||
gUnknown_085B3220:: @ 85B3220
|
||||
.incbin "baserom.gba", 0x5b3220, 0x8
|
||||
|
||||
gUnknown_085B3228:: @ 85B3228
|
||||
.incbin "baserom.gba", 0x5b3228, 0x2c
|
||||
|
||||
gUnknown_085B3254:: @ 85B3254
|
||||
.incbin "baserom.gba", 0x5b3254, 0x2c
|
||||
|
||||
gUnknown_085B3280:: @ 85B3280
|
||||
.incbin "baserom.gba", 0x5b3280, 0x160
|
||||
|
||||
gUnknown_085B33E0:: @ 85B33E0
|
||||
.incbin "baserom.gba", 0x5b33e0, 0x16
|
||||
|
||||
gUnknown_085B33F6:: @ 85B33F6
|
||||
.incbin "baserom.gba", 0x5b33f6, 0xa
|
||||
|
||||
gUnknown_085B3400:: @ 85B3400
|
||||
.incbin "baserom.gba", 0x5b3400, 0x10
|
||||
|
||||
gUnknown_085B3410:: @ 85B3410
|
||||
.incbin "baserom.gba", 0x5b3410, 0x10
|
||||
|
||||
gUnknown_085B3420:: @ 85B3420
|
||||
.incbin "baserom.gba", 0x5b3420, 0x24
|
||||
|
||||
gUnknown_085B3444:: @ 85B3444
|
||||
.incbin "baserom.gba", 0x5b3444, 0x2c
|
||||
|
||||
gUnknown_085B3470:: @ 85B3470
|
||||
.incbin "baserom.gba", 0x5b3470, 0x4
|
||||
|
||||
gUnknown_085B3474:: @ 85B3474
|
||||
.incbin "baserom.gba", 0x5b3474, 0x8
|
||||
|
||||
gUnknown_085B347C:: @ 85B347C
|
||||
.incbin "baserom.gba", 0x5b347c, 0x8
|
||||
|
||||
gUnknown_085B3484:: @ 85B3484
|
||||
.incbin "baserom.gba", 0x5b3484, 0xc0
|
||||
|
||||
gUnknown_085B3544:: @ 85B3544
|
||||
.incbin "baserom.gba", 0x5b3544, 0x20
|
||||
|
||||
gUnknown_085B3564:: @ 85B3564
|
||||
.incbin "baserom.gba", 0x5b3564, 0x800
|
||||
|
||||
gUnknown_085B3D64:: @ 85B3D64
|
||||
.incbin "baserom.gba", 0x5b3d64, 0x8
|
||||
|
||||
gUnknown_085B3D6C:: @ 85B3D6C
|
||||
.incbin "baserom.gba", 0x5b3d6c, 0x10
|
||||
|
||||
gUnknown_085B3D7C:: @ 85B3D7C
|
||||
.incbin "baserom.gba", 0x5b3d7c, 0x8
|
||||
|
||||
gUnknown_085B3D84:: @ 85B3D84
|
||||
.incbin "baserom.gba", 0x5b3d84, 0x8
|
||||
|
||||
gUnknown_085B3D8C:: @ 85B3D8C
|
||||
.incbin "baserom.gba", 0x5b3d8c, 0x8
|
||||
|
||||
gUnknown_085B3D94:: @ 85B3D94
|
||||
.incbin "baserom.gba", 0x5b3d94, 0x20
|
||||
|
||||
gUnknown_085B3DB4:: @ 85B3DB4
|
||||
.incbin "baserom.gba", 0x5b3db4, 0x134
|
||||
|
||||
gUnknown_085B3EE8:: @ 85B3EE8
|
||||
.incbin "baserom.gba", 0x5b3ee8, 0x2
|
||||
|
||||
gUnknown_085B3EEA:: @ 85B3EEA
|
||||
.incbin "baserom.gba", 0x5b3eea, 0x6
|
||||
|
||||
gUnknown_085B3EF0:: @ 85B3EF0
|
||||
.incbin "baserom.gba", 0x5b3ef0, 0xc
|
||||
|
||||
gUnknown_085B3EFC:: @ 85B3EFC
|
||||
.incbin "baserom.gba", 0x5b3efc, 0x1c
|
||||
|
||||
gUnknown_085B3F18:: @ 85B3F18
|
||||
.incbin "baserom.gba", 0x5b3f18, 0x100
|
||||
|
||||
gUnknown_085B4018:: @ 85B4018
|
||||
.incbin "baserom.gba", 0x5b4018, 0x4
|
||||
|
||||
gUnknown_085B401C:: @ 85B401C
|
||||
.incbin "baserom.gba", 0x5b401c, 0x8
|
||||
|
||||
gUnknown_085B4024:: @ 85B4024
|
||||
.incbin "baserom.gba", 0x5b4024, 0x10
|
||||
|
||||
gUnknown_085B4034:: @ 85B4034
|
||||
.incbin "baserom.gba", 0x5b4034, 0xb8
|
||||
|
||||
gUnknown_085B40EC:: @ 85B40EC
|
||||
.incbin "baserom.gba", 0x5b40ec, 0x10
|
||||
|
||||
gUnknown_085B40FC:: @ 85B40FC
|
||||
.incbin "baserom.gba", 0x5b40fc, 0x38
|
||||
|
||||
gUnknown_085B4134:: @ 85B4134
|
||||
.incbin "baserom.gba", 0x5b4134, 0x6f8
|
||||
|
||||
gUnknown_085B482C:: @ 85B482C
|
||||
.incbin "baserom.gba", 0x5b482c, 0x4e4
|
||||
|
||||
gUnknown_085B4D10:: @ 85B4D10
|
||||
.incbin "baserom.gba", 0x5b4d10, 0x4d4
|
||||
|
||||
gUnknown_085B51E4:: @ 85B51E4
|
||||
.incbin "baserom.gba", 0x5b51e4, 0x6a0
|
||||
|
||||
gUnknown_085B5884:: @ 85B5884
|
||||
.incbin "baserom.gba", 0x5b5884, 0x40
|
||||
|
||||
gText_ShedinjaJapaneseName2:: @ 85B58C4
|
||||
.incbin "baserom.gba", 0x5b58c4, 0x5
|
||||
|
||||
gUnknown_085B58C9:: @ 85B58C9
|
||||
.incbin "baserom.gba", 0x5b58c9, 0x10
|
||||
|
||||
gUnknown_085B58D9:: @ 85B58D9
|
||||
.incbin "baserom.gba", 0x5b58d9, 0x323
|
||||
|
||||
gUnknown_085B5BFC:: @ 85B5BFC
|
||||
.incbin "baserom.gba", 0x5b5bfc, 0x200
|
||||
|
||||
gUnknown_085B5DFC:: @ 85B5DFC
|
||||
.incbin "baserom.gba", 0x5b5dfc, 0x1a4
|
||||
|
||||
gUnknown_085B5FA0:: @ 85B5FA0
|
||||
.incbin "baserom.gba", 0x5b5fa0, 0x1a0
|
||||
|
||||
gUnknown_085B6140:: @ 85B6140
|
||||
.incbin "baserom.gba", 0x5b6140, 0xc
|
||||
|
||||
gUnknown_085B614C:: @ 85B614C
|
||||
.incbin "baserom.gba", 0x5b614c, 0x8
|
||||
|
||||
gUnknown_085B6154:: @ 85B6154
|
||||
.incbin "baserom.gba", 0x5b6154, 0xc
|
||||
|
||||
gUnknown_085B6160:: @ 85B6160
|
||||
.incbin "baserom.gba", 0x5b6160, 0x184
|
||||
|
||||
gUnknown_085B62E4:: @ 85B62E4
|
||||
.incbin "baserom.gba", 0x5b62e4, 0x4
|
||||
|
||||
gUnknown_085B62E8:: @ 85B62E8
|
||||
.incbin "baserom.gba", 0x5b62e8, 0x5c
|
||||
|
||||
gUnknown_085B6344:: @ 85B6344
|
||||
.incbin "baserom.gba", 0x5b6344, 0x4
|
||||
|
||||
gUnknown_085B6348:: @ 85B6348
|
||||
.incbin "baserom.gba", 0x5b6348, 0x40
|
||||
|
||||
gUnknown_085B6388:: @ 85B6388
|
||||
.incbin "baserom.gba", 0x5b6388, 0x68
|
||||
|
||||
gUnknown_085B63F0:: @ 85B63F0
|
||||
.incbin "baserom.gba", 0x5b63f0, 0x18
|
||||
|
||||
gUnknown_085B6408:: @ 85B6408
|
||||
.incbin "baserom.gba", 0x5b6408, 0x8
|
||||
|
||||
gUnknown_085B6410:: @ 85B6410
|
||||
.incbin "baserom.gba", 0x5b6410, 0x8
|
||||
|
||||
gUnknown_085B6418:: @ 85B6418
|
||||
.incbin "baserom.gba", 0x5b6418, 0x6
|
||||
|
||||
gUnknown_085B641E:: @ 85B641E
|
||||
.incbin "baserom.gba", 0x5b641e, 0x4
|
||||
|
||||
gUnknown_085B6422:: @ 85B6422
|
||||
.incbin "baserom.gba", 0x5b6422, 0xa
|
||||
|
||||
gUnknown_085B642C:: @ 85B642C
|
||||
.incbin "baserom.gba", 0x5b642c, 0x10
|
||||
|
||||
gUnknown_085B643C:: @ 85B643C
|
||||
.incbin "baserom.gba", 0x5b643c, 0xc
|
||||
|
||||
gUnknown_085B6448:: @ 85B6448
|
||||
.incbin "baserom.gba", 0x5b6448, 0xf3c
|
||||
|
||||
gUnknown_085B7384:: @ 85B7384
|
||||
.incbin "baserom.gba", 0x5b7384, 0x98
|
||||
|
||||
gUnknown_085B741C:: @ 85B741C
|
||||
.incbin "baserom.gba", 0x5b741c, 0x6c
|
||||
|
||||
gUnknown_085B7488:: @ 85B7488
|
||||
.incbin "baserom.gba", 0x5b7488, 0x8
|
||||
|
||||
gUnknown_085B7490:: @ 85B7490
|
||||
.incbin "baserom.gba", 0x5b7490, 0x78
|
||||
|
||||
gUnknown_085B7508:: @ 85B7508
|
||||
.incbin "baserom.gba", 0x5b7508, 0x60
|
||||
|
||||
gUnknown_085B7568:: @ 85B7568
|
||||
.incbin "baserom.gba", 0x5b7568, 0x48
|
||||
|
||||
gUnknown_085B75B0:: @ 85B75B0
|
||||
.incbin "baserom.gba", 0x5b75b0, 0x60
|
||||
|
||||
gUnknown_085B7610:: @ 85B7610
|
||||
.incbin "baserom.gba", 0x5b7610, 0x140
|
||||
|
||||
gUnknown_085B7750:: @ 85B7750
|
||||
.incbin "baserom.gba", 0x5b7750, 0x94
|
||||
|
||||
gUnknown_085B77E4:: @ 85B77E4
|
||||
.incbin "baserom.gba", 0x5b77e4, 0x18
|
||||
|
||||
gUnknown_085B77FC:: @ 85B77FC
|
||||
.incbin "baserom.gba", 0x5b77fc, 0x18
|
||||
|
||||
gUnknown_085B7814:: @ 85B7814
|
||||
.incbin "baserom.gba", 0x5b7814, 0x18
|
||||
|
||||
gUnknown_085B782C:: @ 85B782C
|
||||
.incbin "baserom.gba", 0x5b782c, 0x18
|
||||
|
||||
gUnknown_085B7844:: @ 85B7844
|
||||
.incbin "baserom.gba", 0x5b7844, 0x20
|
||||
|
||||
gUnknown_085B7864:: @ 85B7864
|
||||
.incbin "baserom.gba", 0x5b7864, 0xc4
|
||||
|
||||
gUnknown_085B7928:: @ 85B7928
|
||||
.incbin "baserom.gba", 0x5b7928, 0x20
|
||||
|
||||
gUnknown_085B7948:: @ 85B7948
|
||||
.incbin "baserom.gba", 0x5b7948, 0x8
|
||||
|
||||
gUnknown_085B7950:: @ 85B7950
|
||||
.incbin "baserom.gba", 0x5b7950, 0x28
|
||||
|
||||
gUnknown_085B7978:: @ 85B7978
|
||||
.incbin "baserom.gba", 0x5b7978, 0x80
|
||||
|
||||
gUnknown_085B79F8:: @ 85B79F8
|
||||
.incbin "baserom.gba", 0x5b79f8, 0x18
|
||||
|
||||
gUnknown_085B7A10:: @ 85B7A10
|
||||
.incbin "baserom.gba", 0x5b7a10, 0x30
|
||||
|
||||
gUnknown_085B7A40:: @ 85B7A40
|
||||
.incbin "baserom.gba", 0x5b7a40, 0x7c
|
||||
|
||||
gUnknown_085B7ABC:: @ 85B7ABC
|
||||
.incbin "baserom.gba", 0x5b7abc, 0x30
|
||||
|
||||
gUnknown_085B7AEC:: @ 85B7AEC
|
||||
.incbin "baserom.gba", 0x5b7aec, 0x18
|
||||
|
||||
gUnknown_085B7B04:: @ 85B7B04
|
||||
.incbin "baserom.gba", 0x5b7b04, 0x6
|
||||
|
||||
gUnknown_085B7B0A:: @ 85B7B0A
|
||||
.incbin "baserom.gba", 0x5b7b0a, 0x8
|
||||
|
||||
gUnknown_085B7B12:: @ 85B7B12
|
||||
.incbin "baserom.gba", 0x5b7b12, 0x8
|
||||
|
||||
gUnknown_085B7B1A:: @ 85B7B1A
|
||||
.incbin "baserom.gba", 0x5b7b1a, 0x14
|
||||
|
||||
gUnknown_085B7B2E:: @ 85B7B2E
|
||||
.incbin "baserom.gba", 0x5b7b2e, 0x18
|
||||
|
||||
gUnknown_085B7B46:: @ 85B7B46
|
||||
.incbin "baserom.gba", 0x5b7b46, 0x2
|
||||
|
||||
gUnknown_085B7B48:: @ 85B7B48
|
||||
.incbin "baserom.gba", 0x5b7b48, 0x8d0
|
||||
|
||||
gUnknown_085B8418:: @ 85B8418
|
||||
.incbin "baserom.gba", 0x5b8418, 0x20
|
||||
|
||||
gUnknown_085B8438:: @ 85B8438
|
||||
.incbin "baserom.gba", 0x5b8438, 0x338
|
||||
|
||||
gUnknown_085B8770:: @ 85B8770
|
||||
.incbin "baserom.gba", 0x5b8770, 0x480
|
||||
|
||||
gUnknown_085B8BF0:: @ 85B8BF0
|
||||
.incbin "baserom.gba", 0x5b8bf0, 0x20
|
||||
|
||||
gUnknown_085B8C10:: @ 85B8C10
|
||||
.incbin "baserom.gba", 0x5b8c10, 0x20
|
||||
|
||||
gUnknown_085B8C30:: @ 85B8C30
|
||||
.incbin "baserom.gba", 0x5b8c30, 0x2
|
||||
|
||||
gUnknown_085B8C32:: @ 85B8C32
|
||||
.incbin "baserom.gba", 0x5b8c32, 0x36
|
||||
|
||||
gUnknown_085B8C68:: @ 85B8C68
|
||||
.incbin "baserom.gba", 0x5b8c68, 0x18
|
||||
|
||||
gUnknown_085B8C80:: @ 85B8C80
|
||||
.incbin "baserom.gba", 0x5b8c80, 0x10
|
||||
|
||||
gUnknown_085B8C90:: @ 85B8C90
|
||||
.incbin "baserom.gba", 0x5b8c90, 0x528
|
||||
|
||||
gUnknown_085B91B8:: @ 85B91B8
|
||||
.incbin "baserom.gba", 0x5b91b8, 0x178
|
||||
|
||||
gUnknown_085B9330:: @ 85B9330
|
||||
.incbin "baserom.gba", 0x5b9330, 0x580
|
||||
|
||||
gUnknown_085B98B0:: @ 85B98B0
|
||||
.incbin "baserom.gba", 0x5b98b0, 0x240
|
||||
|
||||
gUnknown_085B9AF0:: @ 85B9AF0
|
||||
.incbin "baserom.gba", 0x5b9af0, 0x11e0
|
||||
|
||||
gUnknown_085BACD0:: @ 85BACD0
|
||||
.incbin "baserom.gba", 0x5bacd0, 0x1e0
|
||||
|
||||
gUnknown_085BAEB0:: @ 85BAEB0
|
||||
.incbin "baserom.gba", 0x5baeb0, 0x20
|
||||
|
||||
gUnknown_085BAED0:: @ 85BAED0
|
||||
.incbin "baserom.gba", 0x5baed0, 0x378
|
||||
|
||||
gUnknown_085BB248:: @ 85BB248
|
||||
.incbin "baserom.gba", 0x5bb248, 0x25c
|
||||
|
||||
gUnknown_085BB4A4:: @ 85BB4A4
|
||||
.incbin "baserom.gba", 0x5bb4a4, 0x48c
|
||||
|
||||
gUnknown_085BB930:: @ 85BB930
|
||||
.incbin "baserom.gba", 0x5bb930, 0x2e4
|
||||
|
||||
gUnknown_085BBC14:: @ 85BBC14
|
||||
.incbin "baserom.gba", 0x5bbc14, 0x6a0
|
||||
|
||||
gUnknown_085BC2B4:: @ 85BC2B4
|
||||
.incbin "baserom.gba", 0x5bc2b4, 0x20
|
||||
|
||||
gUnknown_085BC2D4:: @ 85BC2D4
|
||||
.incbin "baserom.gba", 0x5bc2d4, 0x20
|
||||
|
||||
gUnknown_085BC2F4:: @ 85BC2F4
|
||||
.incbin "baserom.gba", 0x5bc2f4, 0x20
|
||||
|
||||
gUnknown_085BC314:: @ 85BC314
|
||||
.incbin "baserom.gba", 0x5bc314, 0x800
|
||||
|
||||
gUnknown_085BCB14:: @ 85BCB14
|
||||
.incbin "baserom.gba", 0x5bcb14, 0x800
|
||||
|
||||
gUnknown_085BD314:: @ 85BD314
|
||||
.incbin "baserom.gba", 0x5bd314, 0x820
|
||||
|
||||
gUnknown_085BDB34:: @ 85BDB34
|
||||
.incbin "baserom.gba", 0x5bdb34, 0x6b4
|
||||
|
||||
gUnknown_085BE1E8:: @ 85BE1E8
|
||||
.incbin "baserom.gba", 0x5be1e8, 0x334
|
||||
|
||||
gUnknown_085BE51C:: @ 85BE51C
|
||||
.incbin "baserom.gba", 0x5be51c, 0x56c
|
||||
|
||||
gUnknown_085BEA88:: @ 85BEA88
|
||||
.incbin "baserom.gba", 0x5bea88, 0x318
|
||||
|
||||
gUnknown_085BEDA0:: @ 85BEDA0
|
||||
.incbin "baserom.gba", 0x5beda0, 0x140
|
||||
|
||||
gUnknown_085BEEE0:: @ 85BEEE0
|
||||
.incbin "baserom.gba", 0x5beee0, 0x1c0
|
||||
|
||||
gUnknown_085BF0A0:: @ 85BF0A0
|
||||
.incbin "baserom.gba", 0x5bf0a0, 0x200
|
||||
|
||||
gUnknown_085BF2A0:: @ 85BF2A0
|
||||
.incbin "baserom.gba", 0x5bf2a0, 0x200
|
||||
|
||||
gUnknown_085BF4A0:: @ 85BF4A0
|
||||
.incbin "baserom.gba", 0x5bf4a0, 0xa0
|
||||
|
||||
gUnknown_085BF540:: @ 85BF540
|
||||
.incbin "baserom.gba", 0x5bf540, 0x160
|
||||
|
||||
gUnknown_085BF6A0:: @ 85BF6A0
|
||||
.incbin "baserom.gba", 0x5bf6a0, 0x7540
|
||||
|
||||
gUnknown_085C6BE0:: @ 85C6BE0
|
||||
.incbin "baserom.gba", 0x5c6be0, 0x1000
|
||||
|
||||
gUnknown_085C7BE0:: @ 85C7BE0
|
||||
.incbin "baserom.gba", 0x5c7be0, 0x20
|
||||
|
||||
gUnknown_085C7C00:: @ 85C7C00
|
||||
.incbin "baserom.gba", 0x5c7c00, 0x68c
|
||||
|
||||
gUnknown_085C828C:: @ 85C828C
|
||||
.incbin "baserom.gba", 0x5c828c, 0x2ec
|
||||
|
||||
gUnknown_085C8578:: @ 85C8578
|
||||
.incbin "baserom.gba", 0x5c8578, 0x20
|
||||
|
||||
gUnknown_085C8598:: @ 85C8598
|
||||
.incbin "baserom.gba", 0x5c8598, 0x15c
|
||||
|
||||
gUnknown_085C86F4:: @ 85C86F4
|
||||
.incbin "baserom.gba", 0x5c86f4, 0x100
|
||||
|
||||
gUnknown_085C87F4:: @ 85C87F4
|
||||
.incbin "baserom.gba", 0x5c87f4, 0xb0
|
||||
|
||||
gUnknown_085C88A4:: @ 85C88A4
|
||||
.incbin "baserom.gba", 0x5c88a4, 0x84
|
||||
|
||||
gUnknown_085C8928:: @ 85C8928
|
||||
.incbin "baserom.gba", 0x5c8928, 0x20
|
||||
|
||||
gUnknown_085C8948:: @ 85C8948
|
||||
.incbin "baserom.gba", 0x5c8948, 0xa8
|
||||
|
||||
gUnknown_085C89F0:: @ 85C89F0
|
||||
.incbin "baserom.gba", 0x5c89f0, 0xa8
|
||||
|
||||
gUnknown_085C8A98:: @ 85C8A98
|
||||
.incbin "baserom.gba", 0x5c8a98, 0x10
|
||||
|
||||
gUnknown_085C8AA8:: @ 85C8AA8
|
||||
.incbin "baserom.gba", 0x5c8aa8, 0xc
|
||||
|
||||
gUnknown_085C8AB4:: @ 85C8AB4
|
||||
.incbin "baserom.gba", 0x5c8ab4, 0x8
|
||||
|
||||
gUnknown_085C8ABC:: @ 85C8ABC
|
||||
.incbin "baserom.gba", 0x5c8abc, 0x8
|
||||
|
||||
gUnknown_085C8AC4:: @ 85C8AC4
|
||||
.incbin "baserom.gba", 0x5c8ac4, 0x1c
|
||||
|
||||
gUnknown_085C8AE0:: @ 85C8AE0
|
||||
.incbin "baserom.gba", 0x5c8ae0, 0x1c
|
||||
|
||||
gUnknown_085C8AFC:: @ 85C8AFC
|
||||
.incbin "baserom.gba", 0x5c8afc, 0x18
|
||||
|
||||
gUnknown_085C8B14:: @ 85C8B14
|
||||
.incbin "baserom.gba", 0x5c8b14, 0x18
|
||||
|
||||
gUnknown_085C8B2C:: @ 85C8B2C
|
||||
.incbin "baserom.gba", 0x5c8b2c, 0x18
|
||||
|
||||
gUnknown_085C8B44:: @ 85C8B44
|
||||
.incbin "baserom.gba", 0x5c8b44, 0x18
|
||||
|
||||
gUnknown_085C8B5C:: @ 85C8B5C
|
||||
.incbin "baserom.gba", 0x5c8b5c, 0x20
|
||||
|
||||
gUnknown_085C8B7C:: @ 85C8B7C
|
||||
.incbin "baserom.gba", 0x5c8b7c, 0xc
|
||||
|
||||
gUnknown_085C8B88:: @ 85C8B88
|
||||
.incbin "baserom.gba", 0x5c8b88, 0x4
|
||||
|
||||
gUnknown_085C8B8C:: @ 85C8B8C
|
||||
.incbin "baserom.gba", 0x5c8b8c, 0xa
|
||||
|
||||
gUnknown_085C8B96:: @ 85C8B96
|
||||
.incbin "baserom.gba", 0x5c8b96, 0x6
|
||||
|
||||
gUnknown_085C8B9C:: @ 85C8B9C
|
||||
.incbin "baserom.gba", 0x5c8b9c, 0x1c
|
||||
|
||||
gUnknown_085C8BB8:: @ 85C8BB8
|
||||
.incbin "baserom.gba", 0x5c8bb8, 0x8
|
||||
|
||||
gUnknown_085C8BC0:: @ 85C8BC0
|
||||
.incbin "baserom.gba", 0x5c8bc0, 0xc
|
||||
|
||||
gUnknown_085C8BCC:: @ 85C8BCC
|
||||
.incbin "baserom.gba", 0x5c8bcc, 0x28
|
||||
|
||||
gUnknown_085C8BF4:: @ 85C8BF4
|
||||
.incbin "baserom.gba", 0x5c8bf4, 0x6
|
||||
|
||||
gUnknown_085C8BFA:: @ 85C8BFA
|
||||
.incbin "baserom.gba", 0x5c8bfa, 0x14
|
||||
|
||||
gUnknown_085C8C0E:: @ 85C8C0E
|
||||
.incbin "baserom.gba", 0x5c8c0e, 0x16
|
||||
|
||||
gUnknown_085C8C24:: @ 85C8C24
|
||||
.incbin "baserom.gba", 0x5c8c24, 0x1c
|
||||
|
||||
gUnknown_085C8C40:: @ 85C8C40
|
||||
.incbin "baserom.gba", 0x5c8c40, 0x4
|
||||
|
||||
gUnknown_085C8C44:: @ 85C8C44
|
||||
.incbin "baserom.gba", 0x5c8c44, 0x4
|
||||
|
||||
gUnknown_085C8C48:: @ 85C8C48
|
||||
.incbin "baserom.gba", 0x5c8c48, 0xc
|
||||
|
||||
gUnknown_085C8C54:: @ 85C8C54
|
||||
.incbin "baserom.gba", 0x5c8c54, 0x10
|
||||
|
||||
gUnknown_085C8C64:: @ 85C8C64
|
||||
.incbin "baserom.gba", 0x5c8c64, 0x2
|
||||
|
||||
gUnknown_085C8C66:: @ 85C8C66
|
||||
.incbin "baserom.gba", 0x5c8c66, 0x6
|
||||
|
||||
gUnknown_085C8C6C:: @ 85C8C6C
|
||||
.incbin "baserom.gba", 0x5c8c6c, 0xc
|
||||
|
||||
gUnknown_085C8C78:: @ 85C8C78
|
||||
.incbin "baserom.gba", 0x5c8c78, 0x8
|
||||
|
||||
gUnknown_085C8C80:: @ 85C8C80
|
||||
.incbin "baserom.gba", 0x5c8c80, 0x4
|
||||
|
||||
gUnknown_085C8C84:: @ 85C8C84
|
||||
.incbin "baserom.gba", 0x5c8c84, 0xb4
|
||||
|
||||
gUnknown_085C8D38:: @ 85C8D38
|
||||
.incbin "baserom.gba", 0x5c8d38, 0x8
|
||||
|
||||
gUnknown_085C8D40:: @ 85C8D40
|
||||
.incbin "baserom.gba", 0x5c8d40, 0x20
|
||||
|
||||
gUnknown_085C8D60:: @ 85C8D60
|
||||
.incbin "baserom.gba", 0x5c8d60, 0x2c
|
||||
|
||||
gUnknown_085C8D8C:: @ 85C8D8C
|
||||
.incbin "baserom.gba", 0x5c8d8c, 0x14
|
||||
|
||||
gUnknown_085C8DA0:: @ 85C8DA0
|
||||
.incbin "baserom.gba", 0x5c8da0, 0x10
|
||||
|
||||
gUnknown_085C8DB0:: @ 85C8DB0
|
||||
.incbin "baserom.gba", 0x5c8db0, 0xc
|
||||
|
||||
gUnknown_085C8DBC:: @ 85C8DBC
|
||||
.incbin "baserom.gba", 0x5c8dbc, 0x14
|
||||
|
||||
gUnknown_085C8DD0:: @ 85C8DD0
|
||||
.incbin "baserom.gba", 0x5c8dd0, 0x46
|
||||
|
||||
gUnknown_085C8E16:: @ 85C8E16
|
||||
.incbin "baserom.gba", 0x5c8e16, 0xe
|
||||
|
||||
gUnknown_085C8E24:: @ 85C8E24
|
||||
.incbin "baserom.gba", 0x5c8e24, 0x44
|
||||
|
||||
gUnknown_085C8E68:: @ 85C8E68
|
||||
.incbin "baserom.gba", 0x5c8e68, 0x6c
|
||||
|
||||
.align 2
|
||||
gFieldEffectObjectPalette10:: @ 85C8ED4
|
||||
.incbin "graphics/map_objects/palettes/field_effect_object_palette_10.gbapal"
|
||||
|
||||
.align 2
|
||||
gFieldEffectObjectPaletteInfo10:: @ 85C8EF4
|
||||
obj_pal gFieldEffectObjectPalette10, 0x1009
|
||||
|
||||
.incbin "baserom.gba", 0x5c8efc, 0xe0
|
||||
|
||||
gUnknown_085C8FDC:: @ 85C8FDC
|
||||
.incbin "baserom.gba", 0x5c8fdc, 0x14
|
||||
|
||||
gUnknown_085C8FF0:: @ 85C8FF0
|
||||
.incbin "baserom.gba", 0x5c8ff0, 0x30
|
||||
|
||||
gUnknown_085C9020:: @ 85C9020
|
||||
.incbin "baserom.gba", 0x5c9020, 0x4b0
|
||||
|
||||
gUnknown_085C94D0:: @ 85C94D0
|
||||
.incbin "baserom.gba", 0x5c94d0, 0x500
|
||||
|
||||
gUnknown_085C99D0:: @ 85C99D0
|
||||
.incbin "baserom.gba", 0x5c99d0, 0x18
|
||||
|
||||
gUnknown_085C99E8:: @ 85C99E8
|
||||
.incbin "baserom.gba", 0x5c99e8, 0x10
|
||||
|
||||
gUnknown_085C99F8:: @ 85C99F8
|
||||
.incbin "baserom.gba", 0x5c99f8, 0x10
|
||||
|
||||
gUnknown_085C9A08:: @ 85C9A08
|
||||
.incbin "baserom.gba", 0x5c9a08, 0x14
|
||||
|
||||
gUnknown_085C9A1C:: @ 85C9A1C
|
||||
.incbin "baserom.gba", 0x5c9a1c, 0x14
|
||||
|
||||
gUnknown_085C9A30:: @ 85C9A30
|
||||
.incbin "baserom.gba", 0x5c9a30, 0x23
|
||||
|
||||
gUnknown_085C9A53:: @ 85C9A53
|
||||
.incbin "baserom.gba", 0x5c9a53, 0x41
|
||||
|
67
data/starter_choose.s
Normal file
67
data/starter_choose.s
Normal file
@ -0,0 +1,67 @@
|
||||
@ the fourth big chunk of data
|
||||
|
||||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
gBirchBagGrassPal:: @ 85B0A00
|
||||
.incbin "baserom.gba", 0x5b0a00, 0x80
|
||||
|
||||
gBirchBagTilemap:: @ 85B0A80
|
||||
.incbin "baserom.gba", 0x5b0a80, 0x18c
|
||||
|
||||
gBirchGrassTilemap:: @ 85B0C0C
|
||||
.incbin "baserom.gba", 0x5b0c0c, 0x1f8
|
||||
|
||||
gBirchHelpGfx:: @ 85B0E04
|
||||
.incbin "baserom.gba", 0x5b0e04, 0xfc8
|
||||
|
||||
gUnknown_085B1DCC:: @ 85B1DCC
|
||||
.incbin "baserom.gba", 0x5b1dcc, 0x10
|
||||
|
||||
gUnknown_085B1DDC:: @ 85B1DDC
|
||||
.incbin "baserom.gba", 0x5b1ddc, 0x8
|
||||
|
||||
gUnknown_085B1DE4:: @ 85B1DE4
|
||||
.incbin "baserom.gba", 0x5b1de4, 0x8
|
||||
|
||||
sPokeballCoords:: @ 85B1DEC
|
||||
.incbin "baserom.gba", 0x5b1dec, 0x6
|
||||
|
||||
gStarterChoose_LabelCoords:: @ 85B1DF2
|
||||
.incbin "baserom.gba", 0x5b1df2, 0x6
|
||||
|
||||
sStarterMon:: @ 85B1DF8
|
||||
.incbin "baserom.gba", 0x5b1df8, 0x8
|
||||
|
||||
gUnknown_085B1E00:: @ 85B1E00
|
||||
.incbin "baserom.gba", 0x5b1e00, 0xc
|
||||
|
||||
gUnknown_085B1E0C:: @ 85B1E0C
|
||||
.incbin "baserom.gba", 0x5b1e0c, 0x1c
|
||||
|
||||
gUnknown_085B1E28:: @ 85B1E28
|
||||
.incbin "baserom.gba", 0x5b1e28, 0xa8
|
||||
|
||||
gUnknown_085B1ED0:: @ 85B1ED0
|
||||
.incbin "baserom.gba", 0x5b1ed0, 0x8
|
||||
|
||||
gUnknown_085B1ED8:: @ 85B1ED8
|
||||
.incbin "baserom.gba", 0x5b1ed8, 0x10
|
||||
|
||||
gUnknown_085B1EE8:: @ 85B1EE8
|
||||
.incbin "baserom.gba", 0x5b1ee8, 0x10
|
||||
|
||||
gUnknown_085B1EF8:: @ 85B1EF8
|
||||
.incbin "baserom.gba", 0x5b1ef8, 0x18
|
||||
|
||||
sSpriteTemplate_Hand:: @ 85B1F10
|
||||
.incbin "baserom.gba", 0x5b1f10, 0x18
|
||||
|
||||
sSpriteTemplate_PokeBall:: @ 85B1F28
|
||||
.incbin "baserom.gba", 0x5b1f28, 0x18
|
||||
|
||||
gUnknown_085B1F40:: @ 85B1F40
|
||||
.incbin "baserom.gba", 0x5b1f40, 0x294
|
||||
|
@ -12,7 +12,7 @@ s32 GetStringWidthDifference(s32 fontId, const u8 *str, s32 totalWidth, s32 lett
|
||||
s32 GetMaxWidthInMenuTable(const struct MenuAction *str, s32 arg1);
|
||||
s32 sub_81DB3D8(const struct MenuAction *str, u8* arg1, s32 arg2);
|
||||
// sub_81DB41C
|
||||
// sub_81DB468
|
||||
// CopyMonCategoryText
|
||||
// sub_81DB494
|
||||
// sub_81DB4DC
|
||||
// sub_81DB554
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define GUARD_POKEDEX_H
|
||||
|
||||
void ResetPokedex(void);
|
||||
const u8 *GetPokemonCategory(u16);
|
||||
void CopyMonCategoryText(u16 species, u8 *dst);
|
||||
u16 GetPokedexHeightWeight(u16 dexNum, u8 data);
|
||||
u16 GetNationalPokedexCount(u8);
|
||||
u16 GetHoennPokedexCount(u8);
|
||||
|
7
include/starter_choose.h
Normal file
7
include/starter_choose.h
Normal file
@ -0,0 +1,7 @@
|
||||
#ifndef GUARD_STARTER_CHOOSE_H
|
||||
#define GUARD_STARTER_CHOOSE_H
|
||||
|
||||
u16 GetStarterPokemon(u16 chosenStarterId);
|
||||
void CB2_ChooseStarter(void);
|
||||
|
||||
#endif // GUARD_STARTER_CHOOSE_H
|
@ -16,7 +16,7 @@ void sub_8098858(u8 windowId, u16 tileNum, u8 palNum);
|
||||
void sub_80989E0(u8 windowId, u16 tileNum, u8 palNum);
|
||||
void rbox_fill_rectangle(u8 windowId);
|
||||
const u16* stdpal_get(u8 id);
|
||||
const u16* sub_8098C64(void);
|
||||
const u16* GetOverworldTextboxPalettePtr(void);
|
||||
void sub_8098C6C(u8 bg, u16 destOffset, u8 palOffset);
|
||||
|
||||
#endif // GUARD_TEXT_WINDOW_H
|
||||
|
@ -176,7 +176,7 @@ SECTIONS {
|
||||
asm/contest_painting.o(.text);
|
||||
src/battle_ai_script_commands.o(.text);
|
||||
asm/trader.o(.text);
|
||||
asm/starter_choose.o(.text);
|
||||
src/starter_choose.o(.text);
|
||||
asm/wallclock.o(.text);
|
||||
asm/rom6.o(.text);
|
||||
asm/battle_records.o(.text);
|
||||
@ -419,6 +419,8 @@ SECTIONS {
|
||||
data/contest_painting.o(.rodata);
|
||||
src/battle_ai_script_commands.o(.rodata);
|
||||
data/data4.o(.rodata);
|
||||
data/starter_choose.o(.rodata);
|
||||
data/data4c.o(.rodata);
|
||||
src/battle_controller_link_partner.o(.rodata);
|
||||
src/battle_message.o(.rodata);
|
||||
data/cable_car.o(.rodata);
|
||||
|
@ -386,7 +386,7 @@ bool8 sub_81215EC(void)
|
||||
CopyBgTilemapBufferToVram(2);
|
||||
break;
|
||||
case 12:
|
||||
LoadPalette(sub_8098C64(), 240, 32);
|
||||
LoadPalette(GetOverworldTextboxPalettePtr(), 240, 32);
|
||||
gPlttBufferUnfaded[250] = gUnknown_0859F2B8[gUnknown_0203A134->mailType].color10;
|
||||
gPlttBufferFaded[250] = gUnknown_0859F2B8[gUnknown_0203A134->mailType].color10;
|
||||
gPlttBufferUnfaded[251] = gUnknown_0859F2B8[gUnknown_0203A134->mailType].color12;
|
||||
|
391
src/starter_choose.c
Normal file
391
src/starter_choose.c
Normal file
@ -0,0 +1,391 @@
|
||||
#include "global.h"
|
||||
#include "starter_choose.h"
|
||||
#include "palette.h"
|
||||
#include "sprite.h"
|
||||
#include "pokemon.h"
|
||||
#include "task.h"
|
||||
#include "bg.h"
|
||||
#include "gpu_regs.h"
|
||||
#include "main.h"
|
||||
#include "window.h"
|
||||
#include "text.h"
|
||||
#include "decompress.h"
|
||||
#include "menu.h"
|
||||
#include "sound.h"
|
||||
#include "songs.h"
|
||||
#include "event_data.h"
|
||||
#include "pokedex.h"
|
||||
#include "data2.h"
|
||||
#include "international_string_util.h"
|
||||
#include "trig.h"
|
||||
|
||||
#define STARTER_MON_COUNT 3
|
||||
|
||||
// Position of the sprite of the selected starter Pokemon
|
||||
#define STARTER_PKMN_POS_X 120
|
||||
#define STARTER_PKMN_POS_Y 64
|
||||
|
||||
// graphics
|
||||
extern const u32 gBirchHelpGfx[];
|
||||
extern const u32 gBirchBagTilemap[];
|
||||
extern const u32 gBirchGrassTilemap[];
|
||||
extern const u16 gBirchBagGrassPal[];
|
||||
|
||||
// text
|
||||
extern const u8 gText_BirchInTrouble[];
|
||||
extern const u8 gText_ConfirmStarterChoice[];
|
||||
|
||||
extern const u16 sStarterMon[STARTER_MON_COUNT];
|
||||
extern const struct BgTemplate gUnknown_085B1E00[3];
|
||||
extern const struct WindowTemplate gUnknown_085B1DCC[];
|
||||
extern const struct WindowTemplate gUnknown_085B1DDC;
|
||||
extern const struct CompressedSpriteSheet gUnknown_085B1ED8[];
|
||||
extern const struct CompressedSpriteSheet gUnknown_085B1EE8[];
|
||||
extern const struct SpritePalette gUnknown_085B1EF8[];
|
||||
extern const struct SpriteTemplate sSpriteTemplate_PokeBall;
|
||||
extern const struct SpriteTemplate sSpriteTemplate_Hand;
|
||||
extern const struct SpriteTemplate gUnknown_085B1F40;
|
||||
extern const union AffineAnimCmd *const gUnknown_085B1ED0;
|
||||
extern const u8 sPokeballCoords[STARTER_MON_COUNT][2];
|
||||
extern const struct WindowTemplate gUnknown_085B1DE4;
|
||||
extern const u8 gStarterChoose_LabelCoords[][2];
|
||||
extern const u8 gUnknown_085B1E0C[];
|
||||
extern const u8 gUnknown_085B1E28[][2];
|
||||
|
||||
extern void sub_809882C(u8, u16, u8);
|
||||
extern void remove_some_task(void);
|
||||
extern void clear_scheduled_bg_copies_to_vram(void);
|
||||
extern void dp13_810BB8C(void);
|
||||
extern void do_scheduled_bg_tilemap_copies_to_vram(void);
|
||||
extern u16 sub_818D820(u16);
|
||||
extern const u16 *GetOverworldTextboxPalettePtr(void);
|
||||
extern u8 sub_818D3E4(u16 species, u32 trainerId, u32 personality, u8 flags, s16 x, s16 y, u8, u16);
|
||||
|
||||
// this file's functions
|
||||
static void MainCallback2_StarterChoose(void);
|
||||
static void sub_8134604(void);
|
||||
static void Task_StarterChoose1(u8 taskId);
|
||||
static void Task_StarterChoose2(u8 taskId);
|
||||
static void Task_StarterChoose3(u8 taskId);
|
||||
static void Task_StarterChoose4(u8 taskId);
|
||||
static void Task_StarterChoose5(u8 taskId);
|
||||
static void Task_StarterChoose6(u8 taskId);
|
||||
static void Task_MoveStarterChooseCursor(u8 taskId);
|
||||
static void sub_8134668(u8 taskId);
|
||||
static void CreateStarterPokemonLabel(u8 selection);
|
||||
static u8 CreatePokemonFrontSprite(u16 species, u8 x, u8 y);
|
||||
static void StarterPokemonSpriteCallback(struct Sprite *sprite);
|
||||
|
||||
static IWRAM_DATA u16 sStarterChooseWindowId;
|
||||
|
||||
u16 GetStarterPokemon(u16 chosenStarterId)
|
||||
{
|
||||
if (chosenStarterId > STARTER_MON_COUNT)
|
||||
chosenStarterId = 0;
|
||||
return sStarterMon[chosenStarterId];
|
||||
}
|
||||
|
||||
static void VblankCB_StarterChoose(void)
|
||||
{
|
||||
LoadOam();
|
||||
ProcessSpriteCopyRequests();
|
||||
TransferPlttBuffer();
|
||||
}
|
||||
|
||||
#define tStarterSelection data[0]
|
||||
#define tPkmnSpriteId data[1]
|
||||
#define tCircleSpriteId data[2]
|
||||
|
||||
void CB2_ChooseStarter(void)
|
||||
{
|
||||
u16 savedIme;
|
||||
u8 taskId;
|
||||
u8 spriteId;
|
||||
|
||||
SetVBlankCallback(NULL);
|
||||
|
||||
SetGpuReg(REG_OFFSET_DISPCNT, 0);
|
||||
SetGpuReg(REG_OFFSET_BG3CNT, 0);
|
||||
SetGpuReg(REG_OFFSET_BG2CNT, 0);
|
||||
SetGpuReg(REG_OFFSET_BG1CNT, 0);
|
||||
SetGpuReg(REG_OFFSET_BG0CNT, 0);
|
||||
|
||||
ChangeBgX(0, 0, 0);
|
||||
ChangeBgY(0, 0, 0);
|
||||
ChangeBgX(1, 0, 0);
|
||||
ChangeBgY(1, 0, 0);
|
||||
ChangeBgX(2, 0, 0);
|
||||
ChangeBgY(2, 0, 0);
|
||||
ChangeBgX(3, 0, 0);
|
||||
ChangeBgY(3, 0, 0);
|
||||
|
||||
DmaFill16(3, 0, VRAM, VRAM_SIZE);
|
||||
DmaFill32(3, 0, OAM, OAM_SIZE);
|
||||
DmaFill16(3, 0, PLTT, PLTT_SIZE);
|
||||
|
||||
LZ77UnCompVram(&gBirchHelpGfx, (void *)VRAM);
|
||||
LZ77UnCompVram(&gBirchBagTilemap, (void *)(VRAM + 0x3000));
|
||||
LZ77UnCompVram(&gBirchGrassTilemap, (void *)(VRAM + 0x3800));
|
||||
|
||||
ResetBgsAndClearDma3BusyFlags(0);
|
||||
InitBgsFromTemplates(0, gUnknown_085B1E00, ARRAY_COUNT(gUnknown_085B1E00));
|
||||
InitWindows(gUnknown_085B1DCC);
|
||||
|
||||
DeactivateAllTextPrinters();
|
||||
sub_809882C(0, 0x2A8, 0xD0);
|
||||
clear_scheduled_bg_copies_to_vram();
|
||||
remove_some_task();
|
||||
ResetTasks();
|
||||
ResetSpriteData();
|
||||
ResetPaletteFade();
|
||||
FreeAllSpritePalettes();
|
||||
dp13_810BB8C();
|
||||
|
||||
LoadPalette(GetOverworldTextboxPalettePtr(), 0xE0, 0x20);
|
||||
LoadPalette(gBirchBagGrassPal, 0, 0x40);
|
||||
LoadCompressedObjectPic(&gUnknown_085B1ED8[0]);
|
||||
LoadCompressedObjectPic(&gUnknown_085B1EE8[0]);
|
||||
LoadSpritePalettes(gUnknown_085B1EF8);
|
||||
BeginNormalPaletteFade(-1, 0, 0x10, 0, 0);
|
||||
|
||||
EnableInterrupts(DISPSTAT_VBLANK);
|
||||
SetVBlankCallback(VblankCB_StarterChoose);
|
||||
SetMainCallback2(MainCallback2_StarterChoose);
|
||||
|
||||
SetGpuReg(REG_OFFSET_WININ, 0x3F);
|
||||
SetGpuReg(REG_OFFSET_WINOUT, 0x1F);
|
||||
SetGpuReg(REG_OFFSET_WIN0H, 0);
|
||||
SetGpuReg(REG_OFFSET_WIN0V, 0);
|
||||
SetGpuReg(REG_OFFSET_BLDCNT, 0xFE);
|
||||
SetGpuReg(REG_OFFSET_BLDALPHA, 0);
|
||||
SetGpuReg(REG_OFFSET_BLDY, 7);
|
||||
SetGpuReg(REG_OFFSET_DISPCNT, DISPCNT_WIN0_ON | DISPCNT_OBJ_ON | DISPCNT_OBJ_1D_MAP);
|
||||
|
||||
ShowBg(0);
|
||||
ShowBg(2);
|
||||
ShowBg(3);
|
||||
|
||||
taskId = CreateTask(Task_StarterChoose1, 0);
|
||||
gTasks[taskId].tStarterSelection = 1;
|
||||
|
||||
// Create hand sprite
|
||||
spriteId = CreateSprite(&sSpriteTemplate_Hand, 120, 56, 2);
|
||||
gSprites[spriteId].data0 = taskId;
|
||||
|
||||
// Create three Pokeball sprites
|
||||
spriteId = CreateSprite(&sSpriteTemplate_PokeBall, sPokeballCoords[0][0], sPokeballCoords[0][1], 2);
|
||||
gSprites[spriteId].data0 = taskId;
|
||||
gSprites[spriteId].data1 = 0;
|
||||
|
||||
spriteId = CreateSprite(&sSpriteTemplate_PokeBall, sPokeballCoords[1][0], sPokeballCoords[1][1], 2);
|
||||
gSprites[spriteId].data0 = taskId;
|
||||
gSprites[spriteId].data1 = 1;
|
||||
|
||||
spriteId = CreateSprite(&sSpriteTemplate_PokeBall, sPokeballCoords[2][0], sPokeballCoords[2][1], 2);
|
||||
gSprites[spriteId].data0 = taskId;
|
||||
gSprites[spriteId].data1 = 2;
|
||||
|
||||
sStarterChooseWindowId = 0xFF;
|
||||
}
|
||||
|
||||
static void MainCallback2_StarterChoose(void)
|
||||
{
|
||||
RunTasks();
|
||||
AnimateSprites();
|
||||
BuildOamBuffer();
|
||||
do_scheduled_bg_tilemap_copies_to_vram();
|
||||
UpdatePaletteFade();
|
||||
}
|
||||
|
||||
static void Task_StarterChoose1(u8 taskId)
|
||||
{
|
||||
CreateStarterPokemonLabel(gTasks[taskId].tStarterSelection);
|
||||
SetWindowBorderStyle(0, FALSE, 0x2A8, 0xD);
|
||||
PrintTextOnWindow(0, 1, gText_BirchInTrouble, 0, 1, 0, NULL);
|
||||
PutWindowTilemap(0);
|
||||
schedule_bg_copy_tilemap_to_vram(0);
|
||||
gTasks[taskId].func = Task_StarterChoose2;
|
||||
}
|
||||
|
||||
static void Task_StarterChoose2(u8 taskId)
|
||||
{
|
||||
u8 selection = gTasks[taskId].tStarterSelection;
|
||||
|
||||
if (gMain.newKeys & A_BUTTON)
|
||||
{
|
||||
u8 spriteId;
|
||||
|
||||
sub_8134604();
|
||||
|
||||
// Create white circle background
|
||||
spriteId = CreateSprite(&gUnknown_085B1F40, sPokeballCoords[selection][0], sPokeballCoords[selection][1], 1);
|
||||
gTasks[taskId].tCircleSpriteId = spriteId;
|
||||
|
||||
// Create Pokemon sprite
|
||||
spriteId = CreatePokemonFrontSprite(GetStarterPokemon(gTasks[taskId].tStarterSelection), sPokeballCoords[selection][0], sPokeballCoords[selection][1]);
|
||||
gSprites[spriteId].affineAnims = &gUnknown_085B1ED0;
|
||||
gSprites[spriteId].callback = StarterPokemonSpriteCallback;
|
||||
|
||||
gTasks[taskId].tPkmnSpriteId = spriteId;
|
||||
gTasks[taskId].func = Task_StarterChoose3;
|
||||
}
|
||||
else if ((gMain.newKeys & DPAD_LEFT) && selection > 0)
|
||||
{
|
||||
gTasks[taskId].tStarterSelection--;
|
||||
gTasks[taskId].func = Task_MoveStarterChooseCursor;
|
||||
}
|
||||
else if ((gMain.newKeys & DPAD_RIGHT) && selection < (STARTER_MON_COUNT - 1))
|
||||
{
|
||||
gTasks[taskId].tStarterSelection++;
|
||||
gTasks[taskId].func = Task_MoveStarterChooseCursor;
|
||||
}
|
||||
}
|
||||
|
||||
static void Task_StarterChoose3(u8 taskId)
|
||||
{
|
||||
if (gSprites[gTasks[taskId].tCircleSpriteId].affineAnimEnded &&
|
||||
gSprites[gTasks[taskId].tCircleSpriteId].pos1.x == STARTER_PKMN_POS_X &&
|
||||
gSprites[gTasks[taskId].tCircleSpriteId].pos1.y == STARTER_PKMN_POS_Y)
|
||||
{
|
||||
gTasks[taskId].func = Task_StarterChoose4;
|
||||
}
|
||||
}
|
||||
|
||||
static void Task_StarterChoose4(u8 taskId)
|
||||
{
|
||||
PlayCry1(GetStarterPokemon(gTasks[taskId].tStarterSelection), 0);
|
||||
FillWindowPixelBuffer(0, 0x11);
|
||||
PrintTextOnWindow(0, 1, gText_ConfirmStarterChoice, 0, 1, 0, NULL);
|
||||
schedule_bg_copy_tilemap_to_vram(0);
|
||||
CreateYesNoMenu(&gUnknown_085B1DDC, 0x2A8, 0xD, 0);
|
||||
gTasks[taskId].func = Task_StarterChoose5;
|
||||
}
|
||||
|
||||
static void Task_StarterChoose5(u8 taskId)
|
||||
{
|
||||
u8 spriteId;
|
||||
|
||||
switch (sub_8198C58())
|
||||
{
|
||||
case 0: // YES
|
||||
// Return the starter choice and exit.
|
||||
gScriptResult = gTasks[taskId].tStarterSelection;
|
||||
dp13_810BB8C();
|
||||
SetMainCallback2(gMain.savedCallback);
|
||||
break;
|
||||
case 1: // NO
|
||||
case -1: // B button
|
||||
PlaySE(SE_SELECT);
|
||||
spriteId = gTasks[taskId].tPkmnSpriteId;
|
||||
FreeOamMatrix(gSprites[spriteId].oam.matrixNum);
|
||||
sub_818D820(spriteId);
|
||||
|
||||
spriteId = gTasks[taskId].tCircleSpriteId;
|
||||
FreeOamMatrix(gSprites[spriteId].oam.matrixNum);
|
||||
DestroySprite(&gSprites[spriteId]);
|
||||
gTasks[taskId].func = Task_StarterChoose6;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void Task_StarterChoose6(u8 taskId)
|
||||
{
|
||||
gTasks[taskId].func = Task_StarterChoose1;
|
||||
}
|
||||
|
||||
static void CreateStarterPokemonLabel(u8 selection)
|
||||
{
|
||||
u8 text[32];
|
||||
struct WindowTemplate winTemplate;
|
||||
const u8 *speciesName;
|
||||
s32 width;
|
||||
u8 labelLeft, labelRight, labelTop, labelBottom;
|
||||
|
||||
u16 species = GetStarterPokemon(selection);
|
||||
CopyMonCategoryText(SpeciesToNationalPokedexNum(species), text);
|
||||
speciesName = gSpeciesNames[species];
|
||||
|
||||
winTemplate = gUnknown_085B1DE4;
|
||||
winTemplate.tilemapLeft = gStarterChoose_LabelCoords[selection][0];
|
||||
winTemplate.tilemapTop = gStarterChoose_LabelCoords[selection][1];
|
||||
|
||||
sStarterChooseWindowId = AddWindow(&winTemplate);
|
||||
FillWindowPixelBuffer(sStarterChooseWindowId, 0);
|
||||
|
||||
width = GetStringCenterAlignXOffset(7, text, 0x68);
|
||||
box_print(sStarterChooseWindowId, 7, width, 1, gUnknown_085B1E0C, 0, text);
|
||||
|
||||
width = GetStringCenterAlignXOffset(1, speciesName, 0x68);
|
||||
box_print(sStarterChooseWindowId, 1, width, 0x11, gUnknown_085B1E0C, 0, speciesName);
|
||||
|
||||
PutWindowTilemap(sStarterChooseWindowId);
|
||||
schedule_bg_copy_tilemap_to_vram(0);
|
||||
|
||||
labelLeft = gStarterChoose_LabelCoords[selection][0] * 8 - 4;
|
||||
labelRight = (gStarterChoose_LabelCoords[selection][0] + 13) * 8 + 4;
|
||||
labelTop = gStarterChoose_LabelCoords[selection][1] * 8;
|
||||
labelBottom = (gStarterChoose_LabelCoords[selection][1] + 4) * 8;
|
||||
SetGpuReg(REG_OFFSET_WIN0H, WIN_RANGE(labelLeft, labelRight));
|
||||
SetGpuReg(REG_OFFSET_WIN0V, WIN_RANGE(labelTop, labelBottom));
|
||||
}
|
||||
|
||||
static void sub_8134604(void)
|
||||
{
|
||||
FillWindowPixelBuffer(sStarterChooseWindowId, 0);
|
||||
ClearWindowTilemap(sStarterChooseWindowId);
|
||||
RemoveWindow(sStarterChooseWindowId);
|
||||
sStarterChooseWindowId = 0xFF;
|
||||
SetGpuReg(REG_OFFSET_WIN0H, 0);
|
||||
SetGpuReg(REG_OFFSET_WIN0V, 0);
|
||||
schedule_bg_copy_tilemap_to_vram(0);
|
||||
}
|
||||
|
||||
static void Task_MoveStarterChooseCursor(u8 taskId)
|
||||
{
|
||||
sub_8134604();
|
||||
gTasks[taskId].func = sub_8134668;
|
||||
}
|
||||
|
||||
static void sub_8134668(u8 taskId)
|
||||
{
|
||||
CreateStarterPokemonLabel(gTasks[taskId].tStarterSelection);
|
||||
gTasks[taskId].func = Task_StarterChoose2;
|
||||
}
|
||||
|
||||
static u8 CreatePokemonFrontSprite(u16 species, u8 x, u8 y)
|
||||
{
|
||||
u8 spriteId;
|
||||
|
||||
spriteId = sub_818D3E4(species, 8, 0, 1, x, y, 0xE, 0xFFFF);
|
||||
gSprites[spriteId].oam.priority = 0;
|
||||
return spriteId;
|
||||
}
|
||||
|
||||
static void sub_81346DC(struct Sprite *sprite)
|
||||
{
|
||||
sprite->pos1.x = gUnknown_085B1E28[gTasks[sprite->data0].tStarterSelection][0];
|
||||
sprite->pos1.y = gUnknown_085B1E28[gTasks[sprite->data0].tStarterSelection][1];
|
||||
sprite->pos2.y = Sin(sprite->data1, 8);
|
||||
sprite->data1 = (u8)(sprite->data1) + 4;
|
||||
}
|
||||
|
||||
static void sub_813473C(struct Sprite *sprite)
|
||||
{
|
||||
if (gTasks[sprite->data0].tStarterSelection == sprite->data1)
|
||||
StartSpriteAnimIfDifferent(sprite, 1);
|
||||
else
|
||||
StartSpriteAnimIfDifferent(sprite, 0);
|
||||
}
|
||||
|
||||
static void StarterPokemonSpriteCallback(struct Sprite *sprite)
|
||||
{
|
||||
//Move sprite to upper center of screen
|
||||
if (sprite->pos1.x > STARTER_PKMN_POS_X)
|
||||
sprite->pos1.x -= 4;
|
||||
if (sprite->pos1.x < STARTER_PKMN_POS_X)
|
||||
sprite->pos1.x += 4;
|
||||
if (sprite->pos1.y > STARTER_PKMN_POS_Y)
|
||||
sprite->pos1.y -= 2;
|
||||
if (sprite->pos1.y < STARTER_PKMN_POS_Y)
|
||||
sprite->pos1.y += 2;
|
||||
}
|
@ -23,7 +23,7 @@ const struct TilesPal* sub_8098758(u8 id)
|
||||
void copy_textbox_border_tile_patterns_to_vram(u8 windowId, u16 destOffset, u8 palOffset)
|
||||
{
|
||||
LoadBgTiles(GetWindowAttribute(windowId, WINDOW_PRIORITY), gUnknown_08DDD748, 0x1C0, destOffset);
|
||||
LoadPalette(sub_8098C64(), palOffset, 0x20);
|
||||
LoadPalette(GetOverworldTextboxPalettePtr(), palOffset, 0x20);
|
||||
}
|
||||
|
||||
void box_border_load_tiles_and_pal(u8 windowId, u16 destOffset, u8 palOffset)
|
||||
@ -113,7 +113,7 @@ const u16* stdpal_get(u8 id)
|
||||
return &gUnknown_0851017C[id];
|
||||
}
|
||||
|
||||
const u16* sub_8098C64(void)
|
||||
const u16* GetOverworldTextboxPalettePtr(void)
|
||||
{
|
||||
return gUnknown_08DDD728;
|
||||
}
|
||||
|
@ -55,8 +55,9 @@ gUnknown_030011F6: @ 30011F6
|
||||
gUnknown_030011F7: @ 30011F7
|
||||
.space 0x1
|
||||
|
||||
gUnknown_030011F8: @ 30011F8
|
||||
.space 0x4
|
||||
.include "src/starter_choose.o"
|
||||
|
||||
.align 0x2
|
||||
|
||||
gUnknown_030011FC: @ 30011FC
|
||||
.space 0x2
|
||||
|
Loading…
Reference in New Issue
Block a user