1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
|
#include "constants/items.h"
#include "constants/species.h"
#include "constants/easy_chat.h"
#define RGB(r, g, b) ((r) | ((g) << 5) | ((b) << 10))
.include "asm/macros.inc"
.include "constants/constants.inc"
.section .rodata
.align 2, 0
@ unknown
gUnknown_8260814:: @ 8260814
.4byte 0x00000f24 @ sizeof(struct SaveBlock2)
.4byte 0x00003d68 @ sizeof(struct SaveBlock1)
.4byte 0x0000001c @ sizeof(struct MapData)
.4byte 0x00000530 @ unk
.4byte 0x00000034 @ unk
.4byte 0x00000024 @ sizeof(struct MailStruct)
.4byte 0x00000064 @ sizeof(struct Pokemon)
.4byte 0x00000528
gTradeMovesBoxTilemap:: @ 8260834
.incbin "data/trade/unk_8260834.bin"
gTradePartyBoxTilemap:: @ 8260A32
.incbin "data/trade/unk_8260A32.bin"
gUnknown_8260C30:: @ 8260C30
.incbin "data/trade/unk_8260C30.bin"
gUnknown_8261430:: @ 8261430
.incbin "data/trade/unk_8261430.bin"
gOamdata_8261C30::
.4byte 0x80004000, 0x00000400
gOamData_8261C38::
.4byte 0xc0004000, 0x00000400
gSpriteAnim_8261C40::
obj_image_anim_frame 0x00, 5
obj_image_anim_end
gSpriteAnim_8261C48::
obj_image_anim_frame 0x20, 5
obj_image_anim_end
gSpriteAnimTable_8261C50::
.4byte gSpriteAnim_8261C40
.4byte gSpriteAnim_8261C48
gUnknown_8261C58:: @ 8261C58
obj_tiles gUnknown_8E9E1DC, 0x0800, 300
gUnknown_8261C60:: @ 8261C60
obj_pal gUnknown_8E9CF3C, 2345
gSpriteAnim_8261C68::
obj_image_anim_frame 0x00, 5
obj_image_anim_end
gSpriteAnim_8261C70::
obj_image_anim_frame 0x08, 5
obj_image_anim_end
gSpriteAnim_8261C78::
obj_image_anim_frame 0x10, 5
obj_image_anim_end
gSpriteAnim_8261C80::
obj_image_anim_frame 0x18, 5
obj_image_anim_end
gSpriteAnim_8261C88::
obj_image_anim_frame 0x20, 5
obj_image_anim_end
gSpriteAnim_8261C90::
obj_image_anim_frame 0x28, 5
obj_image_anim_end
gSpriteAnimTable_8261C98::
.4byte gSpriteAnim_8261C68
.4byte gSpriteAnim_8261C70
.4byte gSpriteAnim_8261C78
.4byte gSpriteAnim_8261C80
.4byte gSpriteAnim_8261C88
.4byte gSpriteAnim_8261C90
gUnknown_8261CB0:: @ 8261CB0
spr_template 300, 2345, gOamData_8261C38, gSpriteAnimTable_8261C50, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
gUnknown_8261CC8:: @ 8261CC8
spr_template 200, 4925, gOamdata_8261C30, gSpriteAnimTable_8261C98, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
gUnknown_8261CE0::
.incbin "data/trade/unk_8261CE0.gbapal"
gUnknown_8261D00:: @ 8261D00
obj_pal gUnknown_8261CE0, 4925
gUnknown_8261D08:: @ 8261D08
.byte 0x04, 0x02, 0x0c, 0x0c, 0x00, 0x00
.byte 0x02, 0x04, 0x0c, 0x0c, 0x00, 0x00
.byte 0x07, 0x06, 0x01, 0x00, 0x00, 0x00
.byte 0x01, 0x06, 0x07, 0x00, 0x00, 0x00
.byte 0x05, 0x03, 0x0c, 0x0c, 0x00, 0x00
.byte 0x03, 0x05, 0x0c, 0x0c, 0x00, 0x00
.byte 0x00, 0x07, 0x06, 0x01, 0x00, 0x00
.byte 0x06, 0x07, 0x00, 0x01, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x04, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x09, 0x08, 0x07, 0x06, 0x00, 0x00
.byte 0x03, 0x01, 0x00, 0x00, 0x00, 0x00
.byte 0x01, 0x01, 0x01, 0x01, 0x00, 0x00
.byte 0x05, 0x01, 0x01, 0x01, 0x00, 0x00
.byte 0x02, 0x09, 0x08, 0x07, 0x00, 0x00
.byte 0x08, 0x09, 0x06, 0x06, 0x00, 0x00
.byte 0x02, 0x02, 0x02, 0x02, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x0b, 0x0a, 0x09, 0x08, 0x07, 0x06
.byte 0x05, 0x03, 0x01, 0x00, 0x00, 0x00
.byte 0x03, 0x03, 0x03, 0x03, 0x00, 0x00
.byte 0x01, 0x01, 0x01, 0x01, 0x00, 0x00
.byte 0x04, 0x04, 0x04, 0x04, 0x00, 0x00
.byte 0x0a, 0x08, 0x06, 0x00, 0x00, 0x00
.byte 0x0a, 0x08, 0x0c, 0x00, 0x00, 0x00
.byte 0x08, 0x0a, 0x0c, 0x00, 0x00, 0x00
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x07, 0x00, 0x01, 0x00, 0x00, 0x00
.byte 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x09, 0x0c, 0x00, 0x00, 0x00, 0x00
.byte 0x06, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x06, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x0a, 0x06, 0x00, 0x00, 0x00, 0x00
.byte 0x03, 0x02, 0x01, 0x00, 0x00, 0x00
.byte 0x09, 0x07, 0x00, 0x00, 0x00, 0x00
.byte 0x07, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x0b, 0x0c, 0x00, 0x00, 0x00, 0x00
.byte 0x08, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x02, 0x01, 0x00, 0x00, 0x00, 0x00
.byte 0x08, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x06, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x05, 0x04, 0x03, 0x02, 0x01, 0x00
.byte 0x0b, 0x09, 0x07, 0x00, 0x00, 0x00
.byte 0x09, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x04, 0x02, 0x00, 0x00, 0x00, 0x00
.byte 0x0b, 0x09, 0x07, 0x06, 0x00, 0x00
.byte 0x07, 0x06, 0x00, 0x00, 0x00, 0x00
.byte 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00
gTradeMonSpriteCoords:: @ 8261E40
.byte 0x01, 0x05
.byte 0x08, 0x05
.byte 0x01, 0x0a
.byte 0x08, 0x0a
.byte 0x01, 0x0f
.byte 0x08, 0x0f
.byte 0x10, 0x05
.byte 0x17, 0x05
.byte 0x10, 0x0a
.byte 0x17, 0x0a
.byte 0x10, 0x0f
.byte 0x17, 0x0f
.byte 0x17, 0x12
gUnknown_8261E5A:: @ 8261E5A
.byte 0x05, 0x04
.byte 0x0c, 0x04
.byte 0x05, 0x09
.byte 0x0c, 0x09
.byte 0x05, 0x0e
.byte 0x0c, 0x0e
.byte 0x14, 0x04
.byte 0x1b, 0x04
.byte 0x14, 0x09
.byte 0x1b, 0x09
.byte 0x14, 0x0e
.byte 0x1b, 0x0e
gUnknown_8261E72:: @ 8261E72
.byte 0x01, 0x03
.byte 0x08, 0x03
.byte 0x01, 0x08
.byte 0x08, 0x08
.byte 0x01, 0x0d
.byte 0x08, 0x0d
.byte 0x10, 0x03
.byte 0x17, 0x03
.byte 0x10, 0x08
.byte 0x17, 0x08
.byte 0x10, 0x0d
.byte 0x17, 0x0d
gTradeUnknownSpriteCoords:: @ 8261E8A
.byte 0x3c, 0x09, 0xb4, 0x09
.byte 0x30, 0x09, 0xa8, 0x09
gUnknown_8261E92::
.byte 0x00, 0x0e, 0x0f, 0x1d
.byte 0x03, 0x05, 0x03, 0x07
.byte 0x12, 0x05, 0x12, 0x07
.byte 0x08, 0x07, 0x16, 0x0c
.byte 0x08, 0x07, 0x16, 0x0c
.byte 0x06, 0x07, 0x18, 0x0c
.byte 0x06, 0x07, 0x18, 0x0c
.byte 0x08, 0x07, 0x16, 0x0c
.byte 0x07, 0x07, 0x17, 0x0c
gUnknown_8261EB6:: @ 8261EB6
.string "$"
gUnknown_8261EB7::
.string "{COLOR DARK_GREY}{HIGHLIGHT TRANSPARENT}{SHADOW RED}$"
gText_MaleSymbol4:: @ 8261EC1
.string "♂$"
gText_FemaleSymbol4:: @ 8261EC3
.string "♀$"
gText_GenderlessSymbol:: @ 8261EC5
.string "$"
gUnknown_8261EC6::
.string "$"
gUnknown_8261EC7:: @ 8261EC7
.string "\n$"
gUnknown_8261EC9::
.string "/$"
.align 2
gUnknown_8261ECC:: @ 8261ECC
.4byte gUnknown_841E0B9
.4byte gUnknown_841E0C0
.4byte gUnknown_841E0D2
.4byte gUnknown_841E0DA
.4byte gUnknown_841E0E0
.4byte gUnknown_841E0EE
gUnknown_8261EE4:: @ 8261EE4
.4byte gUnknown_841E10A, sub_804F440
.4byte gUnknown_841E112, sub_804F464
gUnknown_8261EF4:: @ 8261EF4
.4byte gUnknown_841E118
.4byte gUnknown_841E145
.4byte gUnknown_841E16B
.4byte gUnknown_8417094
.4byte gUnknown_841E199
.4byte gUnknown_841E1C5
.4byte gUnknown_84170BC
.4byte gUnknown_84170E0
.4byte gUnknown_84170FC
gUnknown_8261F18:: @ 8261F18
.byte 0, 1, 2
.align 2
gUnknown_8261F1C:: @ 8261F1C
.4byte 0x000001f8
@ {
@ .bg = 0,
@ .charBaseIndex = 2,
@ .mapBaseIndex = 31,
@ .screenSize = 0,
@ .paletteMode = 0,
@ .priority = 0,
@ .baseTile = 0x0000
@ }
.4byte 0x00001051
@ {
@ .bg = 1,
@ .charBaseIndex = 0,
@ .mapBaseIndex = 5,
@ .screenSize = 0,
@ .paletteMode = 0,
@ .priority = 1,
@ .baseTile = 0x0000
@ }
.4byte 0x00002062
@ {
@ .bg = 2,
@ .charBaseIndex = 0,
@ .mapBaseIndex = 6,
@ .screenSize = 0,
@ .paletteMode = 0,
@ .priority = 2,
@ .baseTile = 0x0000
@ }
.4byte 0x00003073
@ {
@ .bg = 3,
@ .charBaseIndex = 0,
@ .mapBaseIndex = 7,
@ .screenSize = 0,
@ .paletteMode = 0,
@ .priority = 3,
@ .baseTile = 0x0000
@ }
gUnknown_8261F2C:: @ 8261F2C
.byte 0, 4, 7, 22, 4, 15
.2byte 0x001e
@ {
@ .bg = 0,
@ .tilemapLeft = 4,
@ .tilemapTop = 7,
@ .width = 22,
@ .height = 4,
@ .paletteNum = 15,
@ .baseBlock = 0x001e
@ }
.byte 0, 17, 15, 12, 4, 15
.2byte 0x0076
@ {
@ .bg = 0,
@ .tilemapLeft = 17,
@ .tilemapTop = 15,
@ .width = 12,
@ .height = 4,
@ .paletteNum = 15,
@ .baseBlock = 0x0076
@ }
.byte 0, 0, 5, 8, 2, 13
.2byte 0x00a6
@ {
@ .bg = 0,
@ .tilemapLeft = 0,
@ .tilemapTop = 5,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x00a6
@ }
.byte 0, 7, 5, 8, 2, 13
.2byte 0x00b6
@ {
@ .bg = 0,
@ .tilemapLeft = 7,
@ .tilemapTop = 5,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x00b6
@ }
.byte 0, 0, 10, 8, 2, 13
.2byte 0x00c6
@ {
@ .bg = 0,
@ .tilemapLeft = 0,
@ .tilemapTop = 10,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x00c6
@ }
.byte 0, 7, 10, 8, 2, 13
.2byte 0x00d6
@ {
@ .bg = 0,
@ .tilemapLeft = 7,
@ .tilemapTop = 10,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x00d6
@ }
.byte 0, 0, 15, 8, 2, 13
.2byte 0x00e6
@ {
@ .bg = 0,
@ .tilemapLeft = 0,
@ .tilemapTop = 15,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x00e6
@ }
.byte 0, 7, 15, 8, 2, 13
.2byte 0x00f6
@ {
@ .bg = 0,
@ .tilemapLeft = 7,
@ .tilemapTop = 15,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x00f6
@ }
.byte 0, 15, 5, 8, 2, 13
.2byte 0x0106
@ {
@ .bg = 0,
@ .tilemapLeft = 15,
@ .tilemapTop = 5,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x0106
@ }
.byte 0, 22, 5, 8, 2, 13
.2byte 0x0116
@ {
@ .bg = 0,
@ .tilemapLeft = 22,
@ .tilemapTop = 5,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x0116
@ }
.byte 0, 15, 10, 8, 2, 13
.2byte 0x0126
@ {
@ .bg = 0,
@ .tilemapLeft = 15,
@ .tilemapTop = 10,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x0126
@ }
.byte 0, 22, 10, 8, 2, 13
.2byte 0x0136
@ {
@ .bg = 0,
@ .tilemapLeft = 22,
@ .tilemapTop = 10,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x0136
@ }
.byte 0, 15, 15, 8, 2, 13
.2byte 0x0146
@ {
@ .bg = 0,
@ .tilemapLeft = 15,
@ .tilemapTop = 15,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x0146
@ }
.byte 0, 22, 15, 8, 2, 13
.2byte 0x0156
@ {
@ .bg = 0,
@ .tilemapLeft = 22,
@ .tilemapTop = 15,
@ .width = 8,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x0156
@ }
.byte 0, 2, 5, 14, 2, 13
.2byte 0x0166
@ {
@ .bg = 0,
@ .tilemapLeft = 2,
@ .tilemapTop = 5,
@ .width = 14,
@ .height = 2,
@ .paletteNum = 13,
@ .baseBlock = 0x0166
@ }
.byte 0, 3, 8, 11, 8, 15
.2byte 0x0182
@ {
@ .bg = 0,
@ .tilemapLeft = 3,
@ .tilemapTop = 8,
@ .width = 11,
@ .height = 8,
@ .paletteNum = 15,
@ .baseBlock = 0x0182
@ }
.byte 0, 17, 5, 14, 2, 15
.2byte 0x01da
@ {
@ .bg = 0,
@ .tilemapLeft = 17,
@ .tilemapTop = 5,
@ .width = 14,
@ .height = 2,
@ .paletteNum = 15,
@ .baseBlock = 0x01da
@ }
.byte 0, 18, 8, 11, 8, 15
.2byte 0x01f6
@ {
@ .bg = 0,
@ .tilemapLeft = 18,
@ .tilemapTop = 8,
@ .width = 11,
@ .height = 8,
@ .paletteNum = 15,
@ .baseBlock = 0x01f6
@ }
.byte 255, 0, 0, 0, 0, 0
.2byte 0x0000
@ {
@ .bg = 255,
@ .tilemapLeft = 0,
@ .tilemapTop = 0,
@ .width = 0,
@ .height = 0,
@ .paletteNum = 0,
@ .baseBlock = 0x0000
@ }
gUnknown_8261FC4:: @ 8261FC4
.byte 0, 21, 13, 6, 4, 15
.2byte 0x024e
@ {
@ .bg = 0,
@ .tilemapLeft = 21,
@ .tilemapTop = 13,
@ .width = 6,
@ .height = 4,
@ .paletteNum = 15,
@ .baseBlock = 0x024e
@ }
.string "かいめの そうしん$", 13
.string "かいめの じゅしん$", 13
.string "ポケモンアイコンセット$", 13
.string "OBJテキストセット$", 13
.string "セルセット$", 13
.string "OBJテキストADD$", 13
.string "システムメッセージADD$", 13
.string "はいけいセット$", 13
gJPText_Shedinja:: @ 8262034
.string "ヌケニン$"
.string "こうかんせいりつ $"
.string "だめだたらしいよ $"
gUnknown_8262055:: @ 8262055
.byte 0x04, 0x03
.byte 0x13, 0x03
.align 2
gUnknown_826205C::
.incbin "data/trade/unk_826207C.gbapal"
gUnknown_826207C::
.incbin "data/trade/unk_826207C.4bpp"
.incbin "baserom.gba", 0x26267C, 0x1A00
gUnknown_826407C:: @ 826407C
.incbin "data/trade/unk_826407C.bin"
.incbin "baserom.gba", 0x26487C, 0x120
gUnknown_826499C::
.incbin "data/trade/unk_8264E1C.gbapal"
.incbin "baserom.gba", 0x2649BC, 0x40
gUnknown_82649FC::
.incbin "data/trade/unk_8264A1C.gbapal"
gUnknown_8264A1C::
.incbin "data/trade/unk_8264A1C.4bpp"
gUnknown_8264C1C::
.incbin "data/trade/unk_8264C1C.4bpp"
gUnknown_8264E1C::
.incbin "data/trade/unk_8264E1C.4bpp"
.incbin "baserom.gba", 0x264F1C, 0x100
gUnknown_826501C::
.incbin "data/trade/unk_826501C.4bpp"
gUnknown_826601C:: @ 826601C
.incbin "data/trade/unk_826601C.bin"
gUnknown_826701C:: @ 826701C
.incbin "data/trade/unk_826701C.8bpp"
gUnknown_826985C:: @ 826985C
.incbin "data/trade/unk_826985C.bin"
gUnknown_826995C:: @ 826995C
.incbin "data/trade/unk_826995C.bin"
gUnknown_8269A5C:: @ 8269A5C
.incbin "data/trade/unk_8269A5C.bin"
gUnknown_826AA5C:: @ 826AA5C
.incbin "data/trade/unk_826AA5C.bin"
.align 2
gUnknown_3379A0Bin:: @ 826BA5C
.incbin "graphics/trade/unknown_3379A0.bin.lz"
gUnknown_826BB5C:: @ 826BB5C
.incbin "data/trade/unk_826BB5C.gbapal"
gUnknown_826BD5C:: @ 826BD5C
.incbin "data/trade/unk_826BD5C.gbapal"
gUnknown_826BF5C:: @ 826BF5C
.incbin "data/trade/unk_826BF5C.gbapal"
gWirelessSignal4bpp:: @ 826BF7C
.incbin "graphics/trade/wireless_signal.4bpp.lz"
gUnknown_826C60C:: @ 826C60C
.incbin "data/trade/unk_826C60C.bin.lz"
gOamData_826CD00::
.4byte 0x40000100, 0x00000000
gAnimCmd_826CD08::
obj_image_anim_frame 0x00, 3
obj_image_anim_frame 0x04, 3
obj_image_anim_frame 0x08, 3
obj_image_anim_frame 0x0c, 3
obj_image_anim_frame 0x10, 3
obj_image_anim_frame 0x14, 3
obj_image_anim_frame 0x18, 3
obj_image_anim_frame 0x1c, 3
obj_image_anim_frame 0x20, 3
obj_image_anim_frame 0x24, 3
obj_image_anim_frame 0x28, 3
obj_image_anim_frame 0x2c, 3
obj_image_anim_loop 1
obj_image_anim_frame 0x00, 3
obj_image_anim_end
gAnimCmd_826CD44::
obj_image_anim_frame 0x00, 3
obj_image_anim_frame 0x04, 3
obj_image_anim_frame 0x08, 3
obj_image_anim_frame 0x0c, 3
obj_image_anim_frame 0x10, 3
obj_image_anim_frame 0x14, 3
obj_image_anim_frame 0x18, 3
obj_image_anim_frame 0x1c, 3
obj_image_anim_frame 0x20, 3
obj_image_anim_frame 0x24, 3
obj_image_anim_frame 0x28, 3
obj_image_anim_frame 0x2c, 3
obj_image_anim_loop 2
obj_image_anim_frame 0x00, 3
obj_image_anim_end
gSpriteAnimTable_826CD80::
.4byte gAnimCmd_826CD08
.4byte gAnimCmd_826CD44
gAffineAnimCmd_826CD88::
obj_rot_scal_anim_frame 0x0000, 0x0000, 0x00, 0x01
obj_rot_scal_anim_end
gAffineAnimCmd_826CD98::
obj_rot_scal_anim_frame 0xfff8, 0x0000, 0x00, 0x14
obj_rot_scal_anim_end
gAffineAnimCmd_826CDA8::
obj_rot_scal_anim_frame 0x0060, 0x0100, 0x00, 0x00
obj_rot_scal_anim_frame 0x0000, 0x0000, 0x00, 0x05
obj_rot_scal_anim_frame 0x0008, 0x0000, 0x00, 0x14
obj_rot_scal_anim_end
gSpriteAffineAnimTable_826CDC8::
.4byte gAffineAnimCmd_826CD88
.4byte gAffineAnimCmd_826CD98
.4byte gAffineAnimCmd_826CDA8
gUnknown_826CDD4:: @ 826CDD4
obj_tiles gUnknown_826207C, 0x0600, 5557
gUnknown_826CDDC:: @ 826CDDC
obj_pal gUnknown_826205C, 5558
gUnknown_826CDE4:: @ 826CDE4
spr_template 5557, 5558, gOamData_826CD00, gSpriteAnimTable_826CD80, NULL, gSpriteAffineAnimTable_826CDC8, sub_80538BC
gOamData_826CDFC::
.4byte 0x80000500, 0x00000400
gAnimCmd_826CE04::
obj_image_anim_frame 0, 5, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_end
gSpriteAnimTable_826CE0C::
.4byte gAnimCmd_826CE04
gAffineAnimCmd_826CE10::
obj_rot_scal_anim_frame -10, -10, 0, 5
obj_rot_scal_anim_frame 10, 10, 0, 5
obj_rot_scal_anim_jump 0
gSpriteAffineAnimTable_826CE28::
.4byte gAffineAnimCmd_826CE10
gUnknown_826CE2C:: @ 826CE2C
obj_tiles gUnknown_8264A1C, 0x0200, 5550
gUnknown_826CE34:: @ 826CE34
obj_pal gUnknown_82649FC, 5551
gUnknown_826CE3C:: @ 826CE3C
obj_pal gUnknown_826499C, 5555
gUnknown_826CE44:: @ 826CE44
spr_template 5550, 5551, gOamData_826CDFC, gSpriteAnimTable_826CE0C, NULL, gSpriteAffineAnimTable_826CE28, sub_804FD24
gOamData_826CE5C::
.4byte 0x80008000, 0x00000400
gAnimCmd_826CE64::
obj_image_anim_frame 0, 5, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_end
gAnimCmd_826CE6C::
obj_image_anim_frame 8, 5, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_end
gSpriteAnimTable_826CE74::
.4byte gAnimCmd_826CE64
.4byte gAnimCmd_826CE6C
gUnknown_826CE7C:: @ 826CE7C
obj_tiles gUnknown_8264C1C, 0x0300, 5552
gUnknown_826CE84:: @ 826CE84
spr_template 5552, 5551, gOamData_826CE5C, gSpriteAnimTable_826CE74, NULL, gDummySpriteAffineAnimTable, sub_804FD78
gOamData_826CE9C::
.4byte 0x80008000, 0x00000400
gAnimCmd_826CEA4::
obj_image_anim_frame 0, 10
obj_image_anim_end
gSpriteAnimTable_826CEAC::
.4byte gAnimCmd_826CEA4
gUnknown_826CEB0:: @ 826CEB0
obj_tiles gUnknown_8264E1C, 0x0100, 5554
gUnknown_826CEB8:: @ 826CEB8
spr_template 5554, 5555, gOamData_826CE9C, gSpriteAnimTable_826CEAC, NULL, gDummySpriteAffineAnimTable, sub_804FDB8
gOamData_826CED0::
.4byte 0xc0004000, 0x00000400
gAnimCmd_826CED8::
obj_image_anim_frame 0x00, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x20, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x40, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x60, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x40, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x20, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x00, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_loop 8
obj_image_anim_end
gAnimCmd_826CEFC::
obj_image_anim_frame 0x00, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x20, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x40, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x60, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x40, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x20, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_frame 0x00, 2, OBJ_IMAGE_ANIM_H_FLIP | OBJ_IMAGE_ANIM_V_FLIP
obj_image_anim_loop 2
obj_image_anim_end
gSpriteAnimTable_826CF20::
.4byte gAnimCmd_826CED8
gSpriteAnimTable_826CF24::
.4byte gAnimCmd_826CEFC
gUnknown_826CF28:: @ 826CF28
obj_tiles gUnknown_826501C, 0x1000, 5556
gUnknown_826CF30:: @ 826CF30
spr_template 5556, 5555, gOamData_826CED0, gSpriteAnimTable_826CF20, NULL, gDummySpriteAffineAnimTable, sub_804FE00
gUnknown_826CF48:: @ 826CF48
spr_template 5556, 5555, gOamData_826CED0, gSpriteAnimTable_826CF24, NULL, gDummySpriteAffineAnimTable, sub_804FE00
gUnknown_826CF60:: @ 826CF60
.2byte RGB(18, 24, 31)
.2byte RGB(18, 24, 31)
.2byte RGB(18, 24, 31)
.2byte RGB(31, 31, 31)
.2byte RGB(31, 31, 31)
.2byte RGB(31, 31, 31)
.2byte RGB(18, 24, 31)
.2byte RGB(18, 24, 31)
.2byte RGB(18, 24, 31)
.2byte RGB(31, 31, 31)
.2byte RGB(31, 31, 31)
.2byte RGB(31, 31, 31)
gAffineAnimCmd_826CF78::
obj_rot_scal_anim_frame 0xFF00, 0x0100, 0x00, 0x00
obj_rot_scal_anim_jump 0
gUnknown_826CF88:: @ 826CF88
.4byte gAffineAnimCmd_826CF78
.include "data/ingame_trades.inc"
gUnknown_826D1BC:: @ 826D1BC
.byte 0, 2, 15, 26, 4, 0
.2byte 0x0040
@ {
@ .bg = 0,
@ .tilemapLeft = 2,
@ .tilemapTop = 15,
@ .width = 26,
@ .height = 4,
@ .paletteNum = 0,
@ .baseBlock = 0x0040
@ }
.byte 255, 0, 0, 0, 0, 0
.2byte 0x0000
@ {
@ .bg = 255,
@ .tilemapLeft = 0,
@ .tilemapTop = 0,
@ .width = 0,
@ .height = 0,
@ .paletteNum = 0,
@ .baseBlock = 0x0000
@ }
gUnknown_826D1CC:: @ 826D1CC
.byte 0, 21, 9, 6, 4, 15
.2byte 0x00bc
@ {
@ .bg = 0,
@ .tilemapLeft = 21,
@ .tilemapTop = 9,
@ .width = 6,
@ .height = 4,
@ .paletteNum = 15,
@ .baseBlock = 0x00bc
@ }
gUnknown_826D1D4:: @ 826D1D4
.4byte 0x000001fc
@ {
@ .bg = 0,
@ .charBaseIndex = 3,
@ .mapBaseIndex = 31,
@ .screenSize = 0,
@ .paletteMode = 0,
@ .priority = 0,
@ .baseTile = 0x0000
@ }
.4byte 0x00002051
@ {
@ .bg = 1,
@ .charBaseIndex = 0,
@ .mapBaseIndex = 5,
@ .screenSize = 0,
@ .paletteMode = 0,
@ .priority = 2,
@ .baseTile = 0x0000
@ }
.4byte 0x00002326
@ {
@ .bg = 2,
@ .charBaseIndex = 1,
@ .mapBaseIndex = 18,
@ .screenSize = 1,
@ .paletteMode = 0,
@ .priority = 2,
@ .baseTile = 0x0000
@ }
.4byte 0x00003063
@ {
@ .bg = 3,
@ .charBaseIndex = 0,
@ .mapBaseIndex = 6,
@ .screenSize = 0,
@ .paletteMode = 0,
@ .priority = 3,
@ .baseTile = 0x0000
@ }
gUnknown_826D1E4:: @ 826D1E4
.byte 0x00
.byte 0x00
.byte 0x01
.byte 0x00
.byte 0x01
.byte 0x00
.byte 0x01
.byte 0x01
.byte 0x01
.byte 0x01
.byte 0x02
.byte 0x02
.byte 0x02
.byte 0x02
.byte 0x03
.byte 0x03
.byte 0x03
.byte 0x03
.byte 0x04
.byte 0x04
.byte 0x04
.byte 0x04
.byte 0xfc
.byte 0xfc
.byte 0xfc
.byte 0xfd
.byte 0xfd
.byte 0xfd
.byte 0xfd
.byte 0xfe
.byte 0xfe
.byte 0xfe
.byte 0xfe
.byte 0xff
.byte 0xff
.byte 0xff
.byte 0xff
.byte 0x00
.byte 0xff
.byte 0x00
.byte 0xff
.byte 0x00
.byte 0x00
.byte 0x00
.incbin "baserom.gba", 0x26D210, 0x40
gUnknown_826D250:: @ 826D250
.byte 0x00, 0x01
.byte 0x01, 0x01
.byte 0x02, 0x01
.byte 0x03, 0x01
.byte 0x04, 0x01
.byte 0x05, 0x02
.byte 0x06, 0x02
.byte 0x07, 0x02
.byte 0x08, 0x02
.byte 0x09, 0x02
.byte 0x0a, 0x03
.byte 0x0b, 0x03
.byte 0x0c, 0x03
.byte 0x0d, 0x04
.byte 0x0e, 0x05
.byte 0x0f, 0x02
.byte 0x00, 0x01
.byte 0x01, 0x01
.byte 0x02, 0x01
.byte 0x03, 0x01
.byte 0x04, 0x01
.byte 0x05, 0x02
.byte 0x06, 0x02
.byte 0x07, 0x02
.byte 0x08, 0x02
.byte 0x09, 0x02
.byte 0x0a, 0x03
.byte 0x0b, 0x03
.byte 0x0c, 0x03
.byte 0x0d, 0x04
.byte 0x0e, 0x05
.byte 0x10, 0x01
.byte 0x10, 0xff
.align 2, 0
|