pokeemerald/data/field_screen.s

493 lines
14 KiB
ArmAsm
Raw Normal View History

.include "asm/macros.inc"
.include "constants/constants.inc"
2017-09-25 22:09:44 +02:00
.section .rodata
2017-09-25 22:09:44 +02:00
.align 2
2017-09-27 07:51:09 +02:00
gUnknown_0854014C:: @ 854014C
.incbin "graphics/misc/sunny_day/0.gbapal"
.incbin "graphics/misc/sunny_day/1.gbapal"
.incbin "graphics/misc/sunny_day/2.gbapal"
.incbin "graphics/misc/sunny_day/3.gbapal"
.incbin "graphics/misc/sunny_day/4.gbapal"
.incbin "graphics/misc/sunny_day/5.gbapal"
.incbin "graphics/misc/sunny_day/6.gbapal"
.incbin "graphics/misc/sunny_day/7.gbapal"
.incbin "graphics/misc/sunny_day/8.gbapal"
.incbin "graphics/misc/sunny_day/9.gbapal"
.incbin "graphics/misc/sunny_day/10.gbapal"
.incbin "graphics/misc/sunny_day/11.gbapal"
.incbin "graphics/misc/sunny_day/12.gbapal"
.incbin "graphics/misc/sunny_day/13.gbapal"
.incbin "graphics/misc/sunny_day/14.gbapal"
.incbin "graphics/misc/sunny_day/15.gbapal"
.incbin "graphics/misc/sunny_day/16.gbapal"
.incbin "graphics/misc/sunny_day/17.gbapal"
.incbin "graphics/misc/sunny_day/18.gbapal"
.incbin "graphics/misc/sunny_day/19.gbapal"
.incbin "graphics/misc/sunny_day/20.gbapal"
.incbin "graphics/misc/sunny_day/21.gbapal"
.incbin "graphics/misc/sunny_day/22.gbapal"
.incbin "graphics/misc/sunny_day/23.gbapal"
.incbin "graphics/misc/sunny_day/24.gbapal"
.incbin "graphics/misc/sunny_day/25.gbapal"
.incbin "graphics/misc/sunny_day/26.gbapal"
.incbin "graphics/misc/sunny_day/27.gbapal"
.incbin "graphics/misc/sunny_day/28.gbapal"
.incbin "graphics/misc/sunny_day/29.gbapal"
.incbin "graphics/misc/sunny_day/30.gbapal"
.incbin "graphics/misc/sunny_day/31.gbapal"
.incbin "graphics/misc/sunny_day/32.gbapal"
.incbin "graphics/misc/sunny_day/33.gbapal"
.incbin "graphics/misc/sunny_day/34.gbapal"
.incbin "graphics/misc/sunny_day/35.gbapal"
.incbin "graphics/misc/sunny_day/36.gbapal"
.incbin "graphics/misc/sunny_day/37.gbapal"
.incbin "graphics/misc/sunny_day/38.gbapal"
.incbin "graphics/misc/sunny_day/39.gbapal"
.incbin "graphics/misc/sunny_day/40.gbapal"
.incbin "graphics/misc/sunny_day/41.gbapal"
.incbin "graphics/misc/sunny_day/42.gbapal"
.incbin "graphics/misc/sunny_day/43.gbapal"
.incbin "graphics/misc/sunny_day/44.gbapal"
.incbin "graphics/misc/sunny_day/45.gbapal"
.incbin "graphics/misc/sunny_day/46.gbapal"
.incbin "graphics/misc/sunny_day/47.gbapal"
.incbin "graphics/misc/sunny_day/48.gbapal"
.incbin "graphics/misc/sunny_day/49.gbapal"
.incbin "graphics/misc/sunny_day/50.gbapal"
.incbin "graphics/misc/sunny_day/51.gbapal"
.incbin "graphics/misc/sunny_day/52.gbapal"
.incbin "graphics/misc/sunny_day/53.gbapal"
.incbin "graphics/misc/sunny_day/54.gbapal"
.incbin "graphics/misc/sunny_day/55.gbapal"
.incbin "graphics/misc/sunny_day/56.gbapal"
.incbin "graphics/misc/sunny_day/57.gbapal"
.incbin "graphics/misc/sunny_day/58.gbapal"
.incbin "graphics/misc/sunny_day/59.gbapal"
.incbin "graphics/misc/sunny_day/60.gbapal"
.incbin "graphics/misc/sunny_day/61.gbapal"
.incbin "graphics/misc/sunny_day/62.gbapal"
.incbin "graphics/misc/sunny_day/63.gbapal"
.incbin "graphics/misc/sunny_day/64.gbapal"
.incbin "graphics/misc/sunny_day/65.gbapal"
.incbin "graphics/misc/sunny_day/66.gbapal"
.incbin "graphics/misc/sunny_day/67.gbapal"
.incbin "graphics/misc/sunny_day/68.gbapal"
.incbin "graphics/misc/sunny_day/69.gbapal"
.incbin "graphics/misc/sunny_day/70.gbapal"
.incbin "graphics/misc/sunny_day/71.gbapal"
.incbin "graphics/misc/sunny_day/72.gbapal"
.incbin "graphics/misc/sunny_day/73.gbapal"
.incbin "graphics/misc/sunny_day/74.gbapal"
.incbin "graphics/misc/sunny_day/75.gbapal"
.incbin "graphics/misc/sunny_day/76.gbapal"
.incbin "graphics/misc/sunny_day/77.gbapal"
.incbin "graphics/misc/sunny_day/78.gbapal"
.incbin "graphics/misc/sunny_day/79.gbapal"
.incbin "graphics/misc/sunny_day/80.gbapal"
.incbin "graphics/misc/sunny_day/81.gbapal"
.incbin "graphics/misc/sunny_day/82.gbapal"
.incbin "graphics/misc/sunny_day/83.gbapal"
.incbin "graphics/misc/sunny_day/84.gbapal"
.incbin "graphics/misc/sunny_day/85.gbapal"
.incbin "graphics/misc/sunny_day/86.gbapal"
.incbin "graphics/misc/sunny_day/87.gbapal"
.incbin "graphics/misc/sunny_day/88.gbapal"
.incbin "graphics/misc/sunny_day/89.gbapal"
.incbin "graphics/misc/sunny_day/90.gbapal"
.incbin "graphics/misc/sunny_day/91.gbapal"
.incbin "graphics/misc/sunny_day/92.gbapal"
.incbin "graphics/misc/sunny_day/93.gbapal"
.incbin "graphics/misc/sunny_day/94.gbapal"
.incbin "graphics/misc/sunny_day/95.gbapal"
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854C14C:: @ 854C14C
.4byte gUnknown_02038454
2017-09-25 22:09:44 +02:00
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854C150:: @ 854C150
.4byte sub_80AB26C
.4byte nullsub_36
.4byte sub_80AB26C
.4byte sub_80AB290
.4byte sub_80AC438
.4byte sub_80AC4B4
.4byte sub_80AC484
.4byte sub_80AC514
.4byte sub_80AC55C
.4byte nullsub_95
.4byte sub_80AC580
.4byte sub_80AC590
.4byte sub_80AC928
.4byte sub_80AC9C4
.4byte sub_80AC994
.4byte sub_80ACA24
.4byte sub_80ACF8C
.4byte snowflakes_progress2
.4byte sub_80ACFDC
.4byte sub_80AD084
.4byte sub_80AD444
.4byte sub_80AD584
.4byte sub_80AD4B8
.4byte sub_80AD910
.4byte sub_80ADA60
.4byte sub_80ADAF0
.4byte sub_80ADAC0
.4byte sub_80ADBB0
.4byte sub_80ADDBC
.4byte sub_80ADE48
.4byte sub_80ADE18
.4byte sub_80ADEF4
.4byte sub_80AE45C
.4byte sub_80AE50C
.4byte sub_80AE4DC
.4byte sub_80AE588
.4byte sub_80AE0E4
.4byte sub_80AE198
.4byte sub_80AE168
.4byte sub_80AE1FC
.4byte sub_80ADA60
.4byte sub_80ADAF0
.4byte sub_80ADAC0
.4byte sub_80ADBB0
.4byte sub_80AE9F0
.4byte nullsub_96
.4byte sub_80AEA20
.4byte sub_80AEA30
.4byte sub_80AC6D0
.4byte sub_80AC734
.4byte sub_80AC704
.4byte sub_80AC818
.4byte sub_80AD4E8
.4byte sub_80AD584
.4byte sub_80AD554
.4byte sub_80AD910
.4byte sub_80AEA34
.4byte sub_80AEAB8
.4byte sub_80AEA88
.4byte sub_80AEB2C
2017-09-25 22:09:44 +02:00
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854C240:: @ 854C240
.4byte sub_80AB3A8
.4byte sub_80AB434
.4byte nullsub_94
.4byte nullsub_94
2017-09-25 22:09:44 +02:00
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854C250:: @ 854C250
.byte 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x02, 0x01, 0x02, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01
2017-09-25 22:09:44 +02:00
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854C270:: @ 854C270
.incbin "graphics/weather/0.gbapal"
2017-09-25 22:09:44 +02:00
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854C290:: @ 854C290
.incbin "graphics/weather/1.gbapal"
2017-09-25 22:09:44 +02:00
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854C2B0:: @ 854C2B0
.incbin "graphics/weather/2.gbapal"
.align 2
gWeatherFog2Tiles:: @ 854C2D0
.incbin "graphics/weather/fog2.4bpp"
.align 2
gWeatherFog1Tiles:: @ 854CAD0
.incbin "graphics/weather/fog1.4bpp"
.align 2
gWeatherCloudTiles:: @ 854D2D0
.incbin "graphics/weather/cloud.4bpp"
.align 2
gWeatherSnow1Tiles:: @ 854DAD0
.incbin "graphics/weather/snow0.4bpp"
.align 2
gWeatherSnow2Tiles:: @ 854DAF0
.incbin "graphics/weather/snow1.4bpp"
.align 2
gWeatherBubbleTiles:: @ 854DB10
.incbin "graphics/weather/bubble.4bpp"
.align 2
gWeatherAshTiles:: @ 854DB50
.incbin "graphics/weather/ash.4bpp"
.align 2
gWeatherRainTiles:: @ 854EB50
.incbin "graphics/weather/rain.4bpp"
2017-09-25 22:09:44 +02:00
.align 2
gWeatherSandstormTiles:: @ 854F150
.incbin "graphics/weather/sandstorm.4bpp"
2017-09-25 22:09:44 +02:00
.align 1
2017-09-25 22:09:44 +02:00
gUnknown_0854FB50:: @ 854FB50
.2byte 0x0000, 0x0042, 0x0005, 0x0049, 0x000a, 0x004e
2017-09-25 22:09:44 +02:00
.align 2
sCloudSpriteSheet:: @ 854FB5C
obj_tiles gWeatherCloudTiles, 0x0800, 0x1200
2017-09-25 22:09:44 +02:00
.align 2
gOamData_854FB64:: @ 854FB64
.2byte 0x0400, 0xc000, 0x0c00, 0x0000
2017-09-25 22:09:44 +02:00
.align 2
gSpriteAnim_854FB6C:: @ 854FB6C
.2byte 0x0000, 0x0010, 0xffff, 0x0000
.align 2
gSpriteAnimTable_854FB74:: @ 854FB74
.4byte gSpriteAnim_854FB6C
.align 2
sCloudSpriteTemplate:: @ 854FB78
spr_template 0x1200, 0x1201, gOamData_854FB64, gSpriteAnimTable_854FB74, NULL, gDummySpriteAffineAnimTable, sub_80AC6B4
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854FB90:: @ 854FB90
.2byte 0x0000, 0x0000, 0x0000, 0x00a0, 0x0000, 0x0040, 0x0090, 0x00e0, 0x0090, 0x0080, 0x0020, 0x0020, 0x0020, 0x00c0, 0x0020, 0x0060
.2byte 0x0048, 0x0080, 0x0048, 0x0020, 0x0048, 0x00c0, 0x00d8, 0x0060, 0x00d8, 0x0000, 0x0068, 0x00a0, 0x0068, 0x0040, 0x0068, 0x00e0
.2byte 0x0090, 0x0000, 0x0090, 0x00a0, 0x0090, 0x0040, 0x0020, 0x00e0, 0x0020, 0x0080, 0x0048, 0x0020, 0x0048, 0x00c0, 0x0030, 0x0060
.align 2
gOamData_854FBF0:: @ 854FBF0
.2byte 0x8000, 0x8000, 0x2400, 0x0000
.align 2
gSpriteAnim_854FBF8:: @ 854FBF8
.2byte 0x0000, 0x0010, 0xfffe, 0x0000
.align 2
gSpriteAnim_854FC00:: @ 854FC00
.2byte 0x0008, 0x0003, 0x0020, 0x0002, 0x0028, 0x0002, 0xffff, 0x0000
.align 2
gSpriteAnim_854FC10:: @ 854FC10
.2byte 0x0008, 0x0003, 0x0010, 0x0003, 0x0018, 0x0004, 0xffff, 0x0000
.align 2
gSpriteAnimTable_854FC20:: @ 854FC20
.4byte gSpriteAnim_854FBF8
.4byte gSpriteAnim_854FC00
.4byte gSpriteAnim_854FC10
2017-09-25 22:09:44 +02:00
.align 2
gSpriteTemplate_854FC2C:: @ 854FC2C
spr_template 0x1206, 0x1200, gOamData_854FBF0, gSpriteAnimTable_854FC20, NULL, gDummySpriteAffineAnimTable, sub_80ACB84
2017-09-25 22:09:44 +02:00
.align 1
2017-09-25 22:09:44 +02:00
gUnknown_0854FC44:: @ 854FC44
.2byte 0xff98, 0x00d0, 0xff60, 0x0140
2017-09-25 22:09:44 +02:00
.align 1
2017-09-25 22:09:44 +02:00
gUnknown_0854FC4C:: @ 854FC4C
.2byte 0x0012, 0x0007, 0x000c, 0x000a
2017-09-25 22:09:44 +02:00
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854FC54:: @ 854FC54
obj_tiles gWeatherRainTiles, 0x0600, 0x1206
2017-09-25 22:09:44 +02:00
.align 2
gOamData_854FC5C:: @ 854FC5C
.2byte 0x0000, 0x0000, 0x0400, 0x0000
.align 2
gUnknown_0854FC64:: @ 854FC64
obj_frame_tiles gWeatherSnow1Tiles, 0x0020
obj_frame_tiles gWeatherSnow2Tiles, 0x0020
.align 2
gSpriteAnim_854FC74:: @ 854FC74
.2byte 0x0000, 0x0010, 0xffff, 0x0000
2017-09-25 22:09:44 +02:00
.align 2
gSpriteAnim_854FC7C:: @ 854FC7C
.2byte 0x0001, 0x0010, 0xffff, 0x0000
2017-09-25 22:09:44 +02:00
.align 2
gSpriteAnimTable_854FC84:: @ 854FC84
.4byte gSpriteAnim_854FC74
.4byte gSpriteAnim_854FC7C
.align 2
gUnknown_0854FC8C:: @ 854FC8C
spr_template 0xffff, 0x1200, gOamData_854FC5C, gSpriteAnimTable_854FC84, gUnknown_0854FC64, gDummySpriteAffineAnimTable, sub_80AD30C
.align 2
gUnknown_0854FCA4:: @ 854FCA4
.2byte 0x0000, 0x0006, 0x0006, 0x000c, 0x0012, 0x002a, 0x012c, 0x012c
.align 2
gOamData_854FCB4:: @ 854FCB4
.2byte 0x0400, 0xc000, 0x0800, 0x0000
.align 2
gSpriteAnim_854FCBC:: @ 854FCBC
.2byte 0x0000, 0x0010, 0xffff, 0x0000
.align 2
gSpriteAnim_854FCC4:: @ 854FCC4
.2byte 0x0020, 0x0010, 0xffff, 0x0000
.align 2
gSpriteAnim_854FCCC:: @ 854FCCC
.2byte 0x0040, 0x0010, 0xffff, 0x0000
.align 2
gSpriteAnim_854FCD4:: @ 854FCD4
.2byte 0x0060, 0x0010, 0xffff, 0x0000
.align 2
gSpriteAnim_854FCDC:: @ 854FCDC
.2byte 0x0080, 0x0010, 0xffff, 0x0000
.align 2
gSpriteAnim_854FCE4:: @ 854FCE4
.2byte 0x00a0, 0x0010, 0xffff, 0x0000
.align 2
gSpriteAnimTable_854FCEC:: @ 854FCEC
.4byte gSpriteAnim_854FCBC
.4byte gSpriteAnim_854FCC4
.4byte gSpriteAnim_854FCCC
.4byte gSpriteAnim_854FCD4
.4byte gSpriteAnim_854FCDC
.4byte gSpriteAnim_854FCE4
.align 2
gSpriteAffineAnim_854FD04:: @ 854FD04
.2byte 0x0200, 0x0200, 0x0000, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
.align 2
gSpriteAffineAnimTable_854FD14:: @ 854FD14
.4byte gSpriteAffineAnim_854FD04
.align 2
gSpriteTemplate_854FD18:: @ 854FD18
spr_template 0x1201, 0x1200, gOamData_854FCB4, gSpriteAnimTable_854FCEC, NULL, gSpriteAffineAnimTable_854FD14, sub_80ADC4C
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854FD30:: @ 854FD30
obj_tiles gWeatherFog1Tiles, 0x0800, 0x1201
2017-09-25 22:09:44 +02:00
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854FD38:: @ 854FD38
obj_tiles gWeatherAshTiles, 0x1000, 0x1202
2017-09-25 22:09:44 +02:00
.align 2
gOamData_854FD40:: @ 854FD40
.2byte 0x0400, 0xc000, 0xf400, 0x0000
2017-09-25 22:09:44 +02:00
.align 2
gSpriteAnim_854FD48:: @ 854FD48
.2byte 0x0000, 0x003c, 0x0040, 0x003c, 0xfffe, 0x0000
.align 2
gSpriteAnimTable_854FD54:: @ 854FD54
.4byte gSpriteAnim_854FD48
.align 2
gSpriteTemplate_854FD58:: @ 854FD58
spr_template 0x1202, 0x1200, gOamData_854FD40, gSpriteAnimTable_854FD54, NULL, gDummySpriteAffineAnimTable, sub_80AE068
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854FD70:: @ 854FD70
obj_tiles gWeatherFog2Tiles, 0x0800, 0x1203
.align 2
gOamData_854FD78:: @ 854FD78
.2byte 0x0400, 0xc000, 0x0800, 0x0000
2017-09-25 22:09:44 +02:00
.align 2
gSpriteAnim_854FD80:: @ 854FD80
.2byte 0x0000, 0x0010, 0xffff, 0x0000
2017-09-25 22:09:44 +02:00
.align 2
gSpriteAnimTable_854FD88:: @ 854FD88
.4byte gSpriteAnim_854FD80
2017-09-25 22:09:44 +02:00
.align 2
gSpriteTemplate_854FD8C:: @ 854FD8C
spr_template 0x1203, 0x1200, gOamData_854FD78, gSpriteAnimTable_854FD88, NULL, gDummySpriteAffineAnimTable, sub_80AE3FC
.align 2
gOamData_854FDA4:: @ 854FDA4
.2byte 0x0400, 0xc000, 0x0400, 0x0000
.align 2
gSpriteAnim_854FDAC:: @ 854FDAC
.2byte 0x0000, 0x0003, 0xffff, 0x0000
.align 2
gSpriteAnim_854FDB4:: @ 854FDB4
.2byte 0x0040, 0x0003, 0xffff, 0x0000
.align 2
gSpriteAnimTable_854FDBC:: @ 854FDBC
.4byte gSpriteAnim_854FDAC
.4byte gSpriteAnim_854FDB4
.align 2
gSpriteTemplate_854FDC4:: @ 854FDC4
spr_template 0x1204, 0x1201, gOamData_854FDA4, gSpriteAnimTable_854FDBC, NULL, gDummySpriteAffineAnimTable, sub_80AE8F8
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854FDDC:: @ 854FDDC
obj_tiles gWeatherSandstormTiles, 0x0a00, 0x1204
2017-09-25 22:09:44 +02:00
.align 1
2017-09-25 22:09:44 +02:00
gUnknown_0854FDE4:: @ 854FDE4
.2byte 0x0000, 0x0078, 0x0050, 0x00a0, 0x0028, 0x0000
2017-09-25 22:09:44 +02:00
gUnknown_0854FDF0:: @ 854FDF0
.byte 0x28, 0x5a, 0x3c, 0x5a, 0x02, 0x3c, 0x28, 0x1e
2017-09-25 22:09:44 +02:00
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854FDF8:: @ 854FDF8
obj_tiles gWeatherBubbleTiles, 0x0040, 0x1205
2017-09-25 22:09:44 +02:00
.align 1
2017-09-25 22:09:44 +02:00
gUnknown_0854FE00:: @ 854FE00
.2byte 0x0078, 0x00a0, 0x0178, 0x00a0, 0x0028, 0x008c, 0x0128, 0x008c, 0x00b4, 0x0082, 0x01b4, 0x0082, 0x003c, 0x00a0, 0x01b4, 0x00a0
.2byte 0x00dc, 0x00b4, 0x01dc, 0x00b4, 0x000a, 0x005a, 0x010a, 0x005a, 0x0100, 0x00a0
.align 2
gSpriteAnim_854FE34:: @ 854FE34
.2byte 0x0000, 0x0010, 0x0001, 0x0010, 0xffff, 0x0000
.align 2
gSpriteAnimTable_854FE40:: @ 854FE40
.4byte gSpriteAnim_854FE34
2017-09-25 22:09:44 +02:00
.align 2
gSpriteTemplate_854FE44:: @ 854FE44
spr_template 0x1205, 0x1200, gUnknown_08524904, gSpriteAnimTable_854FE40, NULL, gDummySpriteAffineAnimTable, sub_80AEC34
2017-09-25 22:09:44 +02:00
gUnknown_0854FE5C:: @ 854FE5C
.byte 0x02, 0x03, 0x05, 0x03
2017-09-25 22:09:44 +02:00
gUnknown_0854FE60:: @ 854FE60
.byte 0x02, 0x02, 0x03, 0x02
2017-09-25 22:09:44 +02:00
.align 1
2017-09-25 22:09:44 +02:00
gUnknown_0854FE64:: @ 854FE64
.2byte 0x00c8, 0x0048, 0x0040, 0x0038, 0x0030, 0x0028, 0x0020, 0x0018, 0x0000, 0x0000
2017-09-25 22:09:44 +02:00
.align 2
2018-02-12 18:26:26 +01:00
gMaxFlashLevel:: @ 854FE78
.4byte 0x00000008
2017-09-25 22:09:44 +02:00
.align 2
2017-09-25 22:09:44 +02:00
gUnknown_0854FE7C:: @ 854FE7C
.4byte 0x04000040, 0xa2600001, 0x00000001
2017-11-07 19:59:33 +01:00