Difference between revisions of "Attack"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " *Attack* 00195944: 02151021 addu r2,r16,r21 00195948: 9042198c lbu r2,0x198c(r2) Load Unit's Battle ID 0019594c: 00000000 nop 00195950: 000210c0 sll r2,r2,0x03 ID * 8 ...")
 
(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
*Attack*
+
 
00195944: 02151021 addu r2,r16,r21
 
00195948: 9042198c lbu r2,0x198c(r2) Load Unit's Battle ID
 
0019594c: 00000000 nop
 
00195950: 000210c0 sll r2,r2,0x03 ID * 8
 
00195954: 24421778 addiu r2,r2,0x1778
 
00195958: 02021821 addu r3,r16,r2
 
0019595c: 90620000 lbu r2,0x0000(r3) Load Weapon's Range
 
00195960: 00000000 nop
 
00195964: a2020004 sb r2,0x0004(r16) Store Ability's Range
 
00195968: 90620005 lbu r2,0x0005(r3) Load Weapon's Elements
 
0019596c: 00000000 nop
 
00195970: a2020010 sb r2,0x0010(r16) Store Ability's Elements
 
00195974: 90620004 lbu r2,0x0004(r3) Load Weapon ID
 
00195978: 00000000 nop
 
0019597c: a2020006 sb r2,0x0006(r16) Store Item Considered
 
00195980: 90620001 lbu r2,0x0001(r3) Load AI Behavior Flags 1
 
00195984: 00000000 nop
 
00195988: a202000c sb r2,0x000c(r16) Store AI Behavior Flags 1
 
0019598c: 90620002 lbu r2,0x0002(r3) Load AI Behavior Flags 2
 
00195990: 00000000 nop
 
00195994: a202000d sb r2,0x000d(r16) Store AI Behavior Flags 2
 
00195998: 90620003 lbu r2,0x0003(r3) Load AI Behavior Flags 3
 
0019599c: 00000000 nop
 
001959a0: a202000e sb r2,0x000e(r16) Store AI Behavior Flags 3
 
001959a4: 92820003 lbu r2,0x0003(r20) Load Usage Type?
 
001959a8: 00000000 nop
 
001959ac: a202000f sb r2,0x000f(r16) Store Usage Type?
 
001959b0: 34020009 ori r2,r0,0x0009 r2 = 9
 
001959b4: 16e200eb bne r23,r2,0x 00195d64 Branch if Action menu != Jump
 
001959b8: 2403fffe addiu r3,r0,0xfffe r3 = FFFE
 
001959bc: 8e02000c lw r2,0x000c(r16) Load AI Behavior Flags 1
 
001959c0: 00000000 nop
 
001959c4: 34420002 ori r2,r2,0x0002 Enable Target Enemies
 
001959c8: 00431024 and r2,r2,r3 Disable Target Allies
 
001959cc: 08065759 j 0x 00195d64
 
001959d0: ae02000c sw r2,0x000c(r16) Store new AI Behavior Flags 1
 

Latest revision as of 18:12, 4 May 2024