Range 1 Ability Used

From Final Fantasy Hacktics Wiki
(Redirected from 00072b50 - 00072bec)
Jump to navigation Jump to search
00072b50: 27bdffe0 addiu r29,r29,0xffe0
00072b54: afbf001c sw r31,0x001c(r29)
00072b58: 0c01bbbc jal 0x0006eef0			Set Game Flow Variable to 0
00072b5c: afb00018 sw r16,0x0018(r29)
00072b60: 34020016 ori r2,r0,0x0016
00072b64: 3c018009 lui r1,0x8009
00072b68: ac2260e4 sw r2,0x60e4(r1)			store display = 16
00072b6c: 0c01e886 jal 0x0007a218			Get Casting units Misc Data
00072b70: 00000000 nop
00072b74: 00408021 addu r16,r2,r0
00072b78: 8e030174 lw r3,0x0174(r16)		load ability range?
00072b7c: 34020003 ori r2,r0,0x0003
00072b80: 14620003 bne r3,r2,0x00072b90		branch if not 3
00072b84: 34040001 ori r4,r0,0x0001
00072b88: 0801cae5 j 0x00072b94
00072b8c: 34050001 ori r5,r0,0x0001
00072b90: 00002821 addu r5,r0,r0
00072b94: 00003821 addu r7,r0,r0
00072b98: 8e020134 lw r2,0x0134(r16)		load unit data
00072b9c: 9203013d lbu r3,0x013d(r16)		load entd flags
00072ba0: 9046018a lbu r6,0x018a(r2)		load entd ID
00072ba4: 30630008 andi r3,r3,0x0008
00072ba8: 0c05066e jal 0x001419b8			go to targeting (System function setup routine)
00072bac: afa30010 sw r3,0x0010(r29)		store control check
00072bb0: 9202013d lbu r2,0x013d(r16)
00072bb4: 00000000 nop
00072bb8: 30420008 andi r2,r2,0x0008
00072bbc: 10400005 beq r2,r0,0x00072bd4		branch if not under player control
00072bc0: 00000000 nop
00072bc4: 0c01a0f0 jal 0x000683c0			Store AT list ID = 1
00072bc8: 00000000 nop
00072bcc: 0801caf7 j 0x00072bdc
00072bd0: 00000000 nop
00072bd4: 0c01a0f5 jal 0x000683d4			Store AT list ID = 0
00072bd8: 00000000 nop
00072bdc: 8fbf001c lw r31,0x001c(r29)
00072be0: 8fb00018 lw r16,0x0018(r29)
00072be4: 27bd0020 addiu r29,r29,0x0020
00072be8: 03e00008 jr r31
00072bec: 00000000 nop

Return Locations

Battle.bin 
000755a8: Set move/act based on skillset