add menu cursor dimension data

This commit is contained in:
YamaArashi 2015-10-07 18:30:49 -07:00
parent dc8e2ebc13
commit 3d692070f7
2 changed files with 14 additions and 2 deletions

View File

@ -111,4 +111,16 @@ gFontInfos: @ 82EA590
font_info Font8Func+1, 5, 8, 0, 0, 2, 3, 1
font_info 0, 8, 8, 0, 0, 1, 15, 2
.incbin "base_emerald.gba", 0x2ea608
gMenuCursorDimensions: @ 82EA608
.byte 8, 12
.byte 8, 15
.byte 8, 14
.byte 8, 14
.byte 8, 14
.byte 8, 14
.byte 8, 16
.byte 8, 15
.byte 8, 8
.byte 0, 0
.incbin "base_emerald.gba", 0x2ea61C

View File

@ -4076,7 +4076,7 @@ GetMenuCursorDimensionByFont: @ 8006460
lsls r0, 24
lsls r1, 24
lsrs r1, 24
ldr r2, =0x082ea608
ldr r2, =gMenuCursorDimensions
lsrs r0, 23
adds r1, r0
adds r1, r2