-
Notifications
You must be signed in to change notification settings - Fork 46
/
sym_ewram.txt
470 lines (402 loc) · 13.7 KB
/
sym_ewram.txt
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
.include "src/m4a.o"
gTitleBrightness: /* 2000A80 (GameLoop) */
.space 0x8
gScriptVarBuffer: /* 2000A88 (ThoroughlyResetScriptVars - RestoreGlobalScriptVars) */
.space 0x400
.include "src/memory.o"
gMainHeapFreeList: /* 2000ED0 (InitHeapInternal) */
.space 0x300
gMainHeap: /* 20011D0 (InitHeapInternal) */
.space 0x24000
.include "src/bg_palette_buffer.o"
.include "src/input.o"
.include "src/sprite.o"
gUnknown_2026E38: /* 2026E38 (sub_80057E8 - VBlank_CB) */
.space 0x4
gUnknown_2026E3C: /* 2026E3C (sub_80057E8 - VBlank_CB) */
.space 0x4
gUnknown_2026E40: /* 2026E40 (sub_8005838) */
.space 0x4
gUnknown_2026E44: /* 2026E44 (sub_8005838) */
.space 0x4
gUnknown_2026E48: /* 2026E48 (sub_8005838) */
.space 0x4
gUnknown_2026E4C: /* 2026E4C (sub_80057E8 - sub_8005838) */
.space 0x2
gUnknown_2026E4E: /* 2026E4E (GameLoop - GroundWeather_Select) */
.space 0x2
gUnknown_2026E50: /* 2026E50 (sub_80057E8 - sub_80060EC) */
.space 0x4
gUnknown_2026E54: /* 2026E54 (sub_80057E8 - sub_80060EC) */
.space 0x4
gUnknown_2026E58: /* 2026E58 (sub_80057E8 - sub_80060EC) */
.space 0x8
gUnknown_2026E60: /* 2026E60 (sub_8005838) */
.space 0x288
gUnknown_20270E8: /* 20270E8 (sub_8005838) */
.space 0x288
gUnknown_2027370: /* 2027370 (LoadCharmaps - sub_8272A78) */
.space 0x48
gUnknown_20273B8: /* 20273B8 (sub_80157D8) */
.space 0xD8
gCharmaps: /* 2027490 (LoadCharmaps - GetCharacter) */
.space 0x8
gCharacterSpacing: /* 2027498 (LoadCharmaps - xxx_draw_string) */
.space 0x2
gUnknown_202749A: /* 202749A (HandleTextFormat - DrawFieldMenu) */
.space 0xB
gUnknown_20274A5: /* 20274A5 (LoadCharmaps - sub_803F9CC) */
.space 0x1
gUnknown_20274A6: /* 20274A6 (HandleTextFormat) */
.space 0x6
gCurrentCharmap: /* 20274AC (LoadCharmaps - xxx_draw_string) */
.space 0x4
gUnknown_20274B0: /* 20274B0 (UpdateFadeInTile - SetCharacterMask) */
.space 0x4
gUnknown_20274B4: /* 20274B4 (SaveUnkTextStructAndXXX_8006438) */
.space 0x3B00
gCharmapFiles: /* 202AFB4 (LoadCharmaps) */
.space 0xC
gUnknown_202AFC0: /* 202AFC0 (SaveUnkTextStructAndXXX_8006438 - RestoreUnkTextStruct_8006518) */
.space 0x60
gUnknown_202B020: /* 202B020 (LoadCharmaps - sub_80095CC) */
.space 0x4
gUnknown_202B024: /* 202B024 (LoadCharmaps - sub_80095CC) */
.space 0x4
gCharHeight: /* 202B028 (LoadCharmaps - xxx_draw_char) */
.space 0x8
gTextShadowMask: /* 202B030 (LoadCharmaps - sub_80078E8) */
.space 0x4
gDrawTextShadow: /* 202B034 (LoadCharmaps - xxx_draw_char) */
.space 0x4
gUnknown_202B038: /* 202B038 (LoadTitleScreen - sub_80A2B40) */
.space 0x1000
gFontTiles_202C038: /* 202C038 (sub_8010858 - sub_804A728) */
.space 0x800
gFontTilesExtra_202C838: /* 202C838 (sub_8010858 - sub_804A49C) */
.space 0x720
gUnknown_202CF58: /* 202CF58 (xxx_format_string) */
.space 0xE0
gFontPalette: /* 202D038 (sub_80097B0 - sub_8052FB8) */
.space 0x4
gUnknown_202D03C: /* 202D03C (sub_8040238) */
.space 0x1C
gUnknown_202D058: /* 202D058 (sub_803E250 - sub_803EA10) */
.space 0x10
gUnknown_202D068: /* 202D068 (sub_803FB74) */
.space 0x4
gUnknown_202D06C: /* 202D06C (sub_803F38C) */
.space 0xC
gFontPaletteAlt: /* 202D078 (sub_8099690) */
.space 0x20
gUnknown_202D098: /* 202D098 (xxx_format_string) */
.space 0x120
gUnknown_202D1B8: /* 202D1B8 (sub_8099690) */
.space 0x40
gUnknown_202D1F8: /* 202D1F8 (sub_8099690) */
.space 0x40
gUnknown_202D238: /* 202D238 (sub_80098A0 - sub_8009908) */
.space 0x4
gUnknown_202D23C: /* 202D23C (sub_80098A0 - sub_8009908) */
.space 0x4
gUnknown_202D240: /* 202D240 (sub_80098BC - sub_8009908) */
.space 0x60
gUnknown_202D2A0: /* 202D2A0 (sub_8009A1C - sub_8009BE4) */
.space 0x4
.include "src/file_system.o"
.include "src/decompress.o"
.include "src/main.o"
.include "src/reg_control.o"
.include "src/music.o"
.space 0x3
.include "src/bg_control.o"
.space 0x140
gBldAlpha: /* 202D7FA (SetBldAlphaReg - VBlank_CB) */
.space 0x2
gBldCnt: /* 202D7FC (AgbMain - VBlank_CB) */
.space 0x2
gUnknown_202D7FE: /* 202D7FE (AgbMain - sub_800CD64) */
.space 0x2
.include "src/cpu.o"
.space 0x4
gUnknown_202D808: /* 202D808 (sub_800D2EC - sub_800D59C) */
.space 0x108
gUnknown_202D910: /* 202D910 (sub_800D224 - sub_800D68C) */
.space 0x4
gUnknown_202D914: /* 202D914 (sub_800D670) */
.space 0x20C
gUnknown_202DB20: /* 202DB20 (sub_800D2EC - sub_800D494) */
.space 0x10
gUnknown_202DB30: /* 202DB30 (sub_800D1E0 - sub_800D494) */
.space 0x20
gUnknown_202DB50: /* 202DB50 (sub_800D2EC - sub_800D494) */
.space 0x8
gUnknown_202DB58: /* 202DB58 (sub_800D224 - sub_800D494) */
.space 0x8
gUnknown_202DB60: /* 202DB60 (sub_800D1C0 - sub_800D494) */
.space 0x8
gUnknown_202DB68: /* 202DB68 (sub_800D33C - sub_800D588) */
.space 0x4
gUnknown_202DB6C: /* 202DB6C (sub_800D33C - sub_800D494) */
.space 0x4
gUnknown_202DB70: /* 202DB70 (sub_800D33C - sub_800D57C) */
.space 0x4
gUnknown_202DB74: /* 202DB74 (sub_800D224 - sub_800D600) */
.space 0x4
gUnknown_202DB78: /* 202DB78 (sub_800D6AC - sub_800D9B8) */
.space 0x40
gUnknown_202DBB8: /* 202DBB8 (sub_800D6AC / data_80B9BB8) */
.space 0x140
gUnknown_202DCF8: /* 202DCF8 (sub_80001E8 - sub_800D9B8) */
.space 0x120
gUnknown_202DE18: /* 202DE18 (sub_800F990 - sub_8010014) */
.space 0x1
gUnknown_202DE19: /* 202DE19 (sub_800F990 - sub_8010014) */
.space 0x3
.include "src/code_80118A4.o"
.space 0x2
.include "src/save.o"
.space 4
.include "src/string_format.o"
.space 4
gUnknown_202EC38: /* 202EC38 (sub_8037B28) */
.space 0x8
gUnknown_202EC40: /* 202EC40 (sub_8037A48 - sub_8037C10) */
.space 0x8
gUnknown_202EC48: /* 202EC48 (sub_8037D64) */
.space 0x4
.include "src/rescue_password_menu.o"
.space 0x2
gDungeonNameBannerPalette: /* 202EC88 (ShowDungeonNameBanner - xxx_dungeon_8042F6C) */
.space 0x4
gDungeonNameBannerFontFile: /* 202EC8C (ShowDungeonNameBanner - sub_803DEC8) */
.space 0x4
gDungeonNameBannerFont: /* 202EC90 (ShowDungeonNameBanner - sub_803DEC8) */
.space 0x4
gUnknown_202EC94: /* 202EC94 (sub_803DF60 - sub_803ECE0) */
.space 0x4
gUnknown_202EC98: /* 202EC98 (sub_803DF60 - sub_803E214) */
.space 0x4
gUnknown_202EC9C: /* 202EC9C (sub_803DF60 - sub_803EF90) */
.space 0x4
gUnknown_202ECA0: /* 202ECA0 (sub_803DF60 - sub_807E88C) */
.space 0x4
gUnknown_202ECA4: /* 202ECA4 (sub_803E02C - SetDungeonBGColorRGB) */
.space 0x84
gUnknown_202ED28: /* 202ED28 (sub_803E250 - sub_8083568) */
.space 0x8
gUnknown_202ED30: /* 202ED30 (sub_803E250) */
.space 0x88
gUnknown_202EDB8: /* 202EDB8 (sub_803E250) */
.space 0x8
gUnknown_202EDC0: /* 202EDC0 (sub_803E250 - sub_80462AC) */
.space 0x8
gDungeonBrightness: /* 202EDC8 (sub_803E250 - sub_8086794) */
.space 0x4
gUnknown_202EDCC: /* 202EDCC (sub_803E490 - sub_807D148) */
.space 0x4
gUnknown_202EDD0: /* 202EDD0 (sub_803E250 - sub_8052210) */
.space 0x4
gUnknown_202EDD4: /* 202EDD4 (sub_803E250 - sub_803E668) */
.space 0x4
gUnknown_202EDD8: /* 202EDD8 (sub_803ECE0) */
.space 0x4
gUnknown_202EDDC: /* 202EDDC (sub_803EDF0) */
.space 0xC
gUnknown_202EDE8: /* 202EDE8 (sub_803E250 - sub_803EDF0) */
.space 0x14
gUnknown_202EDFC: /* 202EDFC (sub_803F27C - sub_803F878) */
.space 0x4
gUnknown_202EE00: /* 202EE00 (sub_8040150 - sub_805D8C8) */
.space 0x1
gUnknown_202EE01: /* 202EE01 (sub_8040124 - PrintFieldMessage) */
.space 0x1
gUnknown_202EE02: /* 202EE02 (sub_8040894 - sub_8040A78) */
.space 0x2
gUnknown_202EE04: /* 202EE04 (sub_8040130 - sub_80402AC) */
.space 0x4
gUnknown_202EE08: /* 202EE08 (sub_8040150 - sub_8040788) */
.space 0x4
gUnknown_202EE0C: /* 202EE0C (sub_80694C0 - sub_806B8CC) */
.space 0x4
gUnknown_202EE10: /* 202EE10 (sub_803EC94 - sub_8083CE0) */
.space 0x28
gUnknown_202EE38: /* 202EE38 (sub_8063834) */
.space 0x1
gUnknown_202EE39: /* 202EE39 (sub_8060E38) */
.space 0x1
gUnknown_202EE3A: /* 202EE3A (sub_8060E38 - sub_8065DBC) */
.space 0xA
gUnknown_202EE44: /* 202EE44 (sub_8044EC8 - sub_80647F0) */
.space 0x28
gUnknown_202EE6C: /* 202EE6C (sub_8044F5C - sub_8067A80) */
.space 0x4
gUnknown_202EE70: /* 202EE70 (sub_804513C - sub_80828E0) */
.space 0x6
gUnknown_202EE76: /* 202EE76 (sub_804513C - sub_8082A08) */
.space 0x10
.include "src/dungeon_map_access.o"
gUnknown_202F1A8: /* 202F1A8 (sub_8043CE4 - sub_8051A74) */
.space 0x1
gUnknown_202F1A9: /* 202F1A9 (sub_804AFAC) */
.space 0x1
gUnknown_202F1AA: /* 202F1AA (sub_804AFAC - sub_804EEE4) */
.space 0x1
gUnknown_202F1AB: /* 202F1AB (sub_804AFAC - sub_804EEE4) */
.space 0x1
gUnknown_202F1AC: /* 202F1AC (sub_804AFAC - sub_804F278) */
.space 0x1
gUnknown_202F1AD: /* 202F1AD (sub_804AFAC - sub_804D154) */
.space 0x1
gUnknown_202F1AE: /* 202F1AE (sub_804AFAC - sub_804D084) */
.space 0x2
gUnknown_202F1B0: /* 202F1B0 (sub_804AFAC - sub_804C53C) */
.space 0x2
gUnknown_202F1B2: /* 202F1B2 (sub_804AFAC - sub_804C53C) */
.space 0x2
gUnknown_202F1B4: /* 202F1B4 (sub_804AFAC - sub_804FF08) */
.space 0x4
gUnknown_202F1B8: /* 202F1B8 (sub_804AFAC - sub_8051654) */
.space 0x10
gUnknown_202F1C8: /* 202F1C8 (sub_804AFAC - sub_804F694) */
.space 0x4
gUnknown_202F1CC: /* 202F1CC (sub_804D154) */
.space 0x4
gUnknown_202F1D0: /* 202F1D0 (sub_804AFAC) */
.space 0x4
gUnknown_202F1D4: /* 202F1D4 (sub_8050C30) */
.space 0x4
gUnknown_202F1D8: /* 202F1D8 (sub_804AFAC - sub_804EBC8) */
.space 0x4
gUnknown_202F1DC: /* 202F1DC (sub_80511F0 - sub_8051438) */
.space 0x4
gUnknown_202F1E0: /* 202F1E0 (sub_80511F0) */
.space 0x1
gUnknown_202F1E1: /* 202F1E1 (sub_80511F0 - sub_8051438) */
.space 0x7
.include "src/dungeon_message.o"
.include "src/dungeon_move.o"
.include "src/code_805D8C8_1.o"
gUnknown_202F268: /* 202F268 (sub_8062500) */
.space 0x8
gUnknown_202F270: /* 202F270 (sub_8060E38 - sub_8061A38) */
.space 0x8
gUnknown_202F278: /* 202F278 (sub_80639E4) */
.space 0x60
gUnknown_202F2D8: /* 202F2D8 (sub_8062F90 - sub_8064310) */
.space 0x8
gUnknown_202F2E0: /* 202F2E0 (sub_8064BE0 - sub_8065250) */
.space 0x8
gUnknown_202F2E8: /* 202F2E8 (sub_8064D74 - sub_8065B3C) */
.space 0x10
gUnknown_202F2F8: /* 202F2F8 (sub_8065FB4 - sub_8066358) */
.space 0x4
gUnknown_202F2FC: /* 202F2FC (sub_8065FB4 - sub_8066358) */
.space 0x4
gUnknown_202F300: /* 202F300 (sub_8066434) */
.space 0x8
gUnknown_202F308: /* 202F308 (sub_8067A80 - sub_806806C) */
.space 0x4
gUnknown_202F30C: /* 202F30C (sub_8067A80 - sub_8067A80) */
.space 0x4
gUnknown_202F310: /* 202F310 (sub_8067A80 - sub_8068310) */
.space 0x4
.include "src/dungeon_movement.o"
.include "src/code_80718D8.o"
gUnknown_202F32C: /* 202F32C (xxx_dungeon_8042F6C - sub_8072CF4) */
.space 0x1
gUnknown_202F32D: /* 202F32D (sub_8072CF4 - UseAttack) */
.space 0x3
.include "src/dungeon_ai_items.o"
gUnknown_202F378: /* 202F378 (sub_8074FB0 - UseAttack) */
.space 0x8
.include "src/dungeon_ai_attack.o"
gUnknown_202F3D0: /* 202F3D0 (sub_80867F4 - sub_8086854) */
.space 0x8
gUnknown_202F3D8: /* 202F3D8 (sub_8085B4C - sub_8085B80) */
.space 0x8
gMonsterParameters: /* 202F3E0 (LoadMonsterParameters - IsPokemonDialogueSpriteAvail) */
.space 0x4
gMonsterParametersFile: /* 202F3E4 (LoadMonsterParameters) */
.space 0x4
gShadowSprites: /* 202F3E8 (InitShadowSprites - AddShadowSprite) */
.space 0x18
gRecruitedPokemon: /* 202F400 [used everywhere tbh] */
.space 0x90E8
gLevelCurrentPokeId: /* 20384E8 (LoadMonsterParameters - GetPokemonLevelData) */
.space 0x8
gLevelCurrentData: /* 20384F0 (GetPokemonLevelData) */
.space 0x4B0
.include "src/items.o"
.include "src/rescue_team_info.o"
.space 0x4
.include "src/friend_area.o"
.include "src/moves.o"
.include "src/game_options.o"
.include "src/play_time.o"
.include "src/code_8094F88.o"
.space 0x4
.include "src/code_80958E8.o"
.space 0x4
.include "src/code_8097670.o"
.space 0x4
.include "src/exclusive_pokemon.o"
.space 0x4
.include "src/ground_main.o"
.space 0x2
gUnknown_20398C8: /* 20398C8 (sub_80991E0 - sub_8099220) */
.space 0x10
gUnknown_20398D8: /* 20398D8 (sub_809927C) */
.space 0x78
gUnknown_2039950: /* 2039950 (xxx_script_related_8098468 - sub_809927C) */
.space 0x8
gUnknown_2039958: /* 2039958 (sub_809977C - sub_8099BE4) */
.space 0x10
gUnknown_2039968: /* 2039968 (sub_809977C - sub_8099BE4) */
.space 0x10
gUnknown_2039978: /* 2039978 (sub_8099A5C - sub_8099E80) */
.space 0x8
gUnknown_2039980: /* 2039980 (sub_809977C - sub_80997F4) */
.space 0x10
gUnknown_2039990: /* 2039990 (sub_809977C - sub_8099BE4) */
.space 0x2
gUnknown_2039992: /* 2039992 (sub_809977C - sub_8099BE4) */
.space 0x6
gUnknown_2039998: /* 2039998 (sub_809977C - sub_8099E80) */
.space 0x44
gUnknown_20399DC: /* 20399DC (sub_809A560 - sub_809B614) */
.space 0x2
gUnknown_20399DE: /* 20399DE (sub_809A560 - sub_809B614) */
.space 0x2
gUnknown_20399E0: /* 20399E0 (sub_809CB50 - sub_809CCDC) */
.space 0x8
gUnknown_20399E8: /* 20399E8 (sub_809D0BC - sub_809D25C) */
.space 0x14
gUnknown_20399FC: /* 20399FC (sub_809D25C) */
.space 0x34
gCurrentMap: /* 2039A30 (sub_809D4B0 - ExecuteScriptCommand) */
.space 0x2
gUnknown_2039A32: /* 2039A32 (sub_809D4B0 - ExecuteScriptCommand) */
.space 0x2
gUnknown_2039A34: /* 2039A34 (sub_809D4B0 - ExecuteScriptCommand) */
.space 0x2
gAnyScriptLocked: /* 2039A36 (sub_809D4B0 - GroundScript_Unlock) */
.space 0x2
gScriptLocks: /* 2039A38 (sub_809D4B0 - GroundScript_Unlock) */
.space 0x88
gScriptLockConds: /* 2039AC0 (sub_809D4B0 - GroundScript_Unlock) */
.space 0x88
gUnlockBranchLabels: /* 2039B48 (sub_809D4B0 - HandleAction) */
.space 0x208
gChoices: /* 2039D50 (ExecuteScriptCommand) */
.space 0x48
gUnknown_2039D98: /* 2039D98 (HandleAction - sub_80A14E8) [seems to be storage for strings.. used for both Team Name and Player Name] */
.space 0xC
gUnknown_2039DA4: /* 2039DA4 (HandleAction) */
.space 0x4
gUnknown_2039DA8: /* 2039DA8 (sub_80A14E8) */
.space 0x8
.include "src/ground_sprite.o"
gUnknown_2039DD8: /* 2039DD8 (sub_80A6E80 - sub_80A7310) */
.space 0x8
.include "src/code_80A7714.o"