mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 15:13:42 +01:00
add menu cursor dimension data
This commit is contained in:
parent
dc8e2ebc13
commit
3d692070f7
14
asm/data2.s
14
asm/data2.s
@ -111,4 +111,16 @@ gFontInfos: @ 82EA590
|
|||||||
font_info Font8Func+1, 5, 8, 0, 0, 2, 3, 1
|
font_info Font8Func+1, 5, 8, 0, 0, 2, 3, 1
|
||||||
font_info 0, 8, 8, 0, 0, 1, 15, 2
|
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
|
||||||
|
@ -4076,7 +4076,7 @@ GetMenuCursorDimensionByFont: @ 8006460
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsls r1, 24
|
lsls r1, 24
|
||||||
lsrs r1, 24
|
lsrs r1, 24
|
||||||
ldr r2, =0x082ea608
|
ldr r2, =gMenuCursorDimensions
|
||||||
lsrs r0, 23
|
lsrs r0, 23
|
||||||
adds r1, r0
|
adds r1, r0
|
||||||
adds r1, r2
|
adds r1, r2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user