Equipment/Move/Jump +X/Name Storing/Generation

From Final Fantasy Hacktics Wiki
Jump to: navigation, search
Equipment/Move/Jump +X/Name Storing/Generation
0005ab00: 27bdffe8 addiu r29,r29,0xffe8
0005ab04: afb00010 sw r16,0x0010(r29)
0005ab08: afbf0014 sw r31,0x0014(r29)
0005ab0c: 0c0170e6 jal 0x0005c398		Equipment Stat Setting
0005ab10: 00808021 addu r16,r4,r0		r16 = Unit's Data Pointer
0005ab14: 02002021 addu r4,r16,r0		r4 = Unit's Data Pointer
0005ab18: 0c017172 jal 0x0005c5c8		Equipment Attribute Setting
0005ab1c: 34050001 ori r5,r0,0x0001		r5 = 1 (Level UP calculation)
0005ab20: 02002021 addu r4,r16,r0		r4 = Unit's Data Pointer
0005ab24: 0c01723b jal 0x0005c8ec		Move/Jump +X Calculation
0005ab28: 00002821 addu r5,r0,r0		r5 = 0 (Set HP/MP to Max)
0005ab2c: 0c017261 jal 0x0005c984		Store/Generate Character Names
0005ab30: 02002021 addu r4,r16,r0		r4 = Unit's Data Pointer
0005ab34: 8fbf0014 lw r31,0x0014(r29)
0005ab38: 8fb00010 lw r16,0x0010(r29)
0005ab3c: 27bd0018 addiu r29,r29,0x0018
0005ab40: 03e00008 jr r31
0005ab44: 00000000 nop


Return Locations

0005a980:  Initialize Unit's Job Data
0005aad0:  Unit Battle Initialization