-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpokemon_storage_system.s
786 lines (647 loc) · 18.1 KB
/
pokemon_storage_system.s
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
.include "asm/macros.inc"
.include "constants/constants.inc"
.section .rodata
.align 2
gUnknown_083B600C:: @ 83B600C
.4byte PCText_WithdrawPoke, PCText_MovePokeToParty
.4byte PCText_DepositPoke, PCText_StorePokeInBox
.4byte PCText_MovePoke, PCText_OrganizeBoxesParty
.4byte PCText_SeeYa, PCText_ReturnToPrevMenu
.align 2
gSpriteAnim_83B602C:: @ 83B602C
obj_image_anim_frame 0, 5
obj_image_anim_end
.align 2
gSpriteAnim_83B6034:: @ 83B6034
obj_image_anim_frame 4, 5
obj_image_anim_end
.align 2
gSpriteAnim_83B603C:: @ 83B603C
obj_image_anim_frame 6, 5
obj_image_anim_end
.align 2
gSpriteAnim_83B6044:: @ 83B6044
obj_image_anim_frame 10, 5
obj_image_anim_end
.align 2
gSpriteAnimTable_83B604C:: @ 83B604C
.4byte gSpriteAnim_83B602C
.4byte gSpriteAnim_83B6034
.4byte gSpriteAnim_83B603C
.4byte gSpriteAnim_83B6044
.align 2
gSpriteAffineAnim_83B605C:: @ 83B605C
obj_rot_scal_anim_frame 0xE0, 0xE0, 0, 0
obj_rot_scal_anim_end
.align 2
gSpriteAffineAnimTable_83B606C:: @ 83B606C
.4byte gSpriteAffineAnim_83B605C
.align 2
gBoxSelectionPopupPalette:: @ 83B6070
.incbin "graphics/pokemon_storage/box_selection_popup.gbapal"
.align 2
gBoxSelectionPopupCenterTiles:: @ 83B6090
.incbin "graphics/pokemon_storage/box_selection_popup_center.4bpp"
.align 2
gBoxSelectionPopupSidesTiles:: @ 83B6890
.incbin "graphics/pokemon_storage/box_selection_popup_sides.4bpp"
.align 2
gPokemonStorageScrollingBGPalette:: @ 83B6A10
.incbin "graphics/pokemon_storage/scrolling_bg.gbapal"
.align 2
gPokemonStorageScrollingBGTile:: @ 83B6A30
.incbin "graphics/pokemon_storage/scrolling_bg.4bpp"
.align 2
gPokemonStorageScrollingBGTilemap:: @ 83B6A50
.incbin "graphics/pokemon_storage/scrolling_bg_map.bin.lz"
@ unused tilemap?
.2byte 0x1281
.2byte 0x1282
.2byte 0x1283
.2byte 0x1284
.2byte 0x1285
.2byte 0x1286
.2byte 0x1287
.2byte 0x1288
.2byte 0x128C
.2byte 0x128D
.2byte 0x128E
.2byte 0x128F
.2byte 0x1290
.2byte 0x1291
.2byte 0x1292
.2byte 0x1293
.2byte 0x0281
.2byte 0x0282
.2byte 0x0283
.2byte 0x0284
.2byte 0x0285
.2byte 0x0286
.2byte 0x0287
.2byte 0x0288
.2byte 0x028C
.2byte 0x028D
.2byte 0x028E
.2byte 0x028F
.2byte 0x0290
.2byte 0x0291
.2byte 0x0292
.2byte 0x0293
.2byte 0x12AD
.2byte 0x12AE
.2byte 0x12A8
.2byte 0x12A8
.align 2
WaveformPalette: @ 83B6B94
.incbin "graphics/pokemon_storage/waveform.gbapal"
.align 2
WaveformTiles: @ 83B6BB4
.incbin "graphics/pokemon_storage/waveform.4bpp"
.align 2
gUnknown_083B6D74:: @ 83B6D74
.incbin "graphics/pokemon_storage/83B6D74.gbapal"
.align 2
gUnknown_083B6D94:: @ 83B6D94
.incbin "graphics/pokemon_storage/83B6D94.gbapal"
.align 2
gUnknown_083B6DB4:: @ 83B6DB4
.4byte gSharedMem
.align 2
gUnknown_083B6DB8:: @ 83B6DB8
.4byte gTileBuffer
.align 2
gWaveformSpritePalette:: @ 83B6DBC
obj_pal WaveformPalette, 56013
.align 2
gWaveformSpriteSheet:: @ 83B6DC4
obj_tiles WaveformTiles, 0x1C0, 5
.align 2
gUnknown_083B6DCC:: @ 83B6DCC
obj_tiles gSharedMem + 0x2784, 0x800, 2
.align 2
gUnknown_083B6DD4:: @ 83B6DD4
obj_pal gSharedMem + 0x2704, 56007
.align 2
gSpriteTemplate_83B6DDC:: @ 83B6DDC
spr_template 2, 56007, gOamData_83B6EAC, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
.align 2
gUnknown_083B6DF4:: @ 83B6DF4
.4byte PCText_ExitBox, 0
.4byte PCText_WhatYouDo, 0
.4byte PCText_PickATheme, 0
.4byte PCText_PickAWallpaper, 0
.4byte PCText_IsSelected, 1
.4byte PCText_JumpToWhichBox, 0
.4byte PCText_DepositInWhichBox, 0
.4byte PCText_WasDeposited, 1
.4byte PCText_BoxIsFull, 0
.4byte PCText_ReleasePoke, 0
.4byte PCText_WasReleased, 4
.4byte PCText_ByeBye, 6
.4byte PCText_MarkPoke, 0
.4byte PCText_LastPoke, 0
.4byte PCText_PartyFull, 0
.4byte PCText_HoldingPoke, 0
.4byte PCText_WhichOneWillTake, 0
.4byte PCText_CantReleaseEgg, 0
.4byte PCText_ContinueBox, 0
.4byte PCText_CameBack, 1
.4byte PCText_Worried, 0
.4byte PCText_Surprise, 0
.4byte PCText_PleaseRemoveMail, 0
.align 2
gOamData_83B6EAC:: @ 83B6EAC
.2byte 0x0000
.2byte 0xC000
.2byte 0x0000
.align 2
gOamData_83B6EB4:: @ 83B6EB4
.2byte 0x4000
.2byte 0x0000
.2byte 0x0000
.align 2
gSpriteAnim_83B6EBC:: @ 83B6EBC
obj_image_anim_frame 0, 5
obj_image_anim_end
.align 2
gSpriteAnim_83B6EC4:: @ 83B6EC4
obj_image_anim_frame 2, 8
obj_image_anim_frame 4, 8
obj_image_anim_frame 6, 8
obj_image_anim_jump 0
.align 2
gSpriteAnim_83B6ED4:: @ 83B6ED4
obj_image_anim_frame 8, 5
obj_image_anim_end
.align 2
gSpriteAnim_83B6EDC:: @ 83B6EDC
obj_image_anim_frame 10, 8
obj_image_anim_frame 4, 8
obj_image_anim_frame 12, 8
obj_image_anim_jump 0
.align 2
gSpriteAnimTable_83B6EEC:: @ 83B6EEC
.4byte gSpriteAnim_83B6EBC
.4byte gSpriteAnim_83B6EC4
.4byte gSpriteAnim_83B6ED4
.4byte gSpriteAnim_83B6EDC
.align 2
gSpriteTemplate_83B6EFC:: @ 83B6EFC
spr_template 5, 56013, gOamData_83B6EB4, gSpriteAnimTable_83B6EEC, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
.align 2
gSpriteTemplate_83B6F14:: @ 83B6F14
spr_template 15, 56000, gOamData_83B6F2C, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
.align 2
gOamData_83B6F2C:: @ 83B6F2C
.2byte 0x0000
.2byte 0x8000
.2byte 0x0000
.align 2
gSpriteAffineAnim_83B6F34:: @ 83B6F34
obj_rot_scal_anim_frame 0xFFFE, 0xFFFE, 0, 120
obj_rot_scal_anim_end
.align 2
gSpriteAffineAnim_83B6F44:: @ 83B6F44
obj_rot_scal_anim_frame 0x10, 0x10, 0, 0
obj_rot_scal_anim_frame 0x10, 0x10, 0, 15
obj_rot_scal_anim_end
.align 2
gSpriteAffineAnimTable_83B6F5C:: @ 83B6F5C
.4byte gSpriteAffineAnim_83B6F34
.4byte gSpriteAffineAnim_83B6F44
.align 2
gWallpaperPalettes_Forest: @ 83B6F64
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/forest_frame.gbapal"
.incbin "graphics/pokemon_storage/forest_bg.gbapal"
.align 2
gWallpaperTiles_Forest: @ 83B6FC4
.incbin "graphics/pokemon_storage/forest.4bpp.lz"
.align 2
gWallpaperTilemap_Forest: @ 83B7394
.incbin "graphics/pokemon_storage/forest.bin.lz"
.align 2
gWallpaperPalettes_City: @ 83B7470
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/city_frame.gbapal"
.incbin "graphics/pokemon_storage/city_bg.gbapal"
.align 2
gWallpaperTiles_City: @ 83B74D0
.incbin "graphics/pokemon_storage/city.4bpp.lz"
.align 2
gWallpaperTilemap_City: @ 83B76D8
.incbin "graphics/pokemon_storage/city.bin.lz"
.align 2
gWallpaperPalettes_Desert: @ 83B7788
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/desert_frame.gbapal"
.incbin "graphics/pokemon_storage/desert_bg.gbapal"
.align 2
gWallpaperTiles_Desert: @ 83B77E8
.incbin "graphics/pokemon_storage/desert.4bpp.lz"
.align 2
gWallpaperTilemap_Desert: @ 83B7AD4
.incbin "graphics/pokemon_storage/desert.bin.lz"
.align 2
gWallpaperPalettes_Savanna: @ 83B7BB8
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/savanna_frame.gbapal"
.incbin "graphics/pokemon_storage/savanna_bg.gbapal"
.align 2
gWallpaperTiles_Savanna: @ 83B7C18
.incbin "graphics/pokemon_storage/savanna.4bpp.lz"
.align 2
gWallpaperTilemap_Savanna: @ 83B7E38
.incbin "graphics/pokemon_storage/savanna.bin.lz"
.align 2
gWallpaperPalettes_Crag: @ 83B7F04
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/crag_frame.gbapal"
.incbin "graphics/pokemon_storage/crag_bg.gbapal"
.align 2
gWallpaperTiles_Crag: @ 83B7F64
.incbin "graphics/pokemon_storage/crag.4bpp.lz"
.align 2
gWallpaperTilemap_Crag: @ 83B82B4
.incbin "graphics/pokemon_storage/crag.bin.lz"
.align 2
gWallpaperPalettes_Volcano: @ 83B838C
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/volcano_frame.gbapal"
.incbin "graphics/pokemon_storage/volcano_bg.gbapal"
.align 2
gWallpaperTiles_Volcano: @ 83B83EC
.incbin "graphics/pokemon_storage/volcano.4bpp.lz"
.space 4
.align 2
gWallpaperTilemap_Volcano: @ 83B8720
.incbin "graphics/pokemon_storage/volcano.bin.lz"
.align 2
gWallpaperPalettes_Snow: @ 83B87F8
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/snow_frame.gbapal"
.incbin "graphics/pokemon_storage/snow_bg.gbapal"
.align 2
gWallpaperTiles_Snow: @ 83B8858
.incbin "graphics/pokemon_storage/snow.4bpp.lz"
.align 2
gWallpaperTilemap_Snow: @ 83B8B10
.incbin "graphics/pokemon_storage/snow.bin.lz"
.align 2
gWallpaperPalettes_Cave: @ 83B8BDC
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/cave_frame.gbapal"
.incbin "graphics/pokemon_storage/cave_bg.gbapal"
.align 2
gWallpaperTiles_Cave: @ 83B8C3C
.incbin "graphics/pokemon_storage/cave.4bpp.lz"
.align 2
gWallpaperTilemap_Cave: @ 83B8F80
.incbin "graphics/pokemon_storage/cave.bin.lz"
.align 2
gWallpaperPalettes_Beach: @ 83B905C
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/beach_frame.gbapal"
.incbin "graphics/pokemon_storage/beach_bg.gbapal"
.align 2
gWallpaperTiles_Beach: @ 83B90BC
.incbin "graphics/pokemon_storage/beach.4bpp.lz"
.align 2
gWallpaperTilemap_Beach: @ 83B9440
.incbin "graphics/pokemon_storage/beach.bin.lz"
.align 2
gWallpaperPalettes_Seafloor: @ 83B9528
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/seafloor_frame.gbapal"
.incbin "graphics/pokemon_storage/seafloor_bg.gbapal"
.align 2
gWallpaperTiles_Seafloor: @ 83B9588
.incbin "graphics/pokemon_storage/seafloor.4bpp.lz"
.align 2
gWallpaperTilemap_Seafloor: @ 83B983C
.incbin "graphics/pokemon_storage/seafloor.bin.lz"
.align 2
gWallpaperPalettes_River: @ 83B9918
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/river_frame.gbapal"
.incbin "graphics/pokemon_storage/river_bg.gbapal"
.align 2
gWallpaperTiles_River: @ 83B9978
.incbin "graphics/pokemon_storage/river.4bpp.lz"
.align 2
gWallpaperTilemap_River: @ 83B9C0C
.incbin "graphics/pokemon_storage/river.bin.lz"
.align 2
gWallpaperPalettes_Sky: @ 83B9CF8
.incbin "graphics/pokemon_storage/box_bg1.gbapal"
.incbin "graphics/pokemon_storage/sky_frame.gbapal"
.incbin "graphics/pokemon_storage/sky_bg.gbapal"
.align 2
gWallpaperTiles_Sky: @ 83B9D58
.incbin "graphics/pokemon_storage/sky.4bpp.lz"
.align 2
gWallpaperTilemap_Sky: @ 83B9FF0
.incbin "graphics/pokemon_storage/sky.bin.lz"
.align 2
gWallpaperPalettes_Polkadot: @ 83BA0D0
.incbin "graphics/pokemon_storage/box_bg2.gbapal"
.incbin "graphics/pokemon_storage/polkadot_frame.gbapal"
.incbin "graphics/pokemon_storage/polkadot_bg.gbapal"
.align 2
gWallpaperTiles_Polkadot: @ 83BA130
.incbin "graphics/pokemon_storage/polkadot.4bpp.lz"
.align 2
gWallpaperTilemap_Polkadot: @ 83BA32C
.incbin "graphics/pokemon_storage/polkadot.bin.lz"
.align 2
gWallpaperPalettes_Pokecenter: @ 83BA3E4
.incbin "graphics/pokemon_storage/box_bg2.gbapal"
.incbin "graphics/pokemon_storage/pokecenter_frame.gbapal"
.incbin "graphics/pokemon_storage/pokecenter_bg.gbapal"
.align 2
gWallpaperTiles_Pokecenter: @ 83BA444
.incbin "graphics/pokemon_storage/pokecenter.4bpp.lz"
.align 2
gWallpaperTilemap_Pokecenter: @ 83BA7E8
.incbin "graphics/pokemon_storage/pokecenter.bin.lz"
.align 2
gWallpaperPalettes_Machine: @ 83BA8FC
.incbin "graphics/pokemon_storage/box_bg3.gbapal"
.incbin "graphics/pokemon_storage/machine_frame.gbapal"
.incbin "graphics/pokemon_storage/machine_bg.gbapal"
.align 2
gWallpaperTiles_Machine: @ 83BA95C
.incbin "graphics/pokemon_storage/machine.4bpp.lz"
.align 2
gWallpaperTilemap_Machine: @ 83BAC4C
.incbin "graphics/pokemon_storage/machine.bin.lz"
.align 2
gWallpaperPalettes_Plain: @ 83BAD18
.incbin "graphics/pokemon_storage/box_bg4.gbapal"
.incbin "graphics/pokemon_storage/plain_frame.gbapal"
.incbin "graphics/pokemon_storage/plain_bg.gbapal"
.align 2
gWallpaperTiles_Plain: @ 83BAD78
.incbin "graphics/pokemon_storage/plain.4bpp.lz"
.align 2
gWallpaperTilemap_Plain: @ 83BAE74
.incbin "graphics/pokemon_storage/plain.bin.lz"
@ 12×18 tilemap
.incbin "graphics/unused/tilemap_3BAEF8.bin"
.align 1
gUnknown_083BB0A8:: @ 83BB0A8
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.2byte 0x1CE7, 0x7FFF
.align 2
gWallpaperTable:: @ 83BB0E8
@ Forest
.4byte gWallpaperTiles_Forest
.4byte 0x3D0
.4byte gWallpaperTilemap_Forest
.4byte gWallpaperPalettes_Forest
@ City
.4byte gWallpaperTiles_City
.4byte 0x208
.4byte gWallpaperTilemap_City
.4byte gWallpaperPalettes_City
@ Desert
.4byte gWallpaperTiles_Desert
.4byte 0x2EC
.4byte gWallpaperTilemap_Desert
.4byte gWallpaperPalettes_Desert
@ Savanna
.4byte gWallpaperTiles_Savanna
.4byte 0x220
.4byte gWallpaperTilemap_Savanna
.4byte gWallpaperPalettes_Savanna
@ Crag
.4byte gWallpaperTiles_Crag
.4byte 0x350
.4byte gWallpaperTilemap_Crag
.4byte gWallpaperPalettes_Crag
@ Volcano
.4byte gWallpaperTiles_Volcano
.4byte 0x334
.4byte gWallpaperTilemap_Volcano
.4byte gWallpaperPalettes_Volcano
@ Snow
.4byte gWallpaperTiles_Snow
.4byte 0x2B8
.4byte gWallpaperTilemap_Snow
.4byte gWallpaperPalettes_Snow
@ Cave
.4byte gWallpaperTiles_Cave
.4byte 0x344
.4byte gWallpaperTilemap_Cave
.4byte gWallpaperPalettes_Cave
@ Beach
.4byte gWallpaperTiles_Beach
.4byte 0x384
.4byte gWallpaperTilemap_Beach
.4byte gWallpaperPalettes_Beach
@ Seafloor
.4byte gWallpaperTiles_Seafloor
.4byte 0x2B4
.4byte gWallpaperTilemap_Seafloor
.4byte gWallpaperPalettes_Seafloor
@ River
.4byte gWallpaperTiles_River
.4byte 0x294
.4byte gWallpaperTilemap_River
.4byte gWallpaperPalettes_River
@ Sky
.4byte gWallpaperTiles_Sky
.4byte 0x298
.4byte gWallpaperTilemap_Sky
.4byte gWallpaperPalettes_Sky
@ Polkadot
.4byte gWallpaperTiles_Polkadot
.4byte 0x1FC
.4byte gWallpaperTilemap_Polkadot
.4byte gWallpaperPalettes_Polkadot
@ Pokecenter
.4byte gWallpaperTiles_Pokecenter
.4byte 0x3A4
.4byte gWallpaperTilemap_Pokecenter
.4byte gWallpaperPalettes_Pokecenter
@ Machine
.4byte gWallpaperTiles_Machine
.4byte 0x2F0
.4byte gWallpaperTilemap_Machine
.4byte gWallpaperPalettes_Machine
@ Plain
.4byte gWallpaperTiles_Plain
.4byte 0xFC
.4byte gWallpaperTilemap_Plain
.4byte gWallpaperPalettes_Plain
PCPal_Arrow:
.incbin "graphics/pokemon_storage/arrow.gbapal"
PCGfx_Arrow:
.incbin "graphics/pokemon_storage/arrow.4bpp"
.align 2
gUnknown_083BB288:: @ 83BB288
obj_tiles PCGfx_Arrow, 128, 0x0006
.align 2
gUnknown_083BB290:: @ 83BB290
obj_pal PCPal_Arrow, 0xDACF
.align 2
gOamData_83BB298:: @ 83BB298
.2byte 0x4000
.2byte 0x8000
.2byte 0x0800
.align 2
gSpriteAnim_83BB2A0:: @ 83BB2A0
obj_image_anim_frame 0, 5
obj_image_anim_end
.align 2
gSpriteAnim_83BB2A8:: @ 83BB2A8
obj_image_anim_frame 8, 5
obj_image_anim_end
.align 2
gSpriteAnimTable_83BB2B0:: @ 83BB2B0
.4byte gSpriteAnim_83BB2A0
.4byte gSpriteAnim_83BB2A8
.align 2
gSpriteTemplate_83BB2B8:: @ 83BB2B8
spr_template 3, 56008, gOamData_83BB298, gSpriteAnimTable_83BB2B0, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
.align 2
gOamData_83BB2D0:: @ 83BB2D0
.2byte 0x8000
.2byte 0x0000
.2byte 0x0800
.align 2
gSpriteAnim_83BB2D8:: @ 83BB2D8
obj_image_anim_frame 0, 5
obj_image_anim_end
.align 2
gSpriteAnim_83BB2E0:: @ 83BB2E0
obj_image_anim_frame 2, 5
obj_image_anim_end
.align 2
gSpriteAnimTable_83BB2E8:: @ 83BB2E8
.4byte gSpriteAnim_83BB2D8
.4byte gSpriteAnim_83BB2E0
.align 2
gSpriteTemplate_83BB2F0:: @ 83BB2F0
spr_template 6, 56015, gOamData_83BB2D0, gSpriteAnimTable_83BB2E8, NULL, gDummySpriteAffineAnimTable, sub_809A8C8
.align 2
HandCursorPalette: @ 83BB308
.incbin "graphics/pokemon_storage/hand_cursor_pal.bin"
.align 2
HandCursorAltPalette: @ 83BB328
.incbin "graphics/pokemon_storage/hand_cursor_alt_pal.bin"
.align 2
HandCursorTiles: @ 83BB348
.incbin "graphics/pokemon_storage/hand_cursor.4bpp"
.align 2
HandCursorShadowTiles: @ 83BBB48
.incbin "graphics/pokemon_storage/hand_cursor_shadow.4bpp"
.align 2
gUnknown_083BBBC8:: @ 83BBBC8
.4byte sub_809B150
.4byte sub_809B1D8
.4byte sub_809B24C
.align 2
gUnknown_083BBBD4:: @ 83BBBD4
.4byte sub_809C464, 0
.4byte sub_809C664, 1
.4byte sub_809C85C, 2
.4byte sub_809C944, 3
.4byte NULL, 0
.align 2
gHandCursorSpriteSheets:: @ 83BBBFC
obj_tiles HandCursorTiles, 0x800, 0
obj_tiles HandCursorShadowTiles, 0x80, 1
null_obj_tiles
.align 2
gHandCursorSpritePalettes:: @ 83BBC14
obj_pal HandCursorPalette, 56006
obj_pal HandCursorAltPalette, 56017
null_obj_pal
.align 2
gOamData_83BBC2C:: @ 83BBC2C
.2byte 0x0000
.2byte 0x8000
.2byte 0x0400
.align 2
gOamData_83BBC34:: @ 83BBC34
.2byte 0x0000
.2byte 0x4000
.2byte 0x0800
.align 2
gSpriteAnim_83BBC3C:: @ 83BBC3C
obj_image_anim_frame 0, 30
obj_image_anim_frame 16, 30
obj_image_anim_jump 0
.align 2
gSpriteAnim_83BBC48:: @ 83BBC48
obj_image_anim_frame 0, 5
obj_image_anim_end
.align 2
gSpriteAnim_83BBC50:: @ 83BBC50
obj_image_anim_frame 32, 5
obj_image_anim_end
.align 2
gSpriteAnim_83BBC58:: @ 83BBC58
obj_image_anim_frame 48, 5
obj_image_anim_end
.align 2
gSpriteAnimTable_83BBC60:: @ 83BBC60
.4byte gSpriteAnim_83BBC3C
.4byte gSpriteAnim_83BBC48
.4byte gSpriteAnim_83BBC50
.4byte gSpriteAnim_83BBC58
.align 2
gSpriteTemplate_83BBC70:: @ 83BBC70
spr_template 0, 56006, gOamData_83BBC2C, gSpriteAnimTable_83BBC60, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
.align 2
gSpriteTemplate_83BBC88:: @ 83BBC88
spr_template 1, 56006, gOamData_83BBC34, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, sub_809CB74
.align 2
gUnknown_083BBCA0:: @ 83BBCA0
.4byte PCText_Cancel2
.4byte PCText_Deposit
.4byte PCText_Withdraw
.4byte PCText_Move
.4byte PCText_Switch
.4byte PCText_Place
.4byte PCText_Summary
.4byte PCText_Release
.4byte PCText_Mark
.4byte PCText_Jump
.4byte PCText_Wallpaper
.4byte PCText_Name
.4byte PCText_Scenery1
.4byte PCText_Scenery2
.4byte PCText_Scenery3
.4byte PCText_Etc
.4byte PCText_Forest
.4byte PCText_City
.4byte PCText_Desert
.4byte PCText_Savanna
.4byte PCText_Crag
.4byte PCText_Volcano
.4byte PCText_Snow
.4byte PCText_Cave
.4byte PCText_Beach
.4byte PCText_Seafloor
.4byte PCText_River
.4byte PCText_Sky
.4byte PCText_Polka
.4byte PCText_PokeCenter
.4byte PCText_Machine
.4byte PCText_Plain