diff --git a/asm/emerald.s b/asm/emerald.s index d469e78f4c..82b5bab043 100644 --- a/asm/emerald.s +++ b/asm/emerald.s @@ -325,7 +325,7 @@ ConvertIntToDecimalString: ; 8008CC0 adds r4, r0, 0 adds r6, r1, 0 lsls r3, 24 - ldr r0, =gUnknown_082EC7E4 + ldr r0, =gPowersOfTen lsrs r3, 22 subs r3, 0x4 adds r3, r0 @@ -425,7 +425,7 @@ ConvertUnsignedIntToDecimalString: ; 8008D70 adds r4, r0, 0 adds r6, r1, 0 lsls r3, 24 - ldr r0, =gUnknown_082EC7E4 + ldr r0, =gPowersOfTen lsrs r3, 22 subs r3, 0x4 adds r3, r0 diff --git a/data/data2.s b/data/data2.s index a99d3e74f9..a5d53cbd46 100644 --- a/data/data2.s +++ b/data/data2.s @@ -197,8 +197,17 @@ gUnknown_82EC7CC: ; 82EC7CC gUnknown_082EC7D4: ; 82EC7D4 .incbin "base_emerald.gba", 0x2ec7d4, 0x10 -gUnknown_082EC7E4: ; 82EC7E4 - .incbin "base_emerald.gba", 0x2ec7e4, 0x28 +gPowersOfTen: ; 82EC7E4 + .4byte 1 + .4byte 10 + .4byte 100 + .4byte 1000 + .4byte 10000 + .4byte 100000 + .4byte 1000000 + .4byte 10000000 + .4byte 100000000 + .4byte 1000000000 gUnknown_082EC80C: ; 82EC80C .incbin "base_emerald.gba", 0x2ec80c, 0x4