	.include "src/gpu_regs.o"

	.space 0x4

	.include "src/dma3_manager.o"

	.space 0x4

	.include "src/bg.o"
	.include "src/malloc.o"
	.include "src/text_printer.o"
	.include "src/sprite.o"

	.align 2
gUnknown_3000E08: @ 3000E08
	.space 0x10

gUnknown_3000E18: @ 3000E18
	.space 0x30

gUnknown_3000E48: @ 3000E48
	.space 0x4

gUnknown_3000E4C: @ 3000E4C
	.space 0x4

gUnknown_3000E50: @ 3000E50
	.space 0x4

gUnknown_3000E54: @ 3000E54
	.space 0x4

gUnknown_3000E58: @ 3000E58
	.space 0x4

gUnknown_3000E5C: @ 3000E5C
	.space 0x4

gUnknown_3000E60: @ 3000E60
	.space 0x4

gUnknown_3000E64: @ 3000E64
	.space 0x1

gUnknown_3000E65: @ 3000E65
	.space 0x1

gUnknown_3000E66: @ 3000E66
	.space 0x2

gUnknown_3000E68: @ 3000E68
	.space 0x2

gUnknown_3000E6A: @ 3000E6A
	.space 0x1

gUnknown_3000E6B: @ 3000E6B
	.space 0x1

gUnknown_3000E6C: @ 3000E6C
	.space 0x8

gUnknown_3000E74: @ 3000E74
	.space 0x4

gUnknown_3000E78: @ 3000E78
	.space 0x4

gUnknown_3000E7C: @ 3000E7C
	.space 0x4

gUnknown_3000E80: @ 3000E80
	.space 0x4

gUnknown_3000E84: @ 3000E84
	.space 0x4

gUnknown_3000E88: @ 3000E88
	.space 0x1

gUnknown_3000E89: @ 3000E89
	.space 0x7

gUnknown_3000E90: @ 3000E90
	.space 0x8

gUnknown_3000E98: @ 3000E98
	.space 0x2

gUnknown_3000E9A: @ 3000E9A
	.space 0x2

gUnknown_3000E9C: @ 3000E9C
	.space 0x4

gUnknown_3000EA0: @ 3000EA0
	.space 0x8

	.include "src/script.o"

	.align 2
gUnknown_3000FA4: @ 3000FA4
	.space 0x4

gUnknown_3000FA8: @ 3000FA8
	.space 0x1

gUnknown_3000FA9: @ 3000FA9
	.space 0x3

gUnknown_3000FAC: @ 3000FAC
	.space 0x2

sPrimaryTilesetCBCounter: @ 3000FAE
	.space 0x2

sPrimaryTilesetCBBufferSize: @ 3000FB0
	.space 0x2

sSecondaryTilesetCBCounter: @ 3000FB2
	.space 0x2

sSecondaryTilesetCBBufferSize: @ 3000FB4
	.space 0x4

sPrimaryTilesetCB: @ 3000FB8
	.space 0x4

sSecondaryTilesetCB: @ 3000FBC
	.space 0x4

	.include "src/sound.o"

	.align 2
gUnknown_3000FC8: @ 3000FC8
	.space 0x20

gUnknown_3000FE8: @ 3000FE8
	.space 0x184

gUnknown_300116C: @ 300116C
	.space 0x4

gUnknown_3001170: @ 3001170
	.space 0x4

gUnknown_3001174: @ 3001174
	.space 0x4

gUnknown_3001178: @ 3001178
	.space 0x4

gUnknown_300117C: @ 300117C
	.space 0x4

gUnknown_3001180: @ 3001180
	.space 0x4

gUnknown_3001184: @ 3001184
	.space 0x4

gUnknown_3001188: @ 3001188
	.space 0x8

gUnknown_3001190: @ 3001190
	.space 0xE68

gUnknown_3001FF8: @ 3001FF8
	.space 0x10

gUnknown_3002008: @ 3002008
	.space 0x10

gUnknown_3002018: @ 3002018
	.space 0x4

    .include "src/quest_log.o"

    .align 2
gUnknown_3002024: @ 3002024
	.space 0x4

gUnknown_3002028: @ 3002028
	.space 0x4

gUnknown_300202C: @ 300202C
	.space 0x4

gUnknown_3002030: @ 3002030
	.space 0x8

gUnknown_3002038: @ 3002038
	.space 0x8

gUnknown_3002040: @ 3002040
	.space 0x4

gUnknown_3002044: @ 3002044
	.space 0x4

gUnknown_3002048: @ 3002048
	.space 0x18

gUnknown_3002060: @ 3002060
	.space 0x2

gUnknown_3002062: @ 3002062
	.space 0x2

gUnknown_3002064: @ 3002064
	.space 0x2

gUnknown_3002066: @ 3002066
	.space 0x2

gUnknown_3002068: @ 3002068
	.space 0x4

gUnknown_300206C: @ 300206C
	.space 0x2

gUnknown_300206E: @ 300206E
	.space 0x2

gUnknown_3002070: @ 3002070
	.space 0x2

gUnknown_3002072: @ 3002072
	.space 0x2

gUnknown_3002074: @ 3002074
	.space 0x4

gUnknown_3002078: @ 3002078
	.space 0x4

gUnknown_300207C: @ 300207C
	.space 0x4

gUnknown_3002080: @ 3002080
	.space 0x8

	.include "asm/m4a_1.o"
	.include "src/agb_flash.o"

	.space 0x4 @ This isn't needed for Ruby/Sapphire or Emerald.

	.include "*libgcc.a:dp-bit.o"
	.include "*libgcc.a:fp-bit.o"
	.include "*libc.a:syscalls.o"
