powers of ten

This commit is contained in:
YamaArashi 2015-11-24 12:05:08 -08:00
parent 9968f7fbf8
commit c0502849fa
2 changed files with 13 additions and 4 deletions

View File

@ -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

View File

@ -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