UnclePunch
Smash Ace
- Joined
- Nov 9, 2014
- Messages
- 673
Code:
$CSS Colors [UnclePunch]
C2266980 0000000E
906DB634 7DC802A6
48000051 7CA802A6
7DC803A6 80650000
3C8080BE 6084D06C
90640000 80650004
3C8080F3 6084572C
90640000 80650008
3C8080F3 608455AC
90640000 8065000C
3C8080F3 6084566C
90640000 48000018
4E800021 000000FF
FF0000FF 0000FFFF
00FF00FF 00000000
Background
Top Frame
Bottom Frame
Rule Frame
C2266980 0000000E
906DB634 7DC802A6
48000051 7CA802A6
7DC803A6 80650000
3C8080BE 6084D06C
90640000 80650004
3C8080F3 6084572C
90640000 80650008
3C8080F3 608455AC
90640000 8065000C
3C8080F3 6084566C
90640000 48000018
4E800021 000000FF
FF0000FF 0000FFFF
00FF00FF 00000000
Values are RRGGBBFF
Code:
stw r3, -0x49CC (r13)
mflr r14
bl colorTable
mflr r5
mtlr r14
#Background
lwz r3,0x0(r5)
load r4,0x80bed06c
stw r3,0x0(r4)
#Top Frame
lwz r3,0x4(r5)
load r4,0x80f3572c
stw r3,0x0(r4)
#Bottom Frame
lwz r3,0x8(r5)
load r4,0x80f355ac
stw r3,0x0(r4)
#Rule Frame
lwz r3,0xC(r5)
load r4,0x80f3566c
stw r3,0x0(r4)
b exit
colorTable:
blrl
#Background
.long 0x000000FF
#Top Frame
.long 0xFF0000FF
#Bottom Frame
.long 0x0000FFFF
#Rule Frame
.long 0x00FF00FF
exit:
Thanks @Achilles1515 for doing all the heavy lifting by sharing his notes on the color addresses!
Last edited: