Extract data from trade.s

Also rename window_template_terminator to null_window_template, in keeping with naming conventions
This commit is contained in:
Diegoisawesome 2018-01-19 19:52:46 -06:00
parent fd544ba438
commit b22a800581
46 changed files with 1086 additions and 141 deletions

View File

@ -8,7 +8,7 @@
.2byte \vram_tile_offset
.endm
.macro window_template_terminator
.macro null_window_template
window_template 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0000
.endm

View File

@ -2394,7 +2394,7 @@ _08078726:
mov r2, sp
bl GetMonData
mov r0, sp
ldr r1, =gUnknown_0832DF94
ldr r1, =gJPText_Shedinja
bl StringCompareWithoutExtCtrlCodes
cmp r0, 0
bne _08078766
@ -2444,7 +2444,7 @@ _080787AC:
thumb_func_start sub_80787B8
sub_80787B8: @ 80787B8
push {lr}
ldr r0, =gUnknown_0832DAE5
ldr r0, =gText_IsThisTradeOkay
ldr r1, =gUnknown_0203229C
ldr r1, [r1]
adds r1, 0x72
@ -4769,7 +4769,7 @@ _08079AFE:
lsrs r4, r0, 16
cmp r4, 0x3
bls _08079ADE
ldr r1, =gUnknown_0832DABC
ldr r1, =gText_EmptyString7
adds r0, r6, 0
bl StringCopy
movs r4, 0
@ -4789,7 +4789,7 @@ _08079B20:
bl StringAppend
_08079B3C:
adds r0, r6, 0
ldr r1, =gUnknown_0832DAD2
ldr r1, =gText_NewLine3
bl StringAppend
adds r0, r4, 0x1
lsls r0, 16
@ -4799,10 +4799,10 @@ _08079B3C:
b _08079B6C
.pool
_08079B5C:
ldr r1, =gUnknown_0832DABC
ldr r1, =gText_EmptyString7
adds r0, r6, 0
bl StringCopy
ldr r1, =gUnknown_0832DADF
ldr r1, =gText_FourQuestionMarks
adds r0, r6, 0
bl StringAppend
_08079B6C:
@ -8571,7 +8571,7 @@ _0807BB68:
lsls r4, r0, 4
subs r4, r0
lsls r4, 2
ldr r0, =gUnknown_08338ED0
ldr r0, =gIngameTrades
adds r4, r0
ldr r0, =gStringVar1
adds r1, r4, 0
@ -9098,7 +9098,7 @@ _0807C1DC:
beq _0807C1FC
bl _0807CFB4
_0807C1FC:
ldr r0, =gUnknown_08338D28
ldr r0, =gSpriteTemplate_8338D28
movs r1, 0x78
movs r2, 0x20
movs r3, 0
@ -9228,7 +9228,7 @@ _0807C318:
bl _0807CFB4
_0807C328:
bl sub_807AB28
ldr r0, =gUnknown_08338E74
ldr r0, =gSpriteTemplate_8338E74
movs r1, 0x78
movs r2, 0x50
movs r3, 0
@ -9296,7 +9296,7 @@ _0807C3B0:
beq _0807C3C4
bl _0807CFB4
_0807C3C4:
ldr r0, =gUnknown_08338DFC
ldr r0, =gSpriteTemplate_8338DFC
movs r1, 0x80
movs r2, 0x41
movs r3, 0
@ -9316,7 +9316,7 @@ _0807C3E0:
ldr r1, [r4]
adds r1, 0x90
strb r0, [r1]
ldr r0, =gUnknown_08338DC8
ldr r0, =gSpriteTemplate_8338DC8
movs r1, 0x80
movs r2, 0x50
movs r3, 0
@ -9455,7 +9455,7 @@ _0807C528:
movs r2, 0x10
movs r3, 0
bl BeginNormalPaletteFade
ldr r5, =gUnknown_08338DC8
ldr r5, =gSpriteTemplate_8338DC8
adds r0, r5, 0
movs r1, 0x6F
movs r2, 0xAA
@ -9604,7 +9604,7 @@ _0807C66C:
adds r1, r4, 0
adds r1, 0x10
adds r0, r1
ldr r1, =gUnknown_08338ECC
ldr r1, =gSpriteAffineAnimTable_8338ECC
str r1, [r0]
ldrb r1, [r2]
lsls r0, r1, 4
@ -9915,7 +9915,7 @@ _0807C8FA:
ldr r1, [r7]
adds r1, 0x90
strb r0, [r1]
ldr r0, =gUnknown_08338DC8
ldr r0, =gSpriteTemplate_8338DC8
movs r1, 0x80
adds r2, r4, 0
movs r3, 0
@ -10091,7 +10091,7 @@ _0807CA86:
bne _0807CA92
b _0807CFB4
_0807CA92:
ldr r0, =gUnknown_08338DFC
ldr r0, =gSpriteTemplate_8338DFC
movs r1, 0x80
movs r2, 0x41
movs r3, 0
@ -10113,7 +10113,7 @@ _0807CA92:
b _0807CFB4
.pool
_0807CAC8:
ldr r0, =gUnknown_08338E74
ldr r0, =gSpriteTemplate_8338E74
movs r1, 0x78
movs r2, 0x50
movs r3, 0
@ -10255,7 +10255,7 @@ _0807CBEC:
b _0807CF48
.pool
_0807CBF4:
ldr r0, =gUnknown_08338D28
ldr r0, =gSpriteTemplate_8338D28
movs r2, 0x8
negs r2, r2
movs r1, 0x78
@ -11160,7 +11160,7 @@ _0807D5B8:
beq _0807D5D8
bl _0807E400
_0807D5D8:
ldr r0, =gUnknown_08338D28
ldr r0, =gSpriteTemplate_8338D28
movs r1, 0x78
movs r2, 0x20
movs r3, 0
@ -11290,7 +11290,7 @@ _0807D6F4:
_0807D704:
movs r0, 0x3
bl sub_807B62C
ldr r0, =gUnknown_08338E8C
ldr r0, =gSpriteTemplate_8338E8C
movs r1, 0x78
movs r2, 0x50
movs r3, 0
@ -11386,7 +11386,7 @@ _0807D7C4:
adds r0, r1
ldr r1, =sub_807AA4C
str r1, [r0]
ldr r0, =gUnknown_08338DC8
ldr r0, =gSpriteTemplate_8338DC8
movs r1, 0x78
movs r2, 0x50
movs r3, 0
@ -11524,7 +11524,7 @@ _0807D924:
movs r2, 0x10
movs r3, 0
bl BeginNormalPaletteFade
ldr r5, =gUnknown_08338DC8
ldr r5, =gSpriteTemplate_8338DC8
adds r0, r5, 0
movs r1, 0x6F
movs r2, 0xAA
@ -11678,7 +11678,7 @@ _0807DA74:
adds r1, r4, 0
adds r1, 0x10
adds r0, r1
ldr r1, =gUnknown_08338ECC
ldr r1, =gSpriteAffineAnimTable_8338ECC
str r1, [r0]
ldrb r1, [r2]
lsls r0, r1, 4
@ -12008,7 +12008,7 @@ _0807DD02:
adds r0, r1
ldr r1, =sub_807AA4C
str r1, [r0]
ldr r0, =gUnknown_08338DC8
ldr r0, =gSpriteTemplate_8338DC8
movs r1, 0x78
adds r2, r4, 0
movs r3, 0
@ -12218,7 +12218,7 @@ _0807DF12:
strh r6, [r5]
b _0807E398
_0807DF16:
ldr r0, =gUnknown_08338E74
ldr r0, =gSpriteTemplate_8338E74
movs r1, 0x78
movs r2, 0x50
movs r3, 0
@ -12360,7 +12360,7 @@ _0807E038:
b _0807E394
.pool
_0807E040:
ldr r0, =gUnknown_08338D28
ldr r0, =gSpriteTemplate_8338D28
movs r2, 0x8
negs r2, r2
movs r1, 0x78
@ -13184,7 +13184,7 @@ sub_807E73C: @ 807E73C
lsls r4, r0, 4
subs r4, r0
lsls r4, 2
ldr r0, =gUnknown_08338ED0
ldr r0, =gIngameTrades
adds r4, r0
ldr r0, =gStringVar1
ldrh r1, [r4, 0x38]
@ -13214,7 +13214,7 @@ sub_807E784: @ 807E784
lsls r4, r0, 4
subs r4, r0
lsls r4, 2
ldr r0, =gUnknown_08338ED0
ldr r0, =gIngameTrades
adds r4, r0
ldr r0, =gSpecialVar_0x8005
ldrh r1, [r0]
@ -13253,7 +13253,7 @@ sub_807E7E8: @ 807E7E8
lsls r2, r1, 4
subs r2, r1
lsls r2, 2
ldr r1, =gUnknown_08338ED0
ldr r1, =gIngameTrades
adds r5, r2, r1
movs r1, 0x64
muls r0, r1

View File

@ -243,7 +243,7 @@ gUnknown_0860CE94:: @ 860CE94
window_template 0x00, 0x00, 0x03, 0x08, 0x10, 0x0f, 0x0010
window_template 0x00, 0x16, 0x03, 0x08, 0x10, 0x0f, 0x0090
window_template 0x00, 0x08, 0x01, 0x0e, 0x02, 0x0f, 0x0110
window_template_terminator
null_window_template
.align 2
gUnknown_0860CEB4:: @ 860CEB4

View File

@ -108,7 +108,7 @@ gUnknown_08610434:: @ 8610434
window_template 0x00, 0x16, 0x0e, 0x08, 0x06, 0x0f, 0x006b
window_template 0x00, 0x16, 0x0e, 0x08, 0x04, 0x0f, 0x009b
window_template 0x00, 0x0f, 0x00, 0x0f, 0x02, 0x0f, 0x00bb
window_template_terminator
null_window_template
.align 1
gUnknown_0861046C:: @ 861046C
@ -345,7 +345,7 @@ gUnknown_086108C8:: @ 86108C8
window_template 0x02, 0x0a, 0x02, 0x04, 0x02, 0x0e, 0x00c1
window_template 0x00, 0x13, 0x02, 0x0b, 0x02, 0x0f, 0x00c9
window_template 0x00, 0x0f, 0x00, 0x0f, 0x02, 0x0f, 0x00df
window_template_terminator
null_window_template
gUnknown_08610918:: @ 8610918
.byte 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x1f, 0x00

View File

@ -23,7 +23,7 @@ gUnknown_085B3D64:: @ 85B3D64
.align 2
gUnknown_085B3D6C:: @ 85B3D6C
window_template 0x00, 0x02, 0x01, 0x1a, 0x12, 0x0f, 0x0014
window_template_terminator
null_window_template
.align 2
gUnknown_085B3D7C:: @ 85B3D7C

View File

@ -23,7 +23,7 @@ gUnknown_085EFD28:: @ 85EFD28
window_template 0x01, 0x0b, 0x07, 0x12, 0x04, 0x0f, 0x0055
window_template 0x01, 0x04, 0x0e, 0x19, 0x04, 0x0f, 0x009d
window_template 0x00, 0x02, 0x00, 0x08, 0x02, 0x0f, 0x0101
window_template_terminator
null_window_template
.align 2
gBerryFirmnessStringPointers:: @ 85EFD50

View File

@ -295,7 +295,7 @@ gUnknown_08587F44:: @ 8587F44
window_template 0x00, 0x01, 0x25, 0x09, 0x02, 0x0f, 0x02da
window_template 0x00, 0x10, 0x1f, 0x01, 0x02, 0x0f, 0x02ec
window_template 0x00, 0x0b, 0x23, 0x12, 0x04, 0x0f, 0x02ee
window_template_terminator
null_window_template
.align 2
gUnknown_08587FA4:: @ 8587FA4

View File

@ -68,7 +68,7 @@ gUnknown_0858D898:: @ 858D898
window_template 0x01, 0x07, 0x07, 0x0c, 0x02, 0x0f, 0x031a
window_template 0x01, 0x07, 0x0a, 0x0c, 0x02, 0x0f, 0x0332
window_template 0x01, 0x07, 0x0d, 0x0c, 0x02, 0x0f, 0x034a
window_template_terminator
null_window_template
.align 2
gUnknown_0858D8C0:: @ 858D8C0

View File

@ -1493,7 +1493,7 @@ gUnknown_085E6F68:: @ 85E6F68 struct BgTemplate
.align 2
gUnknown_085E6F6C:: @ 85E6F6C
window_template 0x00, 0x00, 0x09, 0x1e, 0x0c, 0x08, 0x0001
window_template_terminator
null_window_template
.align 2
gUnknown_085E6F7C:: @ 85E6F7C

View File

@ -4711,7 +4711,7 @@ gUnknown_0831AA18:: @ 831AA18
window_template 0x00, 0x0c, 0x02, 0x06, 0x02, 0x00, 0x00a0
window_template 0x00, 0x04, 0x02, 0x07, 0x02, 0x00, 0x00a0
window_template 0x00, 0x13, 0x02, 0x07, 0x02, 0x00, 0x00b0
window_template_terminator
null_window_template
.align 2
gUnknown_0831AAE0:: @ 831AAE0
@ -4738,7 +4738,7 @@ gUnknown_0831AAE0:: @ 831AAE0
window_template 0x00, 0x0c, 0x08, 0x06, 0x02, 0x05, 0x013c
window_template 0x00, 0x08, 0x0b, 0x0e, 0x02, 0x05, 0x0148
window_template 0x00, 0x02, 0x0f, 0x1a, 0x04, 0x07, 0x0090
window_template_terminator
null_window_template
.align 2
gUnknown_0831ABA0:: @ 831ABA0

View File

@ -273,7 +273,7 @@ gUnknown_08597C64:: @ 8597C64
window_template 0x01, 0x06, 0x00, 0x12, 0x02, 0x0a, 0x0010
window_template 0x00, 0x03, 0x0f, 0x18, 0x04, 0x0f, 0x000a
window_template 0x02, 0x01, 0x00, 0x1c, 0x20, 0x03, 0x0000
window_template_terminator
null_window_template
.align 2
gUnknown_08597C84:: @ 8597C84

View File

@ -60,7 +60,7 @@ gUnknown_082ED204:: @ 82ED204
window_template 0x00, 0x00, 0x00, 0x1E, 0x05, 0x0F, 0x0002
window_template 0x00, 0x00, 0x06, 0x1E, 0x07, 0x0F, 0x0098
window_template 0x00, 0x00, 0x0D, 0x1E, 0x07, 0x0F, 0x016A
window_template_terminator
null_window_template
.align 2
gUnknown_082ED224:: @ 82ED224
@ -1887,7 +1887,7 @@ gUnknown_082F05A8:: @ 82F05A8
window_template 0x00, 0x00, 0x00, 0x1e, 0x02, 0x0c, 0x0013
window_template 0x00, 0x01, 0x0f, 0x1c, 0x04, 0x0c, 0x004f
window_template 0x00, 0x00, 0x0f, 0x1e, 0x05, 0x0d, 0x004f
window_template_terminator
null_window_template
.align 2
gUnknown_082F05C8:: @ 82F05C8
@ -2071,7 +2071,7 @@ gUnknown_082F0D3C:: @ 82F0D3C
window_template 0x00, 0x03, 0x00, 0x18, 0x03, 0x0f, 0x0001
window_template 0x00, 0x03, 0x04, 0x15, 0x0f, 0x0f, 0x0049
window_template 0x00, 0x18, 0x04, 0x03, 0x0f, 0x0f, 0x0184
window_template_terminator
null_window_template
.align 2
gUnknown_082F0D5C:: @ 82F0D5C
@ -2103,7 +2103,7 @@ gUnknown_082F0DD0:: @ 82F0DD0
.align 2
gUnknown_082F0DD4:: @ 82F0DD4
window_template 0x00, 0x03, 0x0f, 0x18, 0x04, 0x0e, 0x0014
window_template_terminator
null_window_template
.align 2
gUnknown_082F0DE4:: @ 82F0DE4
@ -2756,7 +2756,7 @@ gUnknown_082F2C70:: @ 82F2C70
window_template 0x01, 0x09, 0x12, 0x0f, 0x02, 0x0c, 0x007a
window_template 0x01, 0x00, 0x02, 0x06, 0x0f, 0x07, 0x0020
window_template 0x00, 0x01, 0x02, 0x07, 0x09, 0x0e, 0x0013
window_template_terminator
null_window_template
.align 2
gUnknown_082F2C98:: @ 82F2C98
@ -3023,12 +3023,12 @@ gUnknown_082F32F4:: @ 82F32F4
window_template 0x00, 0x00, 0x06, 0x09, 0x02, 0x08, 0x03c9
window_template 0x00, 0x15, 0x03, 0x09, 0x02, 0x08, 0x03b7
window_template 0x00, 0x15, 0x06, 0x09, 0x02, 0x08, 0x03a5
window_template_terminator
null_window_template
window_template 0x00, 0x05, 0x02, 0x14, 0x10, 0x0f, 0x0001
window_template 0x00, 0x05, 0x02, 0x14, 0x10, 0x0f, 0x0001
window_template 0x00, 0x04, 0x02, 0x16, 0x10, 0x0f, 0x0001
window_template_terminator
null_window_template
.align 2
gUnknown_082F3344:: @ 82F3344
@ -4422,7 +4422,7 @@ gUnknown_082FE164:: @ 82FE164 struct BgTemplate
gUnknown_082FE174:: @ 82FE174
window_template 0x00, 0x13, 0x00, 0x06, 0x02, 0x02, 0x0013
window_template 0x00, 0x08, 0x00, 0x06, 0x02, 0x02, 0x001f
window_template_terminator
null_window_template
.align 2
gUnknown_082FE18C:: @ 82FE18C

View File

@ -42,7 +42,7 @@ gUnknown_082FF048:: @ 82FF048
.align 2
gUnknown_082FF070:: @ 82FF070
window_template 0x00, 0x02, 0x0f, 0x1a, 0x04, 0x0f, 0x016d
window_template_terminator
null_window_template
.align 2
gUnknown_082FF080:: @ 82FF080
@ -52,7 +52,7 @@ gUnknown_082FF080:: @ 82FF080
gUnknown_082FF088:: @ 82FF088
window_template 0x00, 0x03, 0x05, 0x06, 0x04, 0x0f, 0x006d
window_template 0x00, 0x03, 0x02, 0x09, 0x0a, 0x0f, 0x0085
window_template_terminator
null_window_template
.align 2
gMainMenuBgPal:: @ 82FF0A0

View File

@ -87,7 +87,7 @@ gUnknown_08572714:: @ 8572714
window_template 0x01, 0x00, 0x0b, 0x09, 0x07, 0x03, 0x00c0
window_template 0x00, 0x0b, 0x11, 0x12, 0x02, 0x0f, 0x0014
window_template 0x00, 0x00, 0x0d, 0x15, 0x07, 0x0f, 0x0014
window_template_terminator
null_window_template
.align 2
gUnknown_08572734:: @ 8572734

View File

@ -127,7 +127,7 @@ gUnknown_0861FA04:: @ 861FA04
gUnknown_0861FA08:: @ 861FA08
window_template 0, 1, 0x16, 0x10, 0x2, 0x0, 0x36
window_template_terminator
null_window_template
gUnknown_0861FA18:: @ 861FA18
.4byte gUnknown_085EBED5

View File

@ -11,7 +11,7 @@ gUnknown_08510404:: @ 8510404 struct BgTemplate
gUnknown_08510408:: @ 8510408
window_template 0x00, 0x01, 0x01, 0x13, 0x09, 0x0f, 0x0155
window_template 0x00, 0x02, 0x0f, 0x1b, 0x04, 0x0f, 0x00e9
window_template_terminator
null_window_template
.align 2
gUnknown_08510420:: @ 8510420

View File

@ -46,7 +46,7 @@ gUnknown_08589A70:: @ 8589A70
window_template 0, 1, 11, 12, 2, 15, 0x176
window_template 0, 18, 11, 10, 2, 15, 0x18E
window_template 0, 2, 15, 27, 4, 15, 0x1A2
window_template_terminator
null_window_template
gUnknown_08589AA8:: @ 8589AA8
window_template 0, 21, 9, 5, 4, 15, 0x20E

View File

@ -12,7 +12,7 @@ gUnknown_085A7424:: @ 85A7424
gUnknown_085A7434:: @ 85A7434
window_template 0, 2, 15, 0x1B, 4, 15, 0x194
window_template_terminator
null_window_template
gUnknown_085A7444:: @ 85A7444
window_template 0, 1, 3, 20, 13, 13, 1

View File

@ -139,17 +139,14 @@ gUnknown_085E852C:: @ 85E852C
.string "CONTROLS$"
.align 2
gUnknown_085E8538:: @ 85E8538
.string "{UNK_CTRL_F80A}PICK {UNK_CTRL_F800}OK$"
.align 2
gUnknown_085E8544:: @ 85E8544
.string "{UNK_CTRL_F800}NEXT$"
.align 2
gUnknown_085E854C:: @ 85E854C
.string "{UNK_CTRL_F800}NEXT {UNK_CTRL_F801}BACK$"
@ -1340,27 +1337,22 @@ gText_EggCantBeTradedNow:: @ 85EA234
.string "An EGG cant be traded now.$"
.align 2
gUnknown_085EA250:: @ 85EA250
gText_OtherTrainersPkmnCantBeTraded:: @ 85EA250
.string "The other TRAINERs POKéMON\ncant be traded now.$"
.align 2
gUnknown_085EA284:: @ 85EA284
.string "The other TRAINER cant accept\nthat POKéMON now.$"
.align 2
gUnknown_085EA2B8:: @ 85EA2B8
.string "You cant trade with that\nTRAINER now.$"
.align 2
gUnknown_085EA2E0:: @ 85EA2E0
.string "That isnt the type of POKéMON\nthat the other TRAINER wants.$"
.align 2
gUnknown_085EA320:: @ 85EA320
.string "That isnt an EGG.$"
@ -3585,27 +3577,22 @@ gText_BattlePyramid:: @ 85ED153
.string "BATTLE PYRAMID$"
.align 2
gUnknown_085ED164:: @ 85ED164
.string "{STR_VAR_1} SINGLE$"
.align 2
gUnknown_085ED170:: @ 85ED170
.string "{STR_VAR_1} DOUBLE$"
.align 2
gUnknown_085ED17C:: @ 85ED17C
.string "{STR_VAR_1} MULTI$"
.align 2
gUnknown_085ED188:: @ 85ED188
.string "{STR_VAR_1} LINK$"
.align 2
gUnknown_085ED190:: @ 85ED190
.string "{STR_VAR_1}$"
@ -4319,37 +4306,30 @@ gText_FloorsCleared:: @ 85EE39C
.string "Floors cleared: {STR_VAR_1}$"
.align 2
gUnknown_085EE3B0:: @ 85EE3B0
.string "LV. 50$"
.align 2
gUnknown_085EE3B8:: @ 85EE3B8
.string "OPEN LEVEL$"
.align 2
gUnknown_085EE3C4:: @ 85EE3C4
.string "Win streak: {STR_VAR_2}$"
.align 2
gUnknown_085EE3D4:: @ 85EE3D4
.string "Clear streak: {STR_VAR_2}$"
.align 2
gUnknown_085EE3E8:: @ 85EE3E8
.string "Rooms cleared: {STR_VAR_2}$"
.align 2
gUnknown_085EE3FC:: @ 85EE3FC
.string "KOs in a row: {STR_VAR_2}$"
.align 2
gUnknown_085EE410:: @ 85EE410
.string "Floors cleared: {STR_VAR_2}$"
@ -4931,7 +4911,6 @@ gText_WhereShouldNewsBeAccessed:: @ 85EEF94
.string "Where should the WONDER NEWS\nbe accessed?$"
.align 2
gUnknown_085EEFC0:: @ 85EEFC0
.string "Communication standby\nB Button: Cancel$"

View File

@ -1,3 +1,5 @@
#include "constants/species.h"
#include "constants/items.h"
.include "asm/macros.inc"
.include "constants/constants.inc"
@ -23,9 +25,10 @@ gTradeStripesBG2Tilemap:: @ 832CABC
gTradeStripesBG3Tilemap:: @ 832D2BC
.incbin "graphics/trade/stripes_bg3_map.bin"
gUnknown_0832DABC:: @ 832DABC
gText_EmptyString7:: @ 832DABC
.string "$"
gText_ClrWhtHltTrspntShdwDrkGry:: @ 832DABD
.string "{COLOR WHITE}{HIGHLIGHT TRANSPARENT}{SHADOW DARK_GREY}$"
gText_MaleSymbol4:: @ 832DAC7
@ -37,49 +40,67 @@ gText_FemaleSymbol4:: @ 832DAC9
gText_GenderlessSymbol:: @ 832DACB
.string "$"
gText_SpaceMove:: @ 832DACC
.string " MOVE$"
gUnknown_0832DAD2:: @ 832DAD2
gText_NewLine3:: @ 832DAD2
.string "\n$"
gText_Slash2:: @ 832DAD4
.string "/$"
gText_Lv2:: @ 832DAD6
.string "Lv. $"
gText_ThreeDashes2:: @ 832DADB
.string "---$"
gUnknown_0832DADF:: @ 832DADF
gText_FourQuestionMarks:: @ 832DADF
.string "????$"
gText_832DAE4:: @ 832DAE4
.string "$"
gUnknown_0832DAE5:: @ 832DAE5
gText_IsThisTradeOkay:: @ 832DAE5
.string "Is this trade okay?$"
gText_Cancel6:: @ 832DAF9
.string "CANCEL$"
gText_ChooseAPkmn:: @ 832DB00
.string "Choose a POKéMON.$"
gText_Summary3:: @ 832DB12
.string "SUMMARY$"
gText_Trade2:: @ 832DB1A
.string "TRADE$"
gText_CancelTrade:: @ 832DB20
.string "Cancel trade?$"
gJPText_832DB2E:: @ 832DB2E
.string "B  $"
gText_Summary4:: @ 832DB3B
.string "SUMMARY$"
gText_Trade3:: @ 832DB43
.string "TRADE$"
gText_CommunicationStandby6:: @ 832DB49
.string "{COLOR DARK_GREY}{HIGHLIGHT WHITE}{SHADOW LIGHT_GREY}Communication standby\nPlease wait.$"
gText_TheTradeHasBeenCanceled:: @ 832DB76
.string "{COLOR DARK_GREY}{HIGHLIGHT WHITE}{SHADOW LIGHT_GREY}The trade has\nbeen canceled.$"
gText_YourOnlyPkmnForBattle:: @ 832DB9C
.string "Thats your only\nPOKéMON for battle.$"
gText_WaitingForYourFriend:: @ 832DBC1
.string "{COLOR DARK_GREY}{HIGHLIGHT WHITE}{SHADOW LIGHT_GREY}Waiting for your friend\nto finish$"
gText_YourFriendWantsToTrade:: @ 832DBED
.string "Your friend wants\nto trade POKéMON.$"
.align 2
@ -150,159 +171,476 @@ gSpriteTemplate_832DC94:: @ 832DC94
.align 2
gSpriteTemplate_832DCAC:: @ 832DCAC
.incbin "baserom.gba", 0x32dcac, 0x18
spr_template 0x00c8, 0x133d, gOamData_832DC14, gSpriteAnimTable_832DC7C, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
.align 2
TradeScreenTextPalette:: @ 832DCC4
.incbin "graphics/trade/text.gbapal"
.align 2
gSpritePalette_TradeScreenText:: @ 832DCE4
.incbin "baserom.gba", 0x32dce4, 0x8
obj_pal TradeScreenTextPalette, 0x133d
gUnknown_0832DCEC:: @ 832DCEC
.incbin "baserom.gba", 0x32dcec, 0x138
.byte 0x04, 0x02, 0x0c, 0x0c, 0x00, 0x00, 0x02, 0x04, 0x0c, 0x0c, 0x00, 0x00, 0x07, 0x06, 0x01, 0x00, 0x00, 0x00, 0x01, 0x06, 0x07, 0x00, 0x00, 0x00, 0x05, 0x03, 0x0c, 0x0c, 0x00, 0x00, 0x03, 0x05
.byte 0x0c, 0x0c, 0x00, 0x00, 0x00, 0x07, 0x06, 0x01, 0x00, 0x00, 0x06, 0x07, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x08, 0x07, 0x06
.byte 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x05, 0x01, 0x01, 0x01, 0x00, 0x00, 0x02, 0x09, 0x08, 0x07, 0x00, 0x00, 0x08, 0x09, 0x06, 0x06, 0x00, 0x00
.byte 0x02, 0x02, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x0a, 0x09, 0x08, 0x07, 0x06, 0x05, 0x03, 0x01, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x01, 0x01
.byte 0x01, 0x01, 0x00, 0x00, 0x04, 0x04, 0x04, 0x04, 0x00, 0x00, 0x0a, 0x08, 0x06, 0x00, 0x00, 0x00, 0x0a, 0x08, 0x0c, 0x00, 0x00, 0x00, 0x08, 0x0a, 0x0c, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x07, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x06, 0x00, 0x00, 0x00, 0x00, 0x03, 0x02, 0x01, 0x00, 0x00, 0x00, 0x09, 0x07, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x0c
.byte 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x04, 0x03, 0x02
.byte 0x01, 0x00, 0x0b, 0x09, 0x07, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x02, 0x00, 0x00, 0x00, 0x00
.byte 0x0b, 0x09, 0x07, 0x06, 0x00, 0x00, 0x07, 0x06, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00
gUnknown_0832DE24:: @ 832DE24
.incbin "baserom.gba", 0x32de24, 0x1a
.byte 0x01, 0x05, 0x08, 0x05, 0x01, 0x0a, 0x08, 0x0a, 0x01, 0x0f, 0x08, 0x0f, 0x10, 0x05, 0x17, 0x05, 0x10, 0x0a, 0x17, 0x0a, 0x10, 0x0f, 0x17, 0x0f, 0x17, 0x12
gUnknown_0832DE3E:: @ 832DE3E
.incbin "baserom.gba", 0x32de3e, 0x18
.byte 0x05, 0x04, 0x0c, 0x04, 0x05, 0x09, 0x0c, 0x09, 0x05, 0x0e, 0x0c, 0x0e, 0x14, 0x04, 0x1b, 0x04, 0x14, 0x09, 0x1b, 0x09, 0x14, 0x0e, 0x1b, 0x0e
gUnknown_0832DE56:: @ 832DE56
.incbin "baserom.gba", 0x32de56, 0x3e
.byte 0x01, 0x03, 0x08, 0x03, 0x01, 0x08, 0x08, 0x08, 0x01, 0x0d, 0x08, 0x0d, 0x10, 0x03, 0x17, 0x03, 0x10, 0x08, 0x17, 0x08, 0x10, 0x0d, 0x17, 0x0d, 0x00, 0x0e, 0x0f, 0x1d, 0x03, 0x05, 0x03, 0x07
.byte 0x12, 0x05, 0x12, 0x07, 0x08, 0x07, 0x16, 0x0c, 0x08, 0x07, 0x16, 0x0c, 0x06, 0x07, 0x18, 0x0c, 0x06, 0x07, 0x18, 0x0c, 0x08, 0x07, 0x16, 0x0c, 0x07, 0x07, 0x17, 0x0c, 0x00, 0x00
.align 2
gUnknown_0832DE94:: @ 832DE94
.incbin "baserom.gba", 0x32de94, 0x18
.4byte gText_Cancel6
.4byte gText_ChooseAPkmn
.4byte gText_Summary3
.4byte gText_Trade2
.4byte gText_CancelTrade
.4byte gJPText_832DB2E
.align 2
gUnknown_0832DEAC:: @ 832DEAC
.incbin "baserom.gba", 0x32deac, 0x10
.4byte gText_Summary4, sub_807A000
.4byte gText_Trade3, sub_807A024
.align 2
gUnknown_0832DEBC:: @ 832DEBC
.incbin "baserom.gba", 0x32debc, 0x24
.4byte gText_CommunicationStandby6
.4byte gText_TheTradeHasBeenCanceled
.4byte gText_YourOnlyPkmnForBattle
.4byte gText_OnlyPkmnForBattle
.4byte gText_WaitingForYourFriend
.4byte gText_YourFriendWantsToTrade
.4byte gText_PkmnCantBeTradedNow
.4byte gText_EggCantBeTradedNow
.4byte gText_OtherTrainersPkmnCantBeTraded
gUnknown_0832DEE0:: @ 832DEE0
.incbin "baserom.gba", 0x32dee0, 0x4
.byte 0x00, 0x01, 0x02, 0x00
.align 2
gUnknown_0832DEE4:: @ 832DEE4
.incbin "baserom.gba", 0x32dee4, 0x10
.4byte 0x000001f8, 0x00001051, 0x00002062, 0x00003073
.align 2
gUnknown_0832DEF4:: @ 832DEF4
.incbin "baserom.gba", 0x32def4, 0x98
window_template 0x00, 0x04, 0x07, 0x16, 0x04, 0x0f, 0x001e
window_template 0x00, 0x13, 0x0f, 0x0a, 0x04, 0x0f, 0x0076
window_template 0x00, 0x00, 0x05, 0x08, 0x02, 0x0d, 0x009e
window_template 0x00, 0x07, 0x05, 0x08, 0x02, 0x0d, 0x00ae
window_template 0x00, 0x00, 0x0a, 0x08, 0x02, 0x0d, 0x00be
window_template 0x00, 0x07, 0x0a, 0x08, 0x02, 0x0d, 0x00ce
window_template 0x00, 0x00, 0x0f, 0x08, 0x02, 0x0d, 0x00de
window_template 0x00, 0x07, 0x0f, 0x08, 0x02, 0x0d, 0x00ee
window_template 0x00, 0x0f, 0x05, 0x08, 0x02, 0x0d, 0x00fe
window_template 0x00, 0x16, 0x05, 0x08, 0x02, 0x0d, 0x010e
window_template 0x00, 0x0f, 0x0a, 0x08, 0x02, 0x0d, 0x011e
window_template 0x00, 0x16, 0x0a, 0x08, 0x02, 0x0d, 0x012e
window_template 0x00, 0x0f, 0x0f, 0x08, 0x02, 0x0d, 0x013e
window_template 0x00, 0x16, 0x0f, 0x08, 0x02, 0x0d, 0x014e
window_template 0x00, 0x02, 0x05, 0x0e, 0x02, 0x0d, 0x015e
window_template 0x00, 0x03, 0x08, 0x0b, 0x08, 0x0f, 0x017a
window_template 0x00, 0x11, 0x05, 0x0e, 0x02, 0x0f, 0x01d2
window_template 0x00, 0x12, 0x08, 0x0b, 0x08, 0x0f, 0x01ee
null_window_template
.align 2
gUnknown_0832DF8C:: @ 832DF8C
.incbin "baserom.gba", 0x32df8c, 0x8
window_template 0x00, 0x17, 0x0d, 0x05, 0x04, 0x0f, 0x0246
gUnknown_0832DF94:: @ 832DF94
.incbin "baserom.gba", 0x32df94, 0x5
gJPText_Shedinja:: @ 832DF94
.string "$"
gUnknown_0832DF99:: @ 832DF99
.incbin "baserom.gba", 0x32df99, 0x2027
.incbin "baserom.gba", 0x32df99, 0x7
.align 2
gTradeBallPalette:: @ 832DFA0
.incbin "graphics/trade/ball.gbapal"
.align 2
gTradeBallTiles:: @ 832DFC0
.incbin "graphics/trade/ball.4bpp"
.align 2
gUnknown_832E5C0:: @ 832E5C0
.incbin "graphics/trade/pokeball_symbol.8bpp"
.align 2
gUnknown_0832FFC0:: @ 832FFC0
.incbin "baserom.gba", 0x32ffc0, 0x1fa0
.incbin "graphics/trade/cable_closeup_map.bin"
.align 2
gUnknown_083307C0:: @ 83307C0
.incbin "graphics/trade/pokeball_symbol_map.bin"
.align 2
gUnknown_083308C0:: @ 83308C0
.incbin "graphics/trade/unknown_3308C0.gbapal"
.align 2
gUnknown_083308E0:: @ 83308E0
.incbin "graphics/trade/gba.gbapal"
.incbin "graphics/trade/shadow.gbapal"
.incbin "graphics/trade/black.gbapal"
.align 2
gUnknown_08330940:: @ 8330940
.incbin "graphics/trade/misc.gbapal"
.align 2
gTradeGlow1Tiles:: @ 8330960
.incbin "graphics/trade/glow1.4bpp"
.align 2
gTradeGlow2Tiles:: @ 8330B60
.incbin "graphics/trade/glow2.4bpp"
.align 2
gTradeCableEndTiles:: @ 8330D60
.incbin "graphics/trade/cable_end.4bpp"
.align 2
gTradeGBAScreenTiles:: @ 8330F60
.incbin "graphics/trade/gba_screen.4bpp"
.align 2
gUnknown_08331F60:: @ 8331F60
.incbin "baserom.gba", 0x331f60, 0x1000
.incbin "graphics/trade/shadow_map.bin"
.align 2
gUnknown_08332F60:: @ 8332F60
.incbin "baserom.gba", 0x332f60, 0x2840
.incbin "graphics/trade/gba_affine.8bpp"
.space 0x40
.align 2
gUnknown_083357A0:: @ 83357A0
.incbin "baserom.gba", 0x3357a0, 0x100
.incbin "graphics/trade/gba_affine_map_cable.bin"
.align 2
gUnknown_083358A0:: @ 83358A0
.incbin "baserom.gba", 0x3358a0, 0x100
.incbin "graphics/trade/gba_affine_map_wireless.bin"
.align 2
gUnknown_083359A0:: @ 83359A0
.incbin "baserom.gba", 0x3359a0, 0x1000
.incbin "graphics/trade/gba_map_wireless.bin"
.align 2
gUnknown_083369A0:: @ 83369A0
.incbin "baserom.gba", 0x3369a0, 0x1000
.incbin "graphics/trade/gba_map_cable.bin"
.align 2
gUnknown_083379A0:: @ 83379A0
.incbin "baserom.gba", 0x3379a0, 0x100
.incbin "graphics/trade/unknown_3379A0.bin.lz"
.align 2
gUnknown_08337AA0:: @ 8337AA0
.incbin "baserom.gba", 0x337aa0, 0x200
.incbin "graphics/trade/wireless_signal_send.gbapal"
.align 2
gUnknown_08337CA0:: @ 8337CA0
.incbin "baserom.gba", 0x337ca0, 0x200
.incbin "graphics/trade/wireless_signal_receive.gbapal"
.align 2
gUnknown_08337EA0:: @ 8337EA0
.incbin "baserom.gba", 0x337ea0, 0x20
.incbin "graphics/trade/black.gbapal"
.align 2
gUnknown_08337EC0:: @ 8337EC0
.incbin "baserom.gba", 0x337ec0, 0x690
.incbin "graphics/trade/wireless_signal.4bpp.lz"
.align 2
gUnknown_08338550:: @ 8338550
.incbin "baserom.gba", 0x338550, 0x7c8
.incbin "graphics/trade/wireless_signal.bin.lz"
.align 2
gOamData_8338C44:: @ 8338C44
.2byte 0x0100, 0x4000, 0x0000, 0x0000
.align 2
gSpriteAnim_8338C4C:: @ 8338C4C
.2byte 0x0000, 0x0003, 0x0004, 0x0003, 0x0008, 0x0003, 0x000c, 0x0003, 0x0010, 0x0003, 0x0014, 0x0003, 0x0018, 0x0003, 0x001c, 0x0003
.2byte 0x0020, 0x0003, 0x0024, 0x0003, 0x0028, 0x0003, 0x002c, 0x0003, 0xfffd, 0x0001, 0x0000, 0x0003, 0xffff, 0x0000
.align 2
gSpriteAnim_8338C88:: @ 8338C88
.2byte 0x0000, 0x0003, 0x0004, 0x0003, 0x0008, 0x0003, 0x000c, 0x0003, 0x0010, 0x0003, 0x0014, 0x0003, 0x0018, 0x0003, 0x001c, 0x0003
.2byte 0x0020, 0x0003, 0x0024, 0x0003, 0x0028, 0x0003, 0x002c, 0x0003, 0xfffd, 0x0002, 0x0000, 0x0003, 0xffff, 0x0000
.align 2
gSpriteAnimTable_8338C88:: @ 8338CC4
.4byte gSpriteAnim_8338C4C
.4byte gSpriteAnim_8338C88
.align 2
gSpriteAffineAnim_8338CCC:: @ 8338CCC
.2byte 0x0000, 0x0000, 0x0100, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
.align 2
gSpriteAffineAnim_8338CDC:: @ 8338CDC
.2byte 0xfff8, 0x0000, 0x1400, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
.align 2
gSpriteAffineAnim_8338CEC:: @ 8338CEC
.2byte 0x0060, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x0500, 0x0000, 0x0008, 0x0000, 0x1400, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
.align 2
gSpriteAffineAnimTable_8338D0C:: @ 8338D0C
.4byte gSpriteAffineAnim_8338CCC
.4byte gSpriteAffineAnim_8338CDC
.4byte gSpriteAffineAnim_8338CEC
.align 2
gUnknown_08338D18:: @ 8338D18
.incbin "baserom.gba", 0x338d18, 0x8
obj_tiles gTradeBallTiles, 0x0600, 0x15b5
.align 2
gUnknown_08338D20:: @ 8338D20
.incbin "baserom.gba", 0x338d20, 0x8
obj_pal gTradeBallPalette, 0x15b6
gUnknown_08338D28:: @ 8338D28
.incbin "baserom.gba", 0x338d28, 0x48
.align 2
gSpriteTemplate_8338D28:: @ 8338D28
spr_template 0x15b5, 0x15b6, gOamData_8338C44, gSpriteAnimTable_8338C88, NULL, gSpriteAffineAnimTable_8338D0C, sub_807E55C
.align 2
gOamData_8338D40:: @ 8338D40
.2byte 0x0500, 0x8000, 0x0400, 0x0000
.align 2
gSpriteAnim_8338D48:: @ 8338D48
.2byte 0x0000, 0x00c5, 0xffff, 0x0000
.align 2
gSpriteAnimTable_8338D50:: @ 8338D50
.4byte gSpriteAnim_8338D48
.align 2
gSpriteAffineAnim_8338D54:: @ 8338D54
.2byte 0xfff6, 0xfff6, 0x0500, 0x0000, 0x000a, 0x000a, 0x0500, 0x0000, 0x7ffe, 0x0000, 0x0000, 0x0000
.align 2
gSpriteAffineAnimTable_8338D6C:: @ 8338D6C
.4byte gSpriteAffineAnim_8338D54
.align 2
gUnknown_08338D70:: @ 8338D70
.incbin "baserom.gba", 0x338d70, 0x8
obj_tiles gTradeGlow1Tiles, 0x0200, 0x15ae
.align 2
gUnknown_08338D78:: @ 8338D78
.incbin "baserom.gba", 0x338d78, 0x8
obj_pal gUnknown_08330940, 0x15af
.align 2
gUnknown_08338D80:: @ 8338D80
.incbin "baserom.gba", 0x338d80, 0x8
obj_pal gUnknown_083308E0, 0x15b3
.align 2
gUnknown_08338D88:: @ 8338D88
.incbin "baserom.gba", 0x338d88, 0x38
spr_template 0x15ae, 0x15af, gOamData_8338D40, gSpriteAnimTable_8338D50, NULL, gSpriteAffineAnimTable_8338D6C, sub_807AA28
.align 2
gOamData_8338DA0:: @ 8338DA0
.2byte 0x8000, 0x8000, 0x0400, 0x0000
.align 2
gSpriteAnim_8338DA8:: @ 8338DA8
.2byte 0x0000, 0x00c5, 0xffff, 0x0000
.align 2
gSpriteAnim_8338DB0:: @ 8338DB0
.2byte 0x0008, 0x00c5, 0xffff, 0x0000
.align 2
gSpriteAnimTable_8338DB8:: @ 8338DB8
.4byte gSpriteAnim_8338DA8
.4byte gSpriteAnim_8338DB0
.align 2
gUnknown_08338DC0:: @ 8338DC0
.incbin "baserom.gba", 0x338dc0, 0x8
obj_tiles gTradeGlow2Tiles, 0x0300, 0x15b0
gUnknown_08338DC8:: @ 8338DC8
.incbin "baserom.gba", 0x338dc8, 0x2c
.align 2
gSpriteTemplate_8338DC8:: @ 8338DC8
spr_template 0x15b0, 0x15af, gOamData_8338DA0, gSpriteAnimTable_8338DB8, NULL, gDummySpriteAffineAnimTable, sub_807AA7C
.align 2
gOamData_8338DE0:: @ 8338DE0
.2byte 0x8000, 0x8000, 0x0400, 0x0000
.align 2
gSpriteAnim_8338DE8:: @ 8338DE8
.2byte 0x0000, 0x000a, 0xffff, 0x0000
.align 2
gSpriteAnimTable_8338DF0:: @ 8338DF0
.4byte gSpriteAnim_8338DE8
.align 2
gUnknown_08338DF4:: @ 8338DF4
.incbin "baserom.gba", 0x338df4, 0x8
obj_tiles gTradeCableEndTiles, 0x0100, 0x15b2
gUnknown_08338DFC:: @ 8338DFC
.incbin "baserom.gba", 0x338dfc, 0x70
.align 2
gSpriteTemplate_8338DFC:: @ 8338DFC
spr_template 0x15b2, 0x15b3, gOamData_8338DE0, gSpriteAnimTable_8338DF0, NULL, gDummySpriteAffineAnimTable, sub_807AABC
.align 2
gOamData_8338E14:: @ 8338E14
.2byte 0x4000, 0xc000, 0x0400, 0x0000
.align 2
gSpriteAnim_8338E1C:: @ 8338E1C
.2byte 0x0000, 0x00c2, 0x0020, 0x00c2, 0x0040, 0x00c2, 0x0060, 0x00c2, 0x0040, 0x00c2, 0x0020, 0x00c2, 0x0000, 0x00c2, 0xfffd, 0x0008
.2byte 0xffff, 0x0000
.align 2
gSpriteAnim_8338E40:: @ 8338E40
.2byte 0x0000, 0x00c2, 0x0020, 0x00c2, 0x0040, 0x00c2, 0x0060, 0x00c2, 0x0040, 0x00c2, 0x0020, 0x00c2, 0x0000, 0x00c2, 0xfffd, 0x0002
.2byte 0xffff, 0x0000
.align 2
gSpriteAnimTable_8338E64:: @ 8338E64
.4byte gSpriteAnim_8338E1C
.align 2
gSpriteAnimTable_8338E68:: @ 8338E68
.4byte gSpriteAnim_8338E40
gUnknown_08338E6C:: @ 8338E6C
.incbin "baserom.gba", 0x338e6c, 0x8
obj_tiles gTradeGBAScreenTiles, 0x1000, 0x15b4
gUnknown_08338E74:: @ 8338E74
.incbin "baserom.gba", 0x338e74, 0x18
.align 2
gSpriteTemplate_8338E74:: @ 8338E74
spr_template 0x15b4, 0x15b3, gOamData_8338E14, gSpriteAnimTable_8338E64, NULL, gDummySpriteAffineAnimTable, sub_807AB04
gUnknown_08338E8C:: @ 8338E8C
.incbin "baserom.gba", 0x338e8c, 0x18
.align 2
gSpriteTemplate_8338E8C:: @ 8338E8C
spr_template 0x15b4, 0x15b3, gOamData_8338E14, gSpriteAnimTable_8338E68, NULL, gDummySpriteAffineAnimTable, sub_807AB04
.align 1
gUnknown_08338EA4:: @ 8338EA4
.incbin "baserom.gba", 0x338ea4, 0x28
.incbin "graphics/trade/unknown_338EA4.gbapal"
gUnknown_08338ECC:: @ 8338ECC
.incbin "baserom.gba", 0x338ecc, 0x4
.align 2
gSpriteAffineAnim_8338EBC:: @ 8338EBC
.2byte 0xff00, 0x0100, 0x0000, 0x0000, 0x7ffe, 0x0000, 0x0000, 0x0000
gUnknown_08338ED0:: @ 8338ED0
.incbin "baserom.gba", 0x338ed0, 0xf0
.align 2
gSpriteAffineAnimTable_8338ECC:: @ 8338ECC
.4byte gSpriteAffineAnim_8338EBC
.align 2
gIngameTrades:: @ 8338ED0
.string "DOTS$", 11
.align 1
.2byte SPECIES_SEEDOT
.byte 5, 4, 5, 4, 4, 4
.byte 1
.align 2
.4byte 0x9746
.byte 30, 5, 5, 5, 5
.align 2
.4byte 0x84
.2byte ITEM_CHESTO_BERRY
.byte -1
.string "KOBE$", 11
.byte 0
.byte 10
.2byte SPECIES_RALTS
.align 2
.string "PLUSES$", 11
.align 1
.2byte SPECIES_PLUSLE
.byte 4, 4, 4, 5, 5, 4
.byte 0
.align 2
.4byte 0x1210c
.byte 5, 5, 30, 5, 5
.align 2
.4byte 0x6f
.2byte ITEM_WOOD_MAIL
.byte 0
.string "ROMAN$", 11
.byte 0
.byte 10
.2byte SPECIES_VOLBEAT
.align 2
.string "SEASOR$", 11
.align 1
.2byte SPECIES_HORSEA
.byte 5, 4, 4, 4, 5, 4
.byte 0
.align 2
.4byte 0xb4cd
.byte 5, 5, 5, 5, 30
.align 2
.4byte 0x7f
.2byte ITEM_WAVE_MAIL
.byte 1
.string "SKYLAR$", 11
.byte 0
.byte 10
.2byte SPECIES_BAGON
.align 2
.string "MEOWOW$", 11
.align 1
.2byte SPECIES_MEOWTH
.byte 4, 5, 4, 5, 4, 4
.byte 0
.align 2
.4byte 0x16559
.byte 5, 5, 5, 30, 5
.align 2
.4byte 0x8b
.2byte ITEM_RETRO_MAIL
.byte 2
.string "ISIS$", 11
.byte 1
.byte 10
.2byte SPECIES_SKITTY
.align 2
gUnknown_08338FC0:: @ 8338FC0
.incbin "baserom.gba", 0x338fc0, 0x3c
.2byte 0x1006, 0x1232, 0x102f, 0x0161, 0x0c00, 0x0182, 0x1000, 0x1006, 0x0e3b, 0x0000, 0x0a01, 0x1000, 0x161e, 0x018b, 0x0433, 0x1611
.2byte 0x180f, 0x0074, 0x1440, 0x0000, 0x0811, 0x102b, 0x013b, 0x2a34, 0x0c16, 0x1037, 0x1020, 0x0418, 0x0c23, 0x0000
.align 2
gUnknown_08338FFC:: @ 8338FFC
.incbin "baserom.gba", 0x338ffc, 0x10
window_template 0x00, 0x02, 0x0f, 0x1a, 0x04, 0x00, 0x0040
null_window_template
.align 2
gUnknown_0833900C:: @ 833900C
.incbin "baserom.gba", 0x33900c, 0x8
window_template 0x00, 0x15, 0x09, 0x05, 0x04, 0x0f, 0x00bc
.align 2
gUnknown_08339014:: @ 8339014
.incbin "baserom.gba", 0x339014, 0x10
.4byte 0x000001fc, 0x00002051, 0x00002326, 0x00003063
gUnknown_08339024:: @ 8339024
.incbin "baserom.gba", 0x339024, 0x6c
.byte 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04, 0xfc, 0xfc, 0xfc, 0xfd, 0xfd, 0xfd, 0xfd, 0xfe, 0xfe, 0xfe
.byte 0xfe, 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x04, 0x04
.byte 0x04, 0x04, 0xfc, 0xfd, 0xfd, 0xfe, 0xfe, 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x02, 0x02, 0x03, 0x03, 0x04, 0xfc, 0xfd, 0xfe, 0xff
.byte 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x01, 0x02, 0x03
gUnknown_08339090:: @ 8339090
.incbin "baserom.gba", 0x339090, 0x44
.byte 0x00, 0x01, 0x01, 0x01, 0x02, 0x01, 0x03, 0x01, 0x04, 0x01, 0x05, 0x02, 0x06, 0x02, 0x07, 0x02, 0x08, 0x02, 0x09, 0x02, 0x0a, 0x03, 0x0b, 0x03, 0x0c, 0x03, 0x0d, 0x04, 0x0e, 0x05, 0x0f, 0x02
.byte 0x00, 0x01, 0x01, 0x01, 0x02, 0x01, 0x03, 0x01, 0x04, 0x01, 0x05, 0x02, 0x06, 0x02, 0x07, 0x02, 0x08, 0x02, 0x09, 0x02, 0x0a, 0x03, 0x0b, 0x03, 0x0c, 0x03, 0x0d, 0x04, 0x0e, 0x05, 0x10, 0x01
.byte 0x10, 0xff, 0x00, 0x00

View File

@ -34,7 +34,7 @@ gUnknown_085DFCDC:: @ 85DFCDC
window_template 0, 0xD, 1, 0xD, 4, 0xF, 1
window_template 0, 0, 0xE, 0xB, 2, 0xF, 0x35
window_template 0, 1, 0x11, 0x1C, 2, 0xF, 0x4B
window_template_terminator
null_window_template
sUsePokeblockYesNoWinTemplate:: @ 85DFCFC
window_template 0, 0x18, 0xB, 5, 4, 0xF, 0x83

BIN
graphics/trade/ball.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

19
graphics/trade/black.pal Normal file
View File

@ -0,0 +1,19 @@
JASC-PAL
0100
16
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

19
graphics/trade/gba.pal Normal file
View File

@ -0,0 +1,19 @@
JASC-PAL
0100
16
0 0 0
255 255 255
222 230 238
189 205 230
156 180 222
131 131 139
98 98 123
65 74 106
41 49 90
230 230 230
205 205 205
180 180 180
156 156 156
213 180 106
205 156 82
49 255 106

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

BIN
graphics/trade/glow1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

BIN
graphics/trade/glow2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

19
graphics/trade/misc.pal Normal file
View File

@ -0,0 +1,19 @@
JASC-PAL
0100
16
0 0 0
255 156 123
164 123 197
41 255 115
0 139 255
255 255 74
255 255 255
106 106 106
255 156 123
255 156 123
255 156 123
255 156 123
255 156 123
255 156 123
255 156 123
255 156 123

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

19
graphics/trade/shadow.pal Normal file
View File

@ -0,0 +1,19 @@
JASC-PAL
0100
16
0 0 0
255 255 255
222 230 238
189 205 230
156 180 222
0 16 172
32 32 106
16 16 90
0 0 74
255 255 189
230 230 164
205 205 148
189 180 115
139 139 90
74 74 57
32 32 32

Binary file not shown.

View File

@ -0,0 +1,19 @@
JASC-PAL
0100
16
0 0 0
255 57 8
255 90 8
255 131 8
255 172 8
255 213 8
255 255 8
255 255 131
255 255 255
255 255 0
65 0 0
115 16 0
172 32 0
230 57 8
0 0 0
0 0 0

Binary file not shown.

View File

@ -0,0 +1,15 @@
JASC-PAL
0100
12
148 197 255
148 197 255
148 197 255
255 255 255
255 255 255
255 255 255
148 197 255
148 197 255
148 197 255
255 255 255
255 255 255
255 255 255

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,259 @@
JASC-PAL
0100
256
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
255 255 255

View File

@ -0,0 +1,259 @@
JASC-PAL
0100
256
0 0 0
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172
255 255 255
0 0 0
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
172 172 172