mirror of https://github.com/pret/pokeemerald.git
powers of ten
This commit is contained in:
parent
9968f7fbf8
commit
c0502849fa
|
@ -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
|
||||
|
|
13
data/data2.s
13
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
|
||||
|
|
Loading…
Reference in New Issue