summaryrefslogtreecommitdiff
path: root/asm/FILE_1FB0200_shop_gra.narc.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm/FILE_1FB0200_shop_gra.narc.s')
-rw-r--r--asm/FILE_1FB0200_shop_gra.narc.s37
1 files changed, 36 insertions, 1 deletions
diff --git a/asm/FILE_1FB0200_shop_gra.narc.s b/asm/FILE_1FB0200_shop_gra.narc.s
index 7ba5a00c..46474c98 100644
--- a/asm/FILE_1FB0200_shop_gra.narc.s
+++ b/asm/FILE_1FB0200_shop_gra.narc.s
@@ -1,4 +1,39 @@
.include "asm/macros.inc"
.text
- .incbin "baserom.nds", 0x1FB0200, 0x2740
+ ; NARC header
+ .ascii "NARC"
+ .short 0xFFFE ; byte order
+ .short 0x0100 ; version
+ .word 0x00002740 ; size
+ .short 0x0010 ; chunk size
+ .short 3 ; number following chunks
+
+ ; BTAF header
+ .ascii "BTAF"
+ .word 0x00000064 ; chunk size
+ .short 11 ; number of files
+ .balign 4
+ .word 0x00000000, 0x00000840
+ .word 0x00000840, 0x00000A68
+ .word 0x00000A68, 0x0000108C
+ .word 0x0000108C, 0x000016B0
+ .word 0x000016B0, 0x000017E0
+ .word 0x000017E0, 0x0000186E
+ .word 0x00001870, 0x00001972
+ .word 0x00001974, 0x000023A4
+ .word 0x000023A4, 0x0000241B
+ .word 0x0000241C, 0x0000248B
+ .word 0x0000248C, 0x000026B4
+
+ ; BTNF header
+ .ascii "BTNF"
+ .word 0x00000010 ; chunk size
+ .word 0x00000004 ; offset to first dir
+ .short 0 ; first file
+ .short 1 ; number of directories
+
+ ; GMIF header
+ .ascii "GMIF"
+ .word 0x000026BC ; chunk size
+ .incbin "baserom.nds", 0x1FB028C, 0x26B4
.balign 512, 255