From 0b6ec9a7338bb4a4f4bd829497d514357409117c Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Sat, 4 Jan 2025 15:41:42 -0800 Subject: [PATCH] split and move more data to src --- data/data_80B9BB8_2.s | 630 ------------------------------------------ data/data_80CE77C.s | 603 ++++++++++++++++++++++++++++++++++++++++ include/global.h | 14 +- ld_script.txt | 4 + src/code_800F034.c | 140 ++++++++++ src/code_800F958.c | 187 ++++--------- 6 files changed, 803 insertions(+), 775 deletions(-) create mode 100644 data/data_80CE77C.s create mode 100644 src/code_800F034.c diff --git a/data/data_80B9BB8_2.s b/data/data_80B9BB8_2.s index ae2c24d9c..a90fe680d 100644 --- a/data/data_80B9BB8_2.s +++ b/data/data_80B9BB8_2.s @@ -1,4 +1,3 @@ -#define TILE_SIZE_2BPP 32 .section .rodata .align 2,0 @@ -5569,633 +5568,4 @@ gUnknown_80CE73C: @ 80CE73C .string "pksdir0\0" .string "pksdir0\0" - .string "pksdir0\0" - .align 2,0 - - .global gUnknown_80CE77C -gUnknown_80CE77C: @ 80CE77C - .string "efob%03d\0" - .align 2,0 - - .global gUnknown_80CE788 -gUnknown_80CE788: @ 80CE788 - .string "efbg%03d\0" - .align 2,0 - .string "pksdir0\0" - - .global gStatusGraphics -gStatusGraphics: @ 80CE79C - @ width, height, vram index, unk, graphic count, offset into graphic - .4byte 0, 0, 0, 0, 0, 0 - .4byte 1, 1, 0, 0, 14, TILE_SIZE_2BPP * 0 @ sleepless - .4byte 2, 2, 1, 0, 7, TILE_SIZE_2BPP * 14 @ burned - .4byte 2, 2, 5, 0, 16, TILE_SIZE_2BPP * 42 @ poisoned - .4byte 4, 4, 9, 0, 6, TILE_SIZE_2BPP * 106 @ frozen - .4byte 4, 2, 25, 0, 4, TILE_SIZE_2BPP * 202 @ confused - .4byte 2, 2, 33, 0, 9, TILE_SIZE_2BPP * 234 @ whiffer - .4byte 2, 2, 37, 0, 8, TILE_SIZE_2BPP * 270 @ taunted - .4byte 1, 2, 41, 0, 8, TILE_SIZE_2BPP * 302 @ lowhp - .4byte 2, 2, 43, 0, 13, TILE_SIZE_2BPP * 318 @ shield - .4byte 2, 2, 47, 10, 10, TILE_SIZE_2BPP * 370 @ statdown - .4byte 2, 2, 51, 0, 13, TILE_SIZE_2BPP * 410 @ sword - .4byte 1, 1, 55, 0, 14, TILE_SIZE_2BPP * 462 @ blinker - .4byte 2, 2, 56, 0, 10, TILE_SIZE_2BPP * 476 @ cross-eyed - .4byte 1, 1, 60, 0, 14, TILE_SIZE_2BPP * 516 @ eyedrops - .4byte 2, 2, 61, 0, 8, TILE_SIZE_2BPP * 530 @ muzzled - .4byte 2, 2, 65, 4, 10, TILE_SIZE_2BPP * 562 @ sleep - - .global gStatusGraphics4bpp -gStatusGraphics4bpp: @ 80CE934 - .incbin "graphics/status/sleepless.4bpp" - .incbin "graphics/status/burned.4bpp" - .incbin "graphics/status/poisoned.4bpp" - .incbin "graphics/status/frozen.4bpp" - .incbin "graphics/status/confused.4bpp" - .incbin "graphics/status/whiffer.4bpp" - .incbin "graphics/status/taunted.4bpp" - .incbin "graphics/status/lowhp.4bpp" - .incbin "graphics/status/shield.4bpp" - .incbin "graphics/status/statdown.4bpp" - .incbin "graphics/status/sword.4bpp" - .incbin "graphics/status/blinker.4bpp" - .incbin "graphics/status/cross_eyed.4bpp" - .incbin "graphics/status/eyedrops.4bpp" - .incbin "graphics/status/muzzled.4bpp" - .incbin "graphics/status/sleep.4bpp" - - .global gStatusSprites -gStatusSprites: @ 80D3474 - @ Status to status image conversion - @ image, palette - .4byte 0, 0 - .4byte 1, 0 @ STATUS_SPRITE_SLEEPLESS - .4byte 2, 0 @ STATUS_SPRITE_BURNED - .4byte 3, 11 @ STATUS_SPRITE_POISONED - .4byte 3, 7 @ STATUS_SPRITE_BADLY_POISONED - .4byte 5, 0 @ STATUS_SPRITE_CONFUSED - .4byte 6, 0 @ STATUS_SPRITE_COWERING - .4byte 7, 0 @ STATUS_SPRITE_TAUNTED - .4byte 8, 0 @ STATUS_SPRITE_ENCORE - .4byte 9, 0 @ STATUS_SPRITE_SHIELD_BLUE - .4byte 9, 4 @ STATUS_SPRITE_SHIELD_RED - .4byte 9, 3 @ STATUS_SPRITE_SHIELD_YELLOW - .4byte 9, 10 @ STATUS_SPRITE_SHIELD_GREEN - .4byte 9, 5 @ STATUS_SPRITE_ENDURE - .4byte 8, 0 @ STATUS_SPRITE_LOWHP - .4byte 3, 6 @ STATUS_SPRITE_CURSED - .4byte 8, 3 @ STATUS_SPRITE_SNATCH - .4byte 11, 0 @ STATUS_SPRITE_SURE_SHOT - .4byte 6, 10 @ STATUS_SPRITE_WHIFFER - .4byte 11, 5 @ STATUS_SPRITE_SET_DAMAGE - .4byte 11, 4 @ STATUS_SPRITE_FOCUS_ENERGY - .4byte 12, 0 @ STATUS_SPRITE_BLINKER - .4byte 13, 0 @ STATUS_SPRITE_CROSS_EYED - .4byte 14, 0 @ STATUS_SPRITE_EYEDROPS - .4byte 15, 0 @ STATUS_SPRITE_MUZZLED - .4byte 9, 7 @ STATUS_SPRITE_GRUDGE - .4byte 14, 4 @ STATUS_SPRITE_EXPOSED - .4byte 16, 4 @ STATUS_SPRITE_SLEEP - .4byte 10, 3 @ STATUS_SPRITE_STAT_DOWN - .4byte 4, 0 @ STATUS_SPRITE_FROZEN - - .global gUnknown_80D3564 -gUnknown_80D3564: @ 80D3564 - .byte 0,0,0,0 - .string "pksdir0\0" - .align 2,0 - -@ Friend Area Data - - .global gFriendAreaLocations -gFriendAreaLocations: @ 80D3570 -@ replacing .incbin "baserom.gba", 0x000d3570, 0x94c - .4byte gUnknown_80D3EAC - .byte 0xc5, 0x01, 0x71, 0x00, 0x08, 0x09, 0x0a, 0x27, 0x2f, 0x0b, 0x3f, 0x3f, 0x05, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0c, 0x00, 0x02, 0x00, 0x07, 0x00 @ Mountain Range - .4byte gUnknown_80D3EA4 - .byte 0xcd, 0x01, 0x1c, 0x00, 0x30, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0a, 0x00, 0x0c, 0x00 - .4byte gUnknown_80D3E9C - .byte 0x61, 0x01, 0x78, 0x00, 0x0d, 0x0e, 0x11, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x1b, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x0d, 0x00, 0xff, 0xff, 0x09, 0x00, 0xff, 0xff - .4byte gUnknown_80D3E8C - .byte 0x62, 0x01, 0x2d, 0x01, 0x0f, 0x0c, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x04, 0x00, 0x0e, 0x00, 0x12, 0x00, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3E80 - .byte 0x94, 0x01, 0x02, 0x01, 0x34, 0x35, 0x28, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x11, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x08, 0x00, 0xff, 0xff, 0x0e, 0x00, 0x03, 0x00 - .4byte gUnknown_80D3E70 - .byte 0xc7, 0x01, 0x9d, 0x00, 0x12, 0x13, 0x14, 0x15, 0x3f, 0x3f, 0x3f, 0x3f, 0x0b, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0x08, 0x00 - .4byte gUnknown_80D3E60 - .byte 0x08, 0x01, 0x9d, 0x00, 0x16, 0x17, 0x18, 0x19, 0x3f, 0x3f, 0x3f, 0x3f, 0x10, 0x00, 0xff, 0xff, 0x1b, 0x00, 0x09, 0x00, 0x14, 0x00, 0x1a, 0x00, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3E58 - .byte 0x97, 0x01, 0xa0, 0x00, 0x1a, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x08, 0x00, 0x0b, 0x00, 0x05, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x02, 0x00, 0x1b, 0x00, 0xff, 0xff - .4byte gUnknown_80D3E48 - .byte 0x98, 0x01, 0xcf, 0x00, 0x1b, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x04, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x05, 0x00, 0x07, 0x00, 0x1b, 0x00, 0xff, 0xff, 0x0e, 0x00 - .4byte gUnknown_80D3E40 - .byte 0x33, 0x01, 0x79, 0x00, 0x1c, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x1b, 0x00, 0x02, 0x00, 0x0d, 0x00, 0x0f, 0x00, 0x14, 0x00, 0xff, 0xff, 0x06, 0x00 - .4byte gUnknown_80D3E30 - .byte 0x82, 0x01, 0x1d, 0x00, 0x1d, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x0c, 0x00, 0x01, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x00, 0x0d, 0x00 - .4byte gUnknown_80D3E20 - .byte 0xc6, 0x01, 0xd0, 0x00, 0x1e, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x05, 0x00, 0x07, 0x00, 0x08, 0x00, 0x04, 0x00 - .4byte gUnknown_80D3E18 - .byte 0xa2, 0x01, 0x46, 0x00, 0x1f, 0x20, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x07, 0x00, 0x00, 0x00, 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x0a, 0x00, 0x0d, 0x00, 0x02, 0x00 - .4byte gUnknown_80D3E10 - .byte 0x60, 0x01, 0x47, 0x00, 0x21, 0x23, 0x24, 0x22, 0x3f, 0x3f, 0x3f, 0x3f, 0x02, 0x00, 0xff, 0xff, 0x0c, 0x00, 0x0a, 0x00, 0xff, 0xff, 0x0f, 0x00, 0x14, 0x00, 0x09, 0x00 - .4byte gUnknown_80D3E08 - .byte 0x63, 0x01, 0x04, 0x01, 0x25, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x03, 0x00, 0xff, 0xff, 0x04, 0x00, 0x08, 0x00, 0x1b, 0x00, 0xff, 0xff, 0x12, 0x00, 0xff, 0xff - .4byte gUnknown_80D3E00 - .byte 0x36, 0x01, 0x1c, 0x00, 0x26, 0x29, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x09, 0x00, 0x0d, 0x00, 0x0a, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x18, 0x00, 0x14, 0x00 - .4byte gUnknown_80D3DF8 - .byte 0x07, 0x01, 0xcb, 0x00, 0x10, 0x2a, 0x32, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x12, 0x00, 0xff, 0xff, 0x1b, 0x00, 0x06, 0x00, 0xff, 0xff, 0xff, 0xff, 0x19, 0x00 - .4byte gUnknown_80D3DF0 - .byte 0xc4, 0x01, 0x2d, 0x01, 0x2b, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x04, 0x00, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3DE8 - .byte 0x31, 0x01, 0x05, 0x01, 0x2e, 0x2c, 0x2d, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x03, 0x00, 0x0e, 0x00, 0xff, 0xff, 0xff, 0xff, 0x10, 0x00, 0x19, 0x00, 0xff, 0xff - .4byte gUnknown_80D3DE4 - .byte 0x2f, 0x00, 0x15, 0x00, 0x33, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x17, 0x00, 0x1a, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3DD4 - .byte 0x07, 0x01, 0x47, 0x00, 0x36, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x06, 0x00, 0x09, 0x00, 0x0d, 0x00, 0x0f, 0x00, 0xff, 0xff, 0x18, 0x00, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3DC4 - .byte 0x5d, 0x00, 0x0c, 0x01, 0x37, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x19, 0x00, 0xff, 0xff, 0xff, 0xff, 0x16, 0x00, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3DB4 - .byte 0x2d, 0x00, 0xcb, 0x00, 0x38, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x15, 0x00, 0xff, 0xff, 0xff, 0xff, 0x17, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3DA4 - .byte 0x2d, 0x00, 0x70, 0x00, 0x39, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x16, 0x00, 0xff, 0xff, 0xff, 0xff, 0x1a, 0x00, 0x13, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D94 - .byte 0xd0, 0x00, 0x16, 0x00, 0x01, 0x03, 0x05, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x14, 0x00, 0x0f, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1a, 0x00 - .4byte gUnknown_80D3D84 - .byte 0xb2, 0x00, 0x0d, 0x01, 0x02, 0x04, 0x06, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x12, 0x00, 0x10, 0x00, 0xff, 0xff, 0xff, 0xff, 0x15, 0x00, 0xff, 0xff - .4byte gUnknown_80D3D7C - .byte 0x81, 0x00, 0x42, 0x00, 0x07, 0x31, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x06, 0x00, 0xff, 0xff, 0x18, 0x00, 0xff, 0xff, 0x13, 0x00, 0xff, 0xff, 0x17, 0x00 @ Beach - .4byte gUnknown_80D3D78 - .byte 0x63, 0x01, 0xa1, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x0e, 0x00, 0x08, 0x00, 0x07, 0x00, 0xff, 0xff, 0x02, 0x00, 0x09, 0x00, 0x06, 0x00, 0x10, 0x00 @ Team Name - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - .4byte gUnknown_80D3D70 - .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff - @ Start of Friend Area String Pool (80D3D70) - @ These are what show on the map when going to Friend Areas - .global gUnknown_80D3D70 - gUnknown_80D3D70: - .string "ななし\0" - .align 2,0 - .global gUnknown_80D3D78 - gUnknown_80D3D78: - .string "$t\0" @ Team Name - .align 2,0 - .global gUnknown_80D3D7C - gUnknown_80D3D7C: - .string "Beach\0" - .align 2,0 - .global gUnknown_80D3D84 - gUnknown_80D3D84: - .string "Southern Sea\0" - .align 2,0 - .global gUnknown_80D3D94 - gUnknown_80D3D94: - .string "Northern Sea\0" - .align 2,0 - .global gUnknown_80D3DA4 - gUnknown_80D3DA4: - .string "Western Isles\0" - .align 2,0 - .global gUnknown_80D3DB4 - gUnknown_80D3DB4: - .string "Southwest Isles\0" - .align 2,0 - .global gUnknown_80D3DC4 - gUnknown_80D3DC4: - .string "Southern Isles\0" - .align 2,0 - .global gUnknown_80D3DD4 - gUnknown_80D3DD4: - .string "Northern Isles\0" - .align 2,0 - .global gUnknown_80D3DE4 - gUnknown_80D3DE4: - .string "Sky\0" - .align 2,0 - .global gUnknown_80D3DE8 - gUnknown_80D3DE8: - .string "Relics\0" - .align 2,0 - .global gUnknown_80D3DF0 - gUnknown_80D3DF0: - .string "Desert\0" - .align 2,0 - .global gUnknown_80D3DF8 - gUnknown_80D3DF8: - .string "Volcano\0" - .align 2,0 - .global gUnknown_80D3E00 - gUnknown_80D3E00: - .string "Ruins\0" - .align 2,0 - .global gUnknown_80D3E08 - gUnknown_80D3E08: - .string "Jungle\0" - .align 2,0 - .global gUnknown_80D3E10 - gUnknown_80D3E10: - .string "Cave\0" - .align 2,0 - .global gUnknown_80D3E18 - gUnknown_80D3E18: - .string "Marsh\0" - .align 2,0 - .global gUnknown_80D3E20 - gUnknown_80D3E20: - .string "Eastern Lakes\0" - .align 2,0 - .global gUnknown_80D3E30 - gUnknown_80D3E30: - .string "Northern Lakes\0" - .align 2,0 - .global gUnknown_80D3E40 - gUnknown_80D3E40: - .string "Pond\0" - .align 2,0 - .global gUnknown_80D3E48 - gUnknown_80D3E48: - .string "Eastern Ponds\0" - .align 2,0 - .global gUnknown_80D3E58 - gUnknown_80D3E58: - .string "River\0" - .align 2,0 - .global gUnknown_80D3E60 - gUnknown_80D3E60: - .string "Western Forest\0" - .align 2,0 - .global gUnknown_80D3E70 - gUnknown_80D3E70: - .string "Eastern Forest\0" - .align 2,0 - .global gUnknown_80D3E80 - gUnknown_80D3E80: - .string "Badlands\0" - .align 2,0 - .global gUnknown_80D3E8C - gUnknown_80D3E8C: - .string "South Plains\0" - .align 2,0 - .global gUnknown_80D3E9C - gUnknown_80D3E9C: - .string "Plains\0" - .align 2,0 - .global gUnknown_80D3EA4 - gUnknown_80D3EA4: - .string "Glacier\0" - .align 2,0 - .global gUnknown_80D3EAC - gUnknown_80D3EAC: - .string "Mountain Range\0" - .align 2,0 - - .global gUnknown_80D3EBC -gUnknown_80D3EBC: @ 80D3EBC -@ replacing .incbin "baserom.gba", 0x000d3ebc, 0x20 - .byte 0x80, 0x03 - .byte 0x80, 0x04 - .byte 0x80, 0x00 - .byte 0x80, 0x03 - .byte 0x80, 0x0f - .byte 0x80, 0x00 - .byte 0x80, 0x0c - .byte 0x80, 0x0f - .byte 0x80, 0x0b - .byte 0x80, 0x0c - .byte 0x80, 0x08 - .byte 0x80, 0x0b - .byte 0x80, 0x07 - .byte 0x80, 0x08 - .byte 0x80, 0x04 - .byte 0x80, 0x07 - - .global gUnknown_80D3EDC -gUnknown_80D3EDC: @ 80D3EDC - .byte 0xff, 0x00, 0x02, 0x01 - .byte 0x04, 0xff, 0x03, 0xff - .byte 0x06, 0x07, 0xff, 0xff - .byte 0x05, 0xff, 0xff, 0xff - - - .global gUnknown_80D3EEC -gUnknown_80D3EEC: @ 80D3EEC - .byte 0xff, 0xff, 0xff, 0x01 - .byte 0xff, 0xff, 0x03, 0xff - .byte 0xff, 0x07, 0xff, 0xff - .byte 0x05, 0xff, 0xff, 0xff - - .global gUnknown_80D3EFC -gUnknown_80D3EFC: @ 80D3EFC - .string "$t Team Base\0" - .align 2,0 - .string "pksdir0\0" - .align 2,0 - - .global gDungeonCoordinates -gDungeonCoordinates: @ 80D3F14 -@ replacing .incbin "baserom.gba", 0x000d3f14, 0x100 -@ 2 byte X and 2 byte Y - .2byte 172, 174 @ Tiny Woods - .2byte 171, 111 - .2byte 242, 126 - .2byte 232, 181 - .2byte 263, 155 - .2byte 298, 159 - .2byte 299, 142 - .2byte 203, 255 - .2byte 385, 166 - .2byte 388, 126 - .2byte 389, 109 - .2byte 417, 112 - .2byte 422, 101 - .2byte 432, 85 - .2byte 436, 69 - .2byte 442, 150 - .2byte 446, 163 - .2byte 365, 27 - .2byte 352, 12 - .2byte 133, 238 - .2byte 129, 143 - .2byte 344, 105 - .2byte 427, 62 - .2byte 27, 211 - .2byte 246, 315 - .2byte 443, 6 - .2byte 32, 279 - .2byte 404, 262 - .2byte 194, 63 - .2byte 159, 46 - .2byte 441, 310 - .2byte 231, 235 - .2byte 169, 287 - .2byte 441, 273 - .2byte 64, 87 - .2byte 80, 54 - .2byte 431, 225 - .2byte 27, 94 - .2byte 354, 298 - .2byte 336, 253 - .2byte 287, 222 - .2byte 63, 163 - .2byte 275, 111 - .2byte 202, 232 - .2byte 268, 302 - .2byte 336, 260 - .2byte 110, 79 - .2byte 225, 314 - .2byte 206, 314 - .2byte 11, 307 - .2byte 472, 25 - .2byte 250, 8 - .2byte 187, 190 - .2byte 205, 111 - .2byte 474, 6 - .2byte 183, 9 - .2byte 367, 214 - .2byte 278, 273 - .2byte 68, 305 - .2byte 270, 33 - .2byte 33, 39 - .2byte 217, 8 - .2byte 69, 280 - .2byte 192, 183 @ D63 - - .global gUnknown_80D4014 -gUnknown_80D4014: @ 80D4014 - .4byte wmp2font_text - .4byte wmp2mcc_text - .4byte wmp2cani_text - .4byte wmp2pal_text - .4byte wmp2fon1_text - - .global wmp2fon1_text - wmp2fon1_text: - .string "wmp2fon1\0" - .align 2,0 - - .global wmp2pal_text - wmp2pal_text: - .string "wmp2pal\0" - .align 2,0 - - .global wmp2cani_text - wmp2cani_text: - .string "wmp2cani\0" - .align 2,0 - - .global wmp2mcc_text - wmp2mcc_text: - .string "wmp2mcc\0" - .align 2,0 - - .global wmp2font_text - wmp2font_text: - .string "wmp2font\0" - .align 2,0 - - .global gUnknown_80D405C -gUnknown_80D405C: @ 80D405C - .string "ax%03d\0" - .align 2,0 - - .global gUnknown_80D4064 -gUnknown_80D4064: @ 80D4064 - .string "wmapspr\0" - .align 2,0 - - .global gUnknown_80D406C -gUnknown_80D406C: @ 80D406C - .string "palet\0" - .align 2,0 - - .global gUnknown_80D4074 -gUnknown_80D4074: @ 80D4074 - .string "{CENTER_ALIGN}{POKEMON_0}\0" - .align 2,0 - - .global gUnknown_80D407C -gUnknown_80D407C: @ 80D4074 - .string "Yes\0" - .align 2,0 - - .global gUnknown_80D4080 -gUnknown_80D4080: @ 80D4080 - .string "No\0" - .align 2,0 - .string "pksdir0\0" - .align 2,0 - - .global gUnknown_80D408C -gUnknown_80D408C: @ 80D408C - .4byte wmapfont_text - .4byte wmapmcc_text - .4byte wmapcani_text - .4byte wmappal_text - - .global wmappal_text - wmappal_text: - .string "wmappal\0" - .align 2,0 - - .global wmapcani_text - wmapcani_text: - .string "wmapcani\0" - .align 2,0 - - .global wmapmcc_text - wmapmcc_text: - .string "wmapmcc\0" - .align 2,0 - - .global wmapfont_text - wmapfont_text: - .string "wmapfont\0" - .align 2,0 - - .global gUnknown_80D40C4 -gUnknown_80D40C4: @ 80D40C4 - .byte 0x00, 0x00, 0x18, 0x00 - .byte 0x18, 0x00, 0x18, 0x00 - .byte 0x18, 0x00, 0x00, 0x00 - .byte 0x18, 0x00, 0xE8, 0xFF - .byte 0x00, 0x00, 0xE8, 0xFF - .byte 0xE8, 0xFF, 0xE8, 0xFF - .byte 0xE8, 0xFF, 0x00, 0x00 - .byte 0xE8, 0xFF, 0x18, 0x00 - - .global gUnknown_80D40E4 -gUnknown_80D40E4: @ 80D40E4 - .string "ax%03d\0" - .align 2,0 - - .global gUnknown_80D40EC -gUnknown_80D40EC: @ 80D40EC - .string "wmapspr\0" - .align 2,0 - - .global gUnknown_80D40F4 -gUnknown_80D40F4: @ 80D40F4 - .string "palet\0" - .align 2,0 - - .global gUnknown_80D40FC -gUnknown_80D40FC: @ 80D40FC - .string "{CENTER_ALIGN}%s\0" - .align 2,0 - - .global gUnknown_80D4104 -gUnknown_80D4104: @ 80D4104 - .string "Where would you like to go?\0" - .align 2,0 - - .global gUnknown_80D4120 -gUnknown_80D4120: @ 80D4120 - .string "{MOVE_ITEM_0}\0" - .align 2,0 - - .global gUnknown_80D4124 -gUnknown_80D4124: @ 80D4124 - .string "{MOVE_ITEM_0}($v02" - .byte 0x81, 0x5E - .asciz "$v12)" - .align 2,0 - - .asciz "pksdir0" - .asciz "pksdir0" - - .global gUnknown_80D4144 -gUnknown_80D4144: @ 80D4144 - .2byte 302 - .2byte 303 - .2byte 303 - .2byte 301 - .2byte 304 - .2byte 306 - .2byte 307 - .2byte 0 - - .string "pksdir0\0" - .string "pksdir0\0" - .4byte noneText - .byte 0xff, 0xff, 0xff, 0xff - .4byte noneText - - .global noneText - noneText: - .string "none\0" - .align 2,0 - - .4byte defaultText - .byte 0xff, 0xff, 0xff, 0xff - .4byte noneText - .global defaultText - defaultText: - .string "default\0" diff --git a/data/data_80CE77C.s b/data/data_80CE77C.s new file mode 100644 index 000000000..33d1b0155 --- /dev/null +++ b/data/data_80CE77C.s @@ -0,0 +1,603 @@ + .section .rodata + + .align 2,0 + +@ code_800F958 + + .global gStatusGraphics4bpp +gStatusGraphics4bpp: @ 80CE934 + .incbin "graphics/status/sleepless.4bpp" + .incbin "graphics/status/burned.4bpp" + .incbin "graphics/status/poisoned.4bpp" + .incbin "graphics/status/frozen.4bpp" + .incbin "graphics/status/confused.4bpp" + .incbin "graphics/status/whiffer.4bpp" + .incbin "graphics/status/taunted.4bpp" + .incbin "graphics/status/lowhp.4bpp" + .incbin "graphics/status/shield.4bpp" + .incbin "graphics/status/statdown.4bpp" + .incbin "graphics/status/sword.4bpp" + .incbin "graphics/status/blinker.4bpp" + .incbin "graphics/status/cross_eyed.4bpp" + .incbin "graphics/status/eyedrops.4bpp" + .incbin "graphics/status/muzzled.4bpp" + .incbin "graphics/status/sleep.4bpp" + + .global gStatusSprites +gStatusSprites: @ 80D3474 + @ Status to status image conversion + @ image, palette + .4byte 0, 0 + .4byte 1, 0 @ STATUS_SPRITE_SLEEPLESS + .4byte 2, 0 @ STATUS_SPRITE_BURNED + .4byte 3, 11 @ STATUS_SPRITE_POISONED + .4byte 3, 7 @ STATUS_SPRITE_BADLY_POISONED + .4byte 5, 0 @ STATUS_SPRITE_CONFUSED + .4byte 6, 0 @ STATUS_SPRITE_COWERING + .4byte 7, 0 @ STATUS_SPRITE_TAUNTED + .4byte 8, 0 @ STATUS_SPRITE_ENCORE + .4byte 9, 0 @ STATUS_SPRITE_SHIELD_BLUE + .4byte 9, 4 @ STATUS_SPRITE_SHIELD_RED + .4byte 9, 3 @ STATUS_SPRITE_SHIELD_YELLOW + .4byte 9, 10 @ STATUS_SPRITE_SHIELD_GREEN + .4byte 9, 5 @ STATUS_SPRITE_ENDURE + .4byte 8, 0 @ STATUS_SPRITE_LOWHP + .4byte 3, 6 @ STATUS_SPRITE_CURSED + .4byte 8, 3 @ STATUS_SPRITE_SNATCH + .4byte 11, 0 @ STATUS_SPRITE_SURE_SHOT + .4byte 6, 10 @ STATUS_SPRITE_WHIFFER + .4byte 11, 5 @ STATUS_SPRITE_SET_DAMAGE + .4byte 11, 4 @ STATUS_SPRITE_FOCUS_ENERGY + .4byte 12, 0 @ STATUS_SPRITE_BLINKER + .4byte 13, 0 @ STATUS_SPRITE_CROSS_EYED + .4byte 14, 0 @ STATUS_SPRITE_EYEDROPS + .4byte 15, 0 @ STATUS_SPRITE_MUZZLED + .4byte 9, 7 @ STATUS_SPRITE_GRUDGE + .4byte 14, 4 @ STATUS_SPRITE_EXPOSED + .4byte 16, 4 @ STATUS_SPRITE_SLEEP + .4byte 10, 3 @ STATUS_SPRITE_STAT_DOWN + .4byte 4, 0 @ STATUS_SPRITE_FROZEN + + .global gUnknown_80D3564 +gUnknown_80D3564: @ 80D3564 + .byte 0,0,0,0 + +@ + .string "pksdir0\0" + .align 2,0 + +@ Friend Area Data + + .global gFriendAreaLocations +gFriendAreaLocations: @ 80D3570 +@ replacing .incbin "baserom.gba", 0x000d3570, 0x94c + .4byte gUnknown_80D3EAC + .byte 0xc5, 0x01, 0x71, 0x00, 0x08, 0x09, 0x0a, 0x27, 0x2f, 0x0b, 0x3f, 0x3f, 0x05, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0c, 0x00, 0x02, 0x00, 0x07, 0x00 @ Mountain Range + .4byte gUnknown_80D3EA4 + .byte 0xcd, 0x01, 0x1c, 0x00, 0x30, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0a, 0x00, 0x0c, 0x00 + .4byte gUnknown_80D3E9C + .byte 0x61, 0x01, 0x78, 0x00, 0x0d, 0x0e, 0x11, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x1b, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x0d, 0x00, 0xff, 0xff, 0x09, 0x00, 0xff, 0xff + .4byte gUnknown_80D3E8C + .byte 0x62, 0x01, 0x2d, 0x01, 0x0f, 0x0c, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x04, 0x00, 0x0e, 0x00, 0x12, 0x00, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3E80 + .byte 0x94, 0x01, 0x02, 0x01, 0x34, 0x35, 0x28, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x11, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x08, 0x00, 0xff, 0xff, 0x0e, 0x00, 0x03, 0x00 + .4byte gUnknown_80D3E70 + .byte 0xc7, 0x01, 0x9d, 0x00, 0x12, 0x13, 0x14, 0x15, 0x3f, 0x3f, 0x3f, 0x3f, 0x0b, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0x08, 0x00 + .4byte gUnknown_80D3E60 + .byte 0x08, 0x01, 0x9d, 0x00, 0x16, 0x17, 0x18, 0x19, 0x3f, 0x3f, 0x3f, 0x3f, 0x10, 0x00, 0xff, 0xff, 0x1b, 0x00, 0x09, 0x00, 0x14, 0x00, 0x1a, 0x00, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3E58 + .byte 0x97, 0x01, 0xa0, 0x00, 0x1a, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x08, 0x00, 0x0b, 0x00, 0x05, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x02, 0x00, 0x1b, 0x00, 0xff, 0xff + .4byte gUnknown_80D3E48 + .byte 0x98, 0x01, 0xcf, 0x00, 0x1b, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x04, 0x00, 0xff, 0xff, 0x0b, 0x00, 0x05, 0x00, 0x07, 0x00, 0x1b, 0x00, 0xff, 0xff, 0x0e, 0x00 + .4byte gUnknown_80D3E40 + .byte 0x33, 0x01, 0x79, 0x00, 0x1c, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x1b, 0x00, 0x02, 0x00, 0x0d, 0x00, 0x0f, 0x00, 0x14, 0x00, 0xff, 0xff, 0x06, 0x00 + .4byte gUnknown_80D3E30 + .byte 0x82, 0x01, 0x1d, 0x00, 0x1d, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x0c, 0x00, 0x01, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x00, 0x0d, 0x00 + .4byte gUnknown_80D3E20 + .byte 0xc6, 0x01, 0xd0, 0x00, 0x1e, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x05, 0x00, 0x07, 0x00, 0x08, 0x00, 0x04, 0x00 + .4byte gUnknown_80D3E18 + .byte 0xa2, 0x01, 0x46, 0x00, 0x1f, 0x20, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x07, 0x00, 0x00, 0x00, 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x0a, 0x00, 0x0d, 0x00, 0x02, 0x00 + .4byte gUnknown_80D3E10 + .byte 0x60, 0x01, 0x47, 0x00, 0x21, 0x23, 0x24, 0x22, 0x3f, 0x3f, 0x3f, 0x3f, 0x02, 0x00, 0xff, 0xff, 0x0c, 0x00, 0x0a, 0x00, 0xff, 0xff, 0x0f, 0x00, 0x14, 0x00, 0x09, 0x00 + .4byte gUnknown_80D3E08 + .byte 0x63, 0x01, 0x04, 0x01, 0x25, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x03, 0x00, 0xff, 0xff, 0x04, 0x00, 0x08, 0x00, 0x1b, 0x00, 0xff, 0xff, 0x12, 0x00, 0xff, 0xff + .4byte gUnknown_80D3E00 + .byte 0x36, 0x01, 0x1c, 0x00, 0x26, 0x29, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x09, 0x00, 0x0d, 0x00, 0x0a, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x18, 0x00, 0x14, 0x00 + .4byte gUnknown_80D3DF8 + .byte 0x07, 0x01, 0xcb, 0x00, 0x10, 0x2a, 0x32, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x12, 0x00, 0xff, 0xff, 0x1b, 0x00, 0x06, 0x00, 0xff, 0xff, 0xff, 0xff, 0x19, 0x00 + .4byte gUnknown_80D3DF0 + .byte 0xc4, 0x01, 0x2d, 0x01, 0x2b, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x04, 0x00, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3DE8 + .byte 0x31, 0x01, 0x05, 0x01, 0x2e, 0x2c, 0x2d, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x03, 0x00, 0x0e, 0x00, 0xff, 0xff, 0xff, 0xff, 0x10, 0x00, 0x19, 0x00, 0xff, 0xff + .4byte gUnknown_80D3DE4 + .byte 0x2f, 0x00, 0x15, 0x00, 0x33, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x17, 0x00, 0x1a, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3DD4 + .byte 0x07, 0x01, 0x47, 0x00, 0x36, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x06, 0x00, 0x09, 0x00, 0x0d, 0x00, 0x0f, 0x00, 0xff, 0xff, 0x18, 0x00, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3DC4 + .byte 0x5d, 0x00, 0x0c, 0x01, 0x37, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x19, 0x00, 0xff, 0xff, 0xff, 0xff, 0x16, 0x00, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3DB4 + .byte 0x2d, 0x00, 0xcb, 0x00, 0x38, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x15, 0x00, 0xff, 0xff, 0xff, 0xff, 0x17, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3DA4 + .byte 0x2d, 0x00, 0x70, 0x00, 0x39, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x16, 0x00, 0xff, 0xff, 0xff, 0xff, 0x1a, 0x00, 0x13, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D94 + .byte 0xd0, 0x00, 0x16, 0x00, 0x01, 0x03, 0x05, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x14, 0x00, 0x0f, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1a, 0x00 + .4byte gUnknown_80D3D84 + .byte 0xb2, 0x00, 0x0d, 0x01, 0x02, 0x04, 0x06, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x12, 0x00, 0x10, 0x00, 0xff, 0xff, 0xff, 0xff, 0x15, 0x00, 0xff, 0xff + .4byte gUnknown_80D3D7C + .byte 0x81, 0x00, 0x42, 0x00, 0x07, 0x31, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0x06, 0x00, 0xff, 0xff, 0x18, 0x00, 0xff, 0xff, 0x13, 0x00, 0xff, 0xff, 0x17, 0x00 @ Beach + .4byte gUnknown_80D3D78 + .byte 0x63, 0x01, 0xa1, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x0e, 0x00, 0x08, 0x00, 0x07, 0x00, 0xff, 0xff, 0x02, 0x00, 0x09, 0x00, 0x06, 0x00, 0x10, 0x00 @ Team Name + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + .4byte gUnknown_80D3D70 + .byte 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + @ Start of Friend Area String Pool (80D3D70) + @ These are what show on the map when going to Friend Areas + .global gUnknown_80D3D70 + gUnknown_80D3D70: + .string "ななし\0" + .align 2,0 + .global gUnknown_80D3D78 + gUnknown_80D3D78: + .string "$t\0" @ Team Name + .align 2,0 + .global gUnknown_80D3D7C + gUnknown_80D3D7C: + .string "Beach\0" + .align 2,0 + .global gUnknown_80D3D84 + gUnknown_80D3D84: + .string "Southern Sea\0" + .align 2,0 + .global gUnknown_80D3D94 + gUnknown_80D3D94: + .string "Northern Sea\0" + .align 2,0 + .global gUnknown_80D3DA4 + gUnknown_80D3DA4: + .string "Western Isles\0" + .align 2,0 + .global gUnknown_80D3DB4 + gUnknown_80D3DB4: + .string "Southwest Isles\0" + .align 2,0 + .global gUnknown_80D3DC4 + gUnknown_80D3DC4: + .string "Southern Isles\0" + .align 2,0 + .global gUnknown_80D3DD4 + gUnknown_80D3DD4: + .string "Northern Isles\0" + .align 2,0 + .global gUnknown_80D3DE4 + gUnknown_80D3DE4: + .string "Sky\0" + .align 2,0 + .global gUnknown_80D3DE8 + gUnknown_80D3DE8: + .string "Relics\0" + .align 2,0 + .global gUnknown_80D3DF0 + gUnknown_80D3DF0: + .string "Desert\0" + .align 2,0 + .global gUnknown_80D3DF8 + gUnknown_80D3DF8: + .string "Volcano\0" + .align 2,0 + .global gUnknown_80D3E00 + gUnknown_80D3E00: + .string "Ruins\0" + .align 2,0 + .global gUnknown_80D3E08 + gUnknown_80D3E08: + .string "Jungle\0" + .align 2,0 + .global gUnknown_80D3E10 + gUnknown_80D3E10: + .string "Cave\0" + .align 2,0 + .global gUnknown_80D3E18 + gUnknown_80D3E18: + .string "Marsh\0" + .align 2,0 + .global gUnknown_80D3E20 + gUnknown_80D3E20: + .string "Eastern Lakes\0" + .align 2,0 + .global gUnknown_80D3E30 + gUnknown_80D3E30: + .string "Northern Lakes\0" + .align 2,0 + .global gUnknown_80D3E40 + gUnknown_80D3E40: + .string "Pond\0" + .align 2,0 + .global gUnknown_80D3E48 + gUnknown_80D3E48: + .string "Eastern Ponds\0" + .align 2,0 + .global gUnknown_80D3E58 + gUnknown_80D3E58: + .string "River\0" + .align 2,0 + .global gUnknown_80D3E60 + gUnknown_80D3E60: + .string "Western Forest\0" + .align 2,0 + .global gUnknown_80D3E70 + gUnknown_80D3E70: + .string "Eastern Forest\0" + .align 2,0 + .global gUnknown_80D3E80 + gUnknown_80D3E80: + .string "Badlands\0" + .align 2,0 + .global gUnknown_80D3E8C + gUnknown_80D3E8C: + .string "South Plains\0" + .align 2,0 + .global gUnknown_80D3E9C + gUnknown_80D3E9C: + .string "Plains\0" + .align 2,0 + .global gUnknown_80D3EA4 + gUnknown_80D3EA4: + .string "Glacier\0" + .align 2,0 + .global gUnknown_80D3EAC + gUnknown_80D3EAC: + .string "Mountain Range\0" + .align 2,0 + + .global gUnknown_80D3EBC +gUnknown_80D3EBC: @ 80D3EBC +@ replacing .incbin "baserom.gba", 0x000d3ebc, 0x20 + .byte 0x80, 0x03 + .byte 0x80, 0x04 + .byte 0x80, 0x00 + .byte 0x80, 0x03 + .byte 0x80, 0x0f + .byte 0x80, 0x00 + .byte 0x80, 0x0c + .byte 0x80, 0x0f + .byte 0x80, 0x0b + .byte 0x80, 0x0c + .byte 0x80, 0x08 + .byte 0x80, 0x0b + .byte 0x80, 0x07 + .byte 0x80, 0x08 + .byte 0x80, 0x04 + .byte 0x80, 0x07 + + .global gUnknown_80D3EDC +gUnknown_80D3EDC: @ 80D3EDC + .byte 0xff, 0x00, 0x02, 0x01 + .byte 0x04, 0xff, 0x03, 0xff + .byte 0x06, 0x07, 0xff, 0xff + .byte 0x05, 0xff, 0xff, 0xff + + + .global gUnknown_80D3EEC +gUnknown_80D3EEC: @ 80D3EEC + .byte 0xff, 0xff, 0xff, 0x01 + .byte 0xff, 0xff, 0x03, 0xff + .byte 0xff, 0x07, 0xff, 0xff + .byte 0x05, 0xff, 0xff, 0xff + + .global gUnknown_80D3EFC +gUnknown_80D3EFC: @ 80D3EFC + .string "$t Team Base\0" + .align 2,0 + .string "pksdir0\0" + .align 2,0 + + .global gDungeonCoordinates +gDungeonCoordinates: @ 80D3F14 +@ replacing .incbin "baserom.gba", 0x000d3f14, 0x100 +@ 2 byte X and 2 byte Y + .2byte 172, 174 @ Tiny Woods + .2byte 171, 111 + .2byte 242, 126 + .2byte 232, 181 + .2byte 263, 155 + .2byte 298, 159 + .2byte 299, 142 + .2byte 203, 255 + .2byte 385, 166 + .2byte 388, 126 + .2byte 389, 109 + .2byte 417, 112 + .2byte 422, 101 + .2byte 432, 85 + .2byte 436, 69 + .2byte 442, 150 + .2byte 446, 163 + .2byte 365, 27 + .2byte 352, 12 + .2byte 133, 238 + .2byte 129, 143 + .2byte 344, 105 + .2byte 427, 62 + .2byte 27, 211 + .2byte 246, 315 + .2byte 443, 6 + .2byte 32, 279 + .2byte 404, 262 + .2byte 194, 63 + .2byte 159, 46 + .2byte 441, 310 + .2byte 231, 235 + .2byte 169, 287 + .2byte 441, 273 + .2byte 64, 87 + .2byte 80, 54 + .2byte 431, 225 + .2byte 27, 94 + .2byte 354, 298 + .2byte 336, 253 + .2byte 287, 222 + .2byte 63, 163 + .2byte 275, 111 + .2byte 202, 232 + .2byte 268, 302 + .2byte 336, 260 + .2byte 110, 79 + .2byte 225, 314 + .2byte 206, 314 + .2byte 11, 307 + .2byte 472, 25 + .2byte 250, 8 + .2byte 187, 190 + .2byte 205, 111 + .2byte 474, 6 + .2byte 183, 9 + .2byte 367, 214 + .2byte 278, 273 + .2byte 68, 305 + .2byte 270, 33 + .2byte 33, 39 + .2byte 217, 8 + .2byte 69, 280 + .2byte 192, 183 @ D63 + + .global gUnknown_80D4014 +gUnknown_80D4014: @ 80D4014 + .4byte wmp2font_text + .4byte wmp2mcc_text + .4byte wmp2cani_text + .4byte wmp2pal_text + .4byte wmp2fon1_text + + .global wmp2fon1_text + wmp2fon1_text: + .string "wmp2fon1\0" + .align 2,0 + + .global wmp2pal_text + wmp2pal_text: + .string "wmp2pal\0" + .align 2,0 + + .global wmp2cani_text + wmp2cani_text: + .string "wmp2cani\0" + .align 2,0 + + .global wmp2mcc_text + wmp2mcc_text: + .string "wmp2mcc\0" + .align 2,0 + + .global wmp2font_text + wmp2font_text: + .string "wmp2font\0" + .align 2,0 + + .global gUnknown_80D405C +gUnknown_80D405C: @ 80D405C + .string "ax%03d\0" + .align 2,0 + + .global gUnknown_80D4064 +gUnknown_80D4064: @ 80D4064 + .string "wmapspr\0" + .align 2,0 + + .global gUnknown_80D406C +gUnknown_80D406C: @ 80D406C + .string "palet\0" + .align 2,0 + + .global gUnknown_80D4074 +gUnknown_80D4074: @ 80D4074 + .string "{CENTER_ALIGN}{POKEMON_0}\0" + .align 2,0 + + .global gUnknown_80D407C +gUnknown_80D407C: @ 80D4074 + .string "Yes\0" + .align 2,0 + + .global gUnknown_80D4080 +gUnknown_80D4080: @ 80D4080 + .string "No\0" + .align 2,0 + .string "pksdir0\0" + .align 2,0 + + .global gUnknown_80D408C +gUnknown_80D408C: @ 80D408C + .4byte wmapfont_text + .4byte wmapmcc_text + .4byte wmapcani_text + .4byte wmappal_text + + .global wmappal_text + wmappal_text: + .string "wmappal\0" + .align 2,0 + + .global wmapcani_text + wmapcani_text: + .string "wmapcani\0" + .align 2,0 + + .global wmapmcc_text + wmapmcc_text: + .string "wmapmcc\0" + .align 2,0 + + .global wmapfont_text + wmapfont_text: + .string "wmapfont\0" + .align 2,0 + + .global gUnknown_80D40C4 +gUnknown_80D40C4: @ 80D40C4 + .byte 0x00, 0x00, 0x18, 0x00 + .byte 0x18, 0x00, 0x18, 0x00 + .byte 0x18, 0x00, 0x00, 0x00 + .byte 0x18, 0x00, 0xE8, 0xFF + .byte 0x00, 0x00, 0xE8, 0xFF + .byte 0xE8, 0xFF, 0xE8, 0xFF + .byte 0xE8, 0xFF, 0x00, 0x00 + .byte 0xE8, 0xFF, 0x18, 0x00 + + .global gUnknown_80D40E4 +gUnknown_80D40E4: @ 80D40E4 + .string "ax%03d\0" + .align 2,0 + + .global gUnknown_80D40EC +gUnknown_80D40EC: @ 80D40EC + .string "wmapspr\0" + .align 2,0 + + .global gUnknown_80D40F4 +gUnknown_80D40F4: @ 80D40F4 + .string "palet\0" + .align 2,0 + + .global gUnknown_80D40FC +gUnknown_80D40FC: @ 80D40FC + .string "{CENTER_ALIGN}%s\0" + .align 2,0 + + .global gUnknown_80D4104 +gUnknown_80D4104: @ 80D4104 + .string "Where would you like to go?\0" + .align 2,0 + + .global gUnknown_80D4120 +gUnknown_80D4120: @ 80D4120 + .string "{MOVE_ITEM_0}\0" + .align 2,0 + + .global gUnknown_80D4124 +gUnknown_80D4124: @ 80D4124 + .string "{MOVE_ITEM_0}($v02" + .byte 0x81, 0x5E + .asciz "$v12)" + .align 2,0 + + .asciz "pksdir0" + .asciz "pksdir0" + + .global gUnknown_80D4144 +gUnknown_80D4144: @ 80D4144 + .2byte 302 + .2byte 303 + .2byte 303 + .2byte 301 + .2byte 304 + .2byte 306 + .2byte 307 + .2byte 0 + + .string "pksdir0\0" + .string "pksdir0\0" + .4byte noneText + .byte 0xff, 0xff, 0xff, 0xff + .4byte noneText + + .global noneText + noneText: + .string "none\0" + .align 2,0 + + .4byte defaultText + .byte 0xff, 0xff, 0xff, 0xff + .4byte noneText + + .global defaultText + defaultText: + .string "default\0" diff --git a/include/global.h b/include/global.h index c8ab5cf95..14cd765a4 100644 --- a/include/global.h +++ b/include/global.h @@ -12,12 +12,14 @@ #if defined(__APPLE__) || defined(__CYGWIN__) #define _(x) x #define __(x) x -#define INCBIN_U8 {0} -#define INCBIN_U16 {0} -#define INCBIN_U32 {0} -#define INCBIN_S8 {0} -#define INCBIN_S16 {0} -#define INCBIN_S32 {0} +#define INCBIN(...) {0} +#define INCBIN_U8 INCBIN +#define INCBIN_U16 INCBIN +#define INCBIN_U32 INCBIN +#define INCBIN_S8 INCBIN +#define INCBIN_S16 INCBIN +#define INCBIN_S32 INCBIN +#define INCBIN_COMP INCBIN #endif // Prevent cross-jump optimization. diff --git a/ld_script.txt b/ld_script.txt index e033ea727..7f297c682 100755 --- a/ld_script.txt +++ b/ld_script.txt @@ -89,6 +89,7 @@ SECTIONS { src/code_800E9E4.o(.text); src/code_800ED38.o(.text); asm/code_800ED38.o(.text); + src/code_800F034.o(.text); src/code_800F958.o(.text); asm/code_800F990.o(.text); src/code_8010EF0.o(.text); @@ -428,6 +429,9 @@ SECTIONS { src/main.o(.rodata); src/reg_control.o(.rodata); data/data_80B9BB8_2.o(.rodata); + src/code_800F034.o(.rodata); + src/code_800F958.o(.rodata); + data/data_80CE77C.o(.rodata); src/debug.o(.rodata); src/save.o(.rodata); src/save_read.o(.rodata); diff --git a/src/code_800F034.c b/src/code_800F034.c new file mode 100644 index 000000000..ef2398231 --- /dev/null +++ b/src/code_800F034.c @@ -0,0 +1,140 @@ +#include "global.h" +#include "globaldata.h" +#include +#include "code_800E9E4.h" +#include "file_system.h" +#include "memory.h" + +struct unkStruct_800F18C +{ + s32 effectID; + u32 counter; +}; + +struct unkStruct_203B0D4 +{ + struct unkStruct_800F18C unk0[2]; +}; + +struct unkStruct_203B0D4 *gUnknown_203B0D4; + +ALIGNED(4) static const u8 gUnknown_80CE77C[] = "efob%03d"; +ALIGNED(4) static const u8 gUnknown_80CE788[] = "efbg%03d"; + +extern struct FileArchive gEffectFileArchive; + +void sub_800F034(void) { + s32 index; + if(gUnknown_203B0D4 == NULL) + { + gUnknown_203B0D4 = MemoryAlloc(sizeof(struct unkStruct_203B0D4), 0xB); + MemoryClear8(gUnknown_203B0D4, sizeof(struct unkStruct_203B0D4)); + } + for(index = 0; index < 2; index++) + { + gUnknown_203B0D4->unk0[index].effectID = -1; + gUnknown_203B0D4->unk0[index].counter = 0; + } +} + +void sub_800F078(void) +{ + if(gUnknown_203B0D4) + { + MemoryFree(gUnknown_203B0D4); + gUnknown_203B0D4 = NULL; + } +} + +void sub_800F094(void) +{ + s32 index; + for(index = 0; index < 2; index++) + { + gUnknown_203B0D4->unk0[index].effectID = -1; + gUnknown_203B0D4->unk0[index].counter = 0; + } +} + +s32 sub_800F0C0(s32 animType, s32 effectID) +{ + if (animType == 3) { + if (gUnknown_203B0D4->unk0[0].effectID == effectID) return 0; + } + else { + if (gUnknown_203B0D4->unk0[1].effectID == effectID) return 1; + } + return -3; +} + + +s32 sub_800F0F4(s32 animType, s32 effectID) +{ + if (animType == 3) { + if (gUnknown_203B0D4->unk0[0].effectID == effectID) return -2; + if (gUnknown_203B0D4->unk0[0].counter == 0) return 0; + } + else { + if (gUnknown_203B0D4->unk0[1].effectID == effectID) return -2; + if (gUnknown_203B0D4->unk0[1].counter == 0) return 1; + } + return -1; +} + +void sub_800F13C(s32 index, OpenedFile *file, unkStruct_80B9CC4 * r2) +{ + if(gUnknown_203B0D4->unk0[index].counter == 0) + gUnknown_203B0D4->unk0[index].effectID = r2->effectId; +} + +void sub_800F15C(s32 effectID) +{ + s32 index; + + for(index = 0; index < 2; index++) + { + if(gUnknown_203B0D4->unk0[index].effectID == effectID) + { + gUnknown_203B0D4->unk0[index].counter++; + break; + } + } +} + +struct unkStruct_800F18C *sub_800F18C(s32 index) +{ + return &gUnknown_203B0D4->unk0[index]; +} + +s32 sub_800F19C(s32 index) +{ + if(gUnknown_203B0D4->unk0[index].counter == 0) + return 0; + else + return 1; +} + +OpenedFile * sub_800F1C0(u32 animType, s32 effectID) +{ + u8 fileName [8]; + + switch(animType) + { + case 1: + case 2: + case 3: + sprintf(fileName,gUnknown_80CE77C,effectID); // efob + break; + case 4: + sprintf(fileName,gUnknown_80CE788,effectID); // efbg + break; + + } + return Call_OpenFileAndGetFileDataPtr(fileName,&gEffectFileArchive); +} + +void sub_800F204(OpenedFile *file) +{ + CloseFile(file); +} + diff --git a/src/code_800F958.c b/src/code_800F958.c index ab60e5978..dd092183b 100644 --- a/src/code_800F958.c +++ b/src/code_800F958.c @@ -1,9 +1,7 @@ #include "global.h" +#include "globaldata.h" #include "code_800F958.h" -#include "code_8004AA0.h" #include "code_8009804.h" -#include "code_800E9E4.h" -#include "code_801EE10.h" #include "cpu.h" #include "dungeon_pokemon_sprites.h" #include "memory.h" @@ -20,7 +18,51 @@ struct StatusGraphicsInfo /* 0x10 */ s32 graphicsCount; /* 0x14 */ s32 offsetIntoGraphic; }; -extern struct StatusGraphicsInfo gStatusGraphics[]; // 0x80CE79C + +#define TILE_SIZE_2BPP 32 + +const struct StatusGraphicsInfo gStatusGraphics[] = { + {0, 0, 0, 0, 0, 0}, + {1, 1, 0, 0, 14, TILE_SIZE_2BPP * 0 }, // sleepless + {2, 2, 1, 0, 7, TILE_SIZE_2BPP * 14 }, // burned + {2, 2, 5, 0, 16, TILE_SIZE_2BPP * 42 }, // poisoned + {4, 4, 9, 0, 6, TILE_SIZE_2BPP * 106}, // frozen + {4, 2, 25, 0, 4, TILE_SIZE_2BPP * 202}, // confused + {2, 2, 33, 0, 9, TILE_SIZE_2BPP * 234}, // whiffer + {2, 2, 37, 0, 8, TILE_SIZE_2BPP * 270}, // taunted + {1, 2, 41, 0, 8, TILE_SIZE_2BPP * 302}, // lowhp + {2, 2, 43, 0, 13, TILE_SIZE_2BPP * 318}, // shield + {2, 2, 47, 10, 10, TILE_SIZE_2BPP * 370}, // statdown + {2, 2, 51, 0, 13, TILE_SIZE_2BPP * 410}, // sword + {1, 1, 55, 0, 14, TILE_SIZE_2BPP * 462}, // blinker + {2, 2, 56, 0, 10, TILE_SIZE_2BPP * 476}, // cross-eyed + {1, 1, 60, 0, 14, TILE_SIZE_2BPP * 516}, // eyedrops + {2, 2, 61, 0, 8, TILE_SIZE_2BPP * 530}, // muzzled + {2, 2, 65, 4, 10, TILE_SIZE_2BPP * 562}, // sleep +}; + +extern const u8 gStatusGraphics4bpp[16][3072]; + + +// static const u8 *gStatusGraphics4bpp[16][3072] = { +// INCBIN_U8("graphics/status/sleepless.4bpp"), +// INCBIN_U8("graphics/status/burned.4bpp"), +// INCBIN_U8("graphics/status/poisoned.4bpp"), +// INCBIN_U8("graphics/status/frozen.4bpp"), +// INCBIN_U8("graphics/status/confused.4bpp"), +// INCBIN_U8("graphics/status/whiffer.4bpp"), +// INCBIN_U8("graphics/status/taunted.4bpp"), +// INCBIN_U8("graphics/status/lowhp.4bpp"), +// INCBIN_U8("graphics/status/shield.4bpp"), +// INCBIN_U8("graphics/status/statdown.4bpp"), +// INCBIN_U8("graphics/status/sword.4bpp"), +// INCBIN_U8("graphics/status/blinker.4bpp"), +// INCBIN_U8("graphics/status/cross_eyed.4bpp"), +// INCBIN_U8("graphics/status/eyedrops.4bpp"), +// INCBIN_U8("graphics/status/muzzled.4bpp"), +// INCBIN_U8("graphics/status/sleep.4bpp") +// }; + struct StatusSprite { @@ -29,146 +71,13 @@ struct StatusSprite }; extern struct StatusSprite gStatusSprites[8]; -struct unkStruct_800F18C -{ - s32 effectID; - u32 counter; -}; - -struct unkStruct_203B0D4 -{ - struct unkStruct_800F18C unk0[2]; -}; - -struct unkStruct_203B0D4 *gUnknown_203B0D4; extern SpriteOAM gUnknown_203B0DC; -extern u8 *gStatusGraphics4bpp[]; // TODO use INCBIN_U8 extern DungeonPos gUnknown_80D3564; void DrawStatusSprite(s16 param_1,s32 status,DungeonPos *pos,DungeonPos *posOffset, DungeonPos *posScreen,u32 priority, u32 unused); -extern u8 gUnknown_80CE77C[]; -extern u8 gUnknown_80CE788[]; - -extern struct FileArchive gEffectFileArchive; - -void sub_800F034(void) { - s32 index; - if(gUnknown_203B0D4 == NULL) - { - gUnknown_203B0D4 = MemoryAlloc(sizeof(struct unkStruct_203B0D4), 0xB); - MemoryClear8(gUnknown_203B0D4, sizeof(struct unkStruct_203B0D4)); - } - for(index = 0; index < 2; index++) - { - gUnknown_203B0D4->unk0[index].effectID = -1; - gUnknown_203B0D4->unk0[index].counter = 0; - } -} - -void sub_800F078(void) -{ - if(gUnknown_203B0D4) - { - MemoryFree(gUnknown_203B0D4); - gUnknown_203B0D4 = NULL; - } -} - -void sub_800F094(void) -{ - s32 index; - for(index = 0; index < 2; index++) - { - gUnknown_203B0D4->unk0[index].effectID = -1; - gUnknown_203B0D4->unk0[index].counter = 0; - } -} - -s32 sub_800F0C0(s32 animType, s32 effectID) -{ - if (animType == 3) { - if (gUnknown_203B0D4->unk0[0].effectID == effectID) return 0; - } - else { - if (gUnknown_203B0D4->unk0[1].effectID == effectID) return 1; - } - return -3; -} - - -s32 sub_800F0F4(s32 animType, s32 effectID) -{ - if (animType == 3) { - if (gUnknown_203B0D4->unk0[0].effectID == effectID) return -2; - if (gUnknown_203B0D4->unk0[0].counter == 0) return 0; - } - else { - if (gUnknown_203B0D4->unk0[1].effectID == effectID) return -2; - if (gUnknown_203B0D4->unk0[1].counter == 0) return 1; - } - return -1; -} - -void sub_800F13C(s32 index, OpenedFile *file, unkStruct_80B9CC4 * r2) -{ - if(gUnknown_203B0D4->unk0[index].counter == 0) - gUnknown_203B0D4->unk0[index].effectID = r2->effectId; -} - -void sub_800F15C(s32 effectID) -{ - s32 index; - - for(index = 0; index < 2; index++) - { - if(gUnknown_203B0D4->unk0[index].effectID == effectID) - { - gUnknown_203B0D4->unk0[index].counter++; - break; - } - } -} - -struct unkStruct_800F18C *sub_800F18C(s32 index) -{ - return &gUnknown_203B0D4->unk0[index]; -} - -s32 sub_800F19C(s32 index) -{ - if(gUnknown_203B0D4->unk0[index].counter == 0) - return 0; - else - return 1; -} - -OpenedFile * sub_800F1C0(u32 animType, s32 effectID) -{ - u8 fileName [8]; - - switch(animType) - { - case 1: - case 2: - case 3: - sprintf(fileName,gUnknown_80CE77C,effectID); // efob - break; - case 4: - sprintf(fileName,gUnknown_80CE788,effectID); // efbg - break; - - } - return Call_OpenFileAndGetFileDataPtr(fileName,&gEffectFileArchive); -} - -void sub_800F204(OpenedFile *file) -{ - CloseFile(file); -} - DungeonPokemonSprite *GetDungeonPokemonSprite(s32 id) { s32 index; @@ -299,7 +208,7 @@ void DrawStatusSprite(s16 param_1, s32 status, DungeonPos *pos, DungeonPos *posO s32 posX; u32 uVar7; s32 vramIndex; - struct StatusGraphicsInfo *ptr; + const struct StatusGraphicsInfo *ptr; sprite = gStatusSprites[status]; @@ -375,7 +284,7 @@ void LoadStatusGraphics(s32 graphicIndex, bool8 param_2) s32 graphicsCount; - struct StatusGraphicsInfo *graphic = &gStatusGraphics[graphicIndex]; + const struct StatusGraphicsInfo *graphic = &gStatusGraphics[graphicIndex]; offset = graphic->offsetIntoGraphic;