Difference between revisions of "Transfer Job's Growths/Mults to Unit"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " Transfer Job's Growths/Mults to Unit 0005a520: 27bdffe8 addiu r29,r29,0xffe8 0005a524: 00802821 addu r5,r4,r0 r5 = Unit's Data Pointer 0005a528: afbf0010 sw r31,0x0010(r2...")
 
 
Line 18: Line 18:
 
  0005a560: 03e00008 jr r31
 
  0005a560: 03e00008 jr r31
 
  0005a564: 00000000 nop
 
  0005a564: 00000000 nop
 +
 +
 +
 +
== Return Locations ==
 +
 +
0005aa64:  [[Unit Battle Initialization]]

Latest revision as of 00:54, 29 February 2012

Transfer Job's Growths/Mults to Unit
0005a520: 27bdffe8 addiu r29,r29,0xffe8
0005a524: 00802821 addu r5,r4,r0		r5 = Unit's Data Pointer
0005a528: afbf0010 sw r31,0x0010(r29)
0005a52c: 90a20003 lbu r2,0x0003(r5)		Load Unit's Job ID
0005a530: 24a50081 addiu r5,r5,0x0081		r5 = Unit's HP Growth Pointer
0005a534: 3406000a ori r6,r0,0x000a		Limit = 10
0005a538: 00022040 sll r4,r2,0x01		ID * 2
0005a53c: 00822021 addu r4,r4,r2		ID * 3
0005a540: 3c028006 lui r2,0x8006
0005a544: 8c426194 lw r2,0x6194(r2)		Load Job Data Pointer
0005a548: 00042100 sll r4,r4,0x04		ID * 48
0005a54c: 00822021 addu r4,r4,r2
0005a550: 0c017895 jal 0x0005e254		Store X Byte into Y (Stat  Growths/Multipliers)
0005a554: 2484000d addiu r4,r4,0x000d		r4 = Job's HP Growth Pointer
0005a558: 8fbf0010 lw r31,0x0010(r29)
0005a55c: 27bd0018 addiu r29,r29,0x0018
0005a560: 03e00008 jr r31
0005a564: 00000000 nop


Return Locations

0005aa64:  Unit Battle Initialization