Difference between revisions of "Setup Secondary effect initialise table"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 000687a4: 3c018009 lui r1,0x8009 000687a8: ac2060f8 sw r0,0x60f8(r1) 000687ac: 3c018009 lui r1,0x8009 000687b0: ac2060fc sw r0,0x60fc(r1) clea...")
 
m
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<font face='Courier New'>
+
000687bc: a4a000a4 sh r0,0x00a4(r5) Store ? = 0
   
+
  000687c0: 90830004 lbu r3,0x0004(r4) Load Unit ID
  000687a4: 3c018009 lui r1,0x8009
+
  000687c4: 34020001 ori r2,r0,0x0001 r2 = 1
  000687a8: ac2060f8 sw r0,0x60f8(r1)
+
  000687c8: a4a20000 sh r2,0x0000(r5) Store No. targets = 1
  000687ac: 3c018009 lui r1,0x8009
+
000687cc: a4a00004 sh r0,0x0004(r5) Store animate on miss flag = 0
  000687b0: ac2060fc sw r0,0x60fc(r1) clear ?? data
+
  000687d0: a0a300a6 sb r3,0x00a6(r5) Store caster ID
  000687b4: 03e00008 jr r31
+
  000687d4: 90820004 lbu r2,0x0004(r4) Load Unit ID
  `000687b8: 00000000 nop
+
  000687d8: 03e00008 jr r31
</font>
+
  000687dc: a0a20006 sb r2,0x0006(r5) Store Target Id
 +
 
 +
==Return locations==
 +
'''Battle.bin'''
 +
00069ef0: 00069ee0 - 00069f10 [[Transfer Palette and store 0x7F in misc data]]
 +
00068a38: 00068a20 - 00068a70 [[Set some palette stuff]]
 +
 
 +
==< [[BATTLE.BIN Routines]]==
 +
<div style="float:left;">< [[Clear 960f8 and 960fc]]</div><div style="float:right;">[[Set evade special effects based on Evade Type]] ></div>
 +
 
 +
 
 +
==Referenced in as struct==
 +
[[Initialise Secondary Effect]]
 +
[[Ability animation]]

Latest revision as of 12:33, 16 March 2024

000687bc: a4a000a4 sh r0,0x00a4(r5)		Store ? = 0
000687c0: 90830004 lbu r3,0x0004(r4)		Load Unit ID
000687c4: 34020001 ori r2,r0,0x0001		r2 = 1
000687c8: a4a20000 sh r2,0x0000(r5)		Store No. targets = 1
000687cc: a4a00004 sh r0,0x0004(r5)		Store animate on miss flag = 0
000687d0: a0a300a6 sb r3,0x00a6(r5)		Store caster ID
000687d4: 90820004 lbu r2,0x0004(r4)		Load Unit ID
000687d8: 03e00008 jr r31
000687dc: a0a20006 sb r2,0x0006(r5)		Store Target Id

Return locations

Battle.bin
00069ef0: 00069ee0 - 00069f10	Transfer Palette and store 0x7F in misc data
00068a38: 00068a20 - 00068a70	Set some palette stuff

< BATTLE.BIN Routines

< Clear 960f8 and 960fc
Set evade special effects based on Evade Type >


Referenced in as struct

Initialise Secondary Effect
Ability animation