00071ab8 - 00071b48

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

00071ab8: 27bdffe8 addiu r29,r29,0xffe8
00071abc: afbf0014 sw r31,0x0014(r29)
00071ac0: 0c01bbbc jal 0x0006eef0			#Set Game Flow Variable to 0
00071ac4: afb00010 sw r16,0x0010(r29)
00071ac8: 34020011 ori r2,r0,0x0011
00071acc: 3c018009 lui r1,0x8009
00071ad0: ac2260e4 sw r2,0x60e4(r1)			#set current display ID to 0x11
00071ad4: 0c01b957 jal 0x0006e55c			#Store Name and data of unit selected by cursor
00071ad8: 00000000 nop
00071adc: 0c01e875 jal 0x0007a1d4			#Get casting unit's misc data
00071ae0: 00000000 nop
00071ae4: 00408021 addu r16,r2,r0			#caster misc. data in r16
00071ae8: 0c01c69f jal 0x00071a7c			#00071a7c - 00071ab4 - moves positional data from here to there.
00071aec: 02002021 addu r4,r16,r0			#parse caster misc data pointer
00071af0: 92030130 lbu r3,0x0130(r16)			#load mount/rider value
00071af4: 34020002 ori r2,r0,0x0002
00071af8: 14620009 bne r3,r2,0x00071b20		#branch if caster is not mount
00071afc: 34022000 ori r2,r0,0x2000
00071b00: 92040131 lbu r4,0x0131(r16)			#find unit misc. data pointer of mountee
00071b04: 0c01e9b9 jal 0x0007a6e4			#Get Unit Misc Data Pointer
00071b08: 00000000 nop
00071b0c: 10400003 beq r2,r0,0x00071b1c		#branch if none.
00071b10: 00000000 nop
00071b14: 0c01c69f jal 0x00071a7c			#00071a7c - 00071ab4
00071b18: 00402021 addu r4,r2,r0
00071b1c: 34022000 ori r2,r0,0x2000
00071b20: ae02003c sw r2,0x003c(r16)			#initialises some movement flag to 0x2000?
00071b24: ae000098 sw r0,0x0098(r16)			#clear number of moved tiles
00071b28: 3c018009 lui r1,0x8009
00071b2c: ac20612c sw r0,0x612c(r1)			#Initialise attack finished flag
00071b30: 0c01a0f5 jal 0x000683d4			#Store AT list ID = 0
00071b34: 00000000 nop
00071b38: 8fbf0014 lw r31,0x0014(r29)
00071b3c: 8fb00010 lw r16,0x0010(r29)
00071b40: 27bd0018 addiu r29,r29,0x0018
00071b44: 03e00008 jr r31
00071b48: 00000000 nop