pokeemerald/data/union_room_chat.s
2019-03-24 13:15:37 -05:00

304 lines
8.3 KiB
ArmAsm
Executable File

.include "asm/macros.inc"
.include "constants/constants.inc"
.section .rodata
.align 2
gUnknown_082F2A7C:: @ 82F2A7C
.4byte sub_801DFAC
.4byte sub_801E030
.4byte sub_801E120
.4byte sub_801E240
.4byte sub_801E764
.4byte sub_801E838
.4byte sub_801E460
.4byte sub_801E5C4
.4byte sub_801E668
.4byte sub_801E978
.align 2
gUnknown_082F2AA4:: @ 82F2AA4
.byte 0x09, 0x09, 0x09, 0x09
.align 2
gUnknown_082F2AA8:: @ 82F2AA8
.byte 0x00, 0x16, 0x17, 0x68, 0x19, 0x1a, 0x1b, 0x1c
.byte 0x1d, 0x1e, 0x00, 0x20, 0x21, 0x22, 0x23, 0x24
.byte 0x25, 0x26, 0x27, 0x28, 0x29, 0x15, 0x01, 0x02
.byte 0x00, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x00
.byte 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12
.byte 0x13, 0x14, 0x2a, 0x2b, 0x2c, 0x2d, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x35, 0x36, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x53, 0x54, 0x55, 0x56, 0x00
.byte 0x00, 0x00, 0x6f, 0x5b, 0x5c, 0x5d, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5a
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x84, 0x85, 0x86, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7
.byte 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf
.byte 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7
.byte 0xb8, 0xb9, 0xba, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9
.byte 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0xe0, 0xe1
.byte 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9
.byte 0xea, 0xeb, 0xec, 0xed, 0xee, 0xbb, 0xbc, 0xbd
.byte 0xbe, 0xbf, 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5
.byte 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd
.byte 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xef
.byte 0xf0, 0xf4, 0xf5, 0xf6, 0xf1, 0xf2, 0xf3, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.align 2
gUnknown_082F2BA8:: @ 82F2BA8
.4byte gUnknown_0862B9F9
.4byte gUnknown_0862B9FF
.4byte gUnknown_0862BA05
.4byte gUnknown_0862BA0B
.4byte gUnknown_0862BA11
.4byte gUnknown_0862BA17
.4byte gUnknown_0862BA1D
.4byte gUnknown_0862BA23
.4byte gUnknown_0862BA29
.4byte gUnknown_0862BA2F
.4byte gUnknown_0862BA35
.4byte gUnknown_0862BA3B
.4byte gUnknown_0862BA41
.4byte gUnknown_0862BA47
.4byte gUnknown_0862BA4D
.4byte gUnknown_0862BA53
.4byte gUnknown_0862BA59
.4byte gUnknown_0862BA5F
.4byte gUnknown_0862BA65
.4byte gUnknown_0862BA6B
.4byte gUnknown_0862BA79
.4byte gUnknown_0862BA84
.4byte gUnknown_0862BA8F
.4byte gUnknown_0862BA9A
.4byte gUnknown_0862BAA3
.4byte gUnknown_0862BAAE
.4byte gUnknown_0862BAB9
.4byte gUnknown_0862BAC4
.4byte gUnknown_0862BACF
.4byte gUnknown_0862BADA
.align 2
gUnknown_082F2C20:: @ 82F2C20
.incbin "graphics/interface/unk_palette1.gbapal"
.align 2
gUnknown_082F2C40:: @ 82F2C40
.incbin "graphics/interface/unk_palette2.gbapal"
.align 2
gUnknown_082F2C60:: @ 82F2C60 struct BgTemplate
.4byte 0x00000070, 0x000011fd, 0x0000217a, 0x000070f7
.align 2
gUnknown_082F2C70:: @ 82F2C70
window_template 0x03, 0x08, 0x01, 0x15, 0x13, 0x0f, 0x0001
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
null_window_template
.align 2
gUnknown_082F2C98:: @ 82F2C98
.4byte 0x00000000, sub_801F658
.4byte 0x00000003, sub_801F6F8
.4byte 0x00000004, sub_801F730
.4byte 0x00000005, sub_801F768
.4byte 0x00000001, sub_801F7D4
.4byte 0x00000006, sub_801F7E0
.4byte 0x00000007, sub_801F82C
.4byte 0x00000008, sub_801F870
.4byte 0x00000009, sub_801F8DC
.4byte 0x0000000a, sub_801F984
.4byte 0x0000000b, sub_801FA2C
.4byte 0x0000000c, sub_801FA68
.4byte 0x00000002, sub_801FB44
.4byte 0x0000000d, sub_801FB70
.4byte 0x00000012, sub_801FBB4
.4byte 0x00000013, sub_801FBF8
.4byte 0x0000000e, sub_801FC4C
.4byte 0x0000000f, sub_801FC9C
.4byte 0x00000010, sub_801FCEC
.4byte 0x00000011, sub_801FD30
.4byte 0x00000014, sub_801FD88
.align 2
gUnknown_082F2D40:: @ 82F2D40
.4byte gText_QuitChatting
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
.4byte gText_RegisterTextWhere
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
.4byte gText_RegisterTextHere
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
.4byte gText_InputText
.byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
.4byte gText_ExitingChat
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
.4byte gText_LeaderLeftEndingChat
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00
.4byte gText_RegisteredTextChanged
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
.4byte gText_AlreadySavedFile_Unused
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
.4byte gText_SavingDontTurnOff_Unused
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
.4byte gText_PlayerSavedGame_Unused
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00
.4byte gText_IfLeaderLeavesChatEnds
.byte 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00
.align 2
gText_Ellipsis:: @ 82F2DC4
.string "$"
.align 2
gUnknown_082F2DC8:: @ 82F2DC8
.4byte gText_Upper, 0x00000000
.4byte gText_Lower, 0x00000000
.4byte gText_Symbols, 0x00000000
.4byte gText_Register2, 0x00000000
.4byte gText_Exit2, 0x00000000
.align 2
gUnknown_082F2DF0:: @ 82F2DF0
.incbin "graphics/interface/unk_palette3.gbapal"
.align 2
gUnknown_082F2E10:: @ 82F2E10
.incbin "graphics/interface/unk_cursor.4bpp.lz"
.align 2
gUnknown_082F3094:: @ 82F3094
.incbin "graphics/interface/unk_dash.4bpp.lz"
.align 2
gUnknown_082F30B4:: @ 82F30B4
.incbin "graphics/interface/unk_cursor_arrow.4bpp.lz"
.align 2
gUnknown_082F30E0:: @ 82F30E0
.incbin "graphics/interface/unk_rbutton.4bpp.lz"
.align 2
gUnknown_082F3134:: @ 82F3134
.4byte gUnknown_082F2E10
.2byte 0x1000, 0x0000
.4byte gUnknown_082F30B4
.2byte 0x0040, 0x0001
.4byte gUnknown_082F3094
.2byte 0x0040, 0x0002
.4byte gUnknown_082F30E0
.2byte 0x0080, 0x0003
.4byte gUnknown_08DD4CF8
.2byte 0x0400, 0x0004
.align 2
gUnknown_082F315C:: @ 82F315C struct SpritePalette
.4byte gUnknown_082F2DF0
.2byte 0x0000
.align 2
gUnknown_082F3164:: @ 82F3164
.2byte 0x4000, 0xc000, 0x0400, 0x0000
.align 2
gUnknown_082F316C:: @ 82F316C
.2byte 0x0000, 0x001e, 0xffff, 0x0000
.align 2
gUnknown_082F3174:: @ 82F3174
.2byte 0x0020, 0x001e, 0xffff, 0x0000
.align 2
gUnknown_082F317C:: @ 82F317C
.2byte 0x0040, 0x001e, 0xffff, 0x0000
.align 2
gUnknown_082F3184:: @ 82F3184
.2byte 0x0060, 0x001e, 0xffff, 0x0000
gUnknown_082F318C:: @ 82F318C
.4byte gUnknown_082F316C
.4byte gUnknown_082F3174
.4byte gUnknown_082F317C
.4byte gUnknown_082F3184
.align 2
gUnknown_082F319C:: @ 82F319C
spr_template 0x0000, 0x0000, gUnknown_082F3164, gUnknown_082F318C, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
.align 2
gUnknown_082F31B4:: @ 82F31B4
.byte 0x00, 0x80, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00
.align 2
gUnknown_082F31BC:: @ 82F31BC
spr_template 0x0002, 0x0000, gUnknown_082F31B4, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, sub_8020ABC
.align 2
gUnknown_082F31D4:: @ 82F31D4
spr_template 0x0001, 0x0000, gUnknown_082F31B4, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, sub_8020AF4
.align 2
gUnknown_082F31EC:: @ 82F31EC
.byte 0x00, 0x00, 0x00, 0x40, 0x00, 0x08, 0x00, 0x00
.align 2
gUnknown_082F31F4:: @ 82F31F4
.byte 0x00, 0x40, 0x00, 0x80, 0x00, 0x08, 0x00, 0x00
.align 2
gUnknown_082F31FC:: @ 82F31FC
.2byte 0x0000, 0x0002, 0xffff, 0x0000
.align 2
gUnknown_082F3204:: @ 82F3204
.2byte 0x0008, 0x0002, 0xffff, 0x0000
.align 2
gUnknown_082F320C:: @ 82F320C
.2byte 0x0010, 0x0002, 0xffff, 0x0000
.align 2
gUnknown_082F3214:: @ 82F3214
.2byte 0x0018, 0x0002, 0xffff, 0x0000
.align 2
gUnknown_082F321C:: @ 82F321C
.4byte gUnknown_082F31FC
.4byte gUnknown_082F3204
.4byte gUnknown_082F320C
.4byte gUnknown_082F3214
.align 2
gUnknown_082F322C:: @ 82F322C
spr_template 0x0003, 0x0000, gUnknown_082F31EC, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
.align 2
gUnknown_082F3244:: @ 82F3244
spr_template 0x0004, 0x0000, gUnknown_082F31F4, gUnknown_082F321C, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy