*One-Digit Experience*

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
*One-Digit Experience*
00080bc4: 00002821 addu r5,r0,r0           ;   Section Counter = 0
00080bc8: 2406fff9 addiu r6,r0,0xfff9      ;   X Shift = -0x07
00080bcc: 2407ffe8 addiu r7,r0,0xffe8      ;   Y Shift = -0x18
00080bd0: 340200c0 ori r2,r0,0x00c0        ;   (Exp. icon)
00080bd4: afa20010 sw r2,0x0010(r29)       ;   Store X Location = 0xc0
00080bd8: 340200b8 ori r2,r0,0x00b8
00080bdc: afa20014 sw r2,0x0014(r29)       ;   Store Y Location = 0xb8
00080be0: 34020012 ori r2,r0,0x0012
00080be4: afa20018 sw r2,0x0018(r29)       ;   Store Image Width = 0x12
00080be8: 34020009 ori r2,r0,0x0009
00080bec: afa2001c sw r2,0x001c(r29)       ;   Store Image Height = 0x09
00080bf0: 0c01ed3b jal 0x0007b4ec          ;   Store Display Data
00080bf4: afa00020 sw r0,0x0020(r29)       ;   Store Y Location Byte 2? = 0
00080bf8: 02402021 addu r4,r18,r0          ;   r4 = Load Numerical? Display Pointer 2
00080bfc: 00002821 addu r5,r0,r0           ;   Section Counter = 0
00080c00: 2406fff2 addiu r6,r0,0xfff2      ;   X Shift = -0x0e
00080c04: 2407ffe0 addiu r7,r0,0xffe0      ;   Y Shift = -0x20
00080c08: 8fa20028 lw r2,0x0028(r29)       ;   Load Number's 1's Digit
00080c0c: 34030030 ori r3,r0,0x0030
00080c10: afa30014 sw r3,0x0014(r29)       ;   Store Y Location = 0x30
00080c14: 34030008 ori r3,r0,0x0008
00080c18: afa30018 sw r3,0x0018(r29)       ;   Store Image Width = 8
00080c1c: 34030010 ori r3,r0,0x0010
00080c20: afa3001c sw r3,0x001c(r29)       ;   Store Image Height = 0x10
00080c24: afa00020 sw r0,0x0020(r29)       ;   Store Y Location Byte 2? = 0
00080c28: 000210c0 sll r2,r2,0x03          ;   Number * 8
00080c2c: 244200a8 addiu r2,r2,0x00a8      ;   Number * 8 + a8
00080c30: 00021400 sll r2,r2,0x10
00080c34: 00021403 sra r2,r2,0x10
00080c38: 080203bf j 0x00080efc
00080c3c: afa20010 sw r2,0x0010(r29)       ;   Store X Location = Number * 8 + a 8