Difference between revisions of "Clear Some stuff for Untargetable Terrain"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 0017925c: 00002821 addu r5,r0,r0 00179260: 3c038019 lui r3,0x8019 00179264: 24632dd8 addiu r3,r3,0x2dd8 00179268: 3c048019 lui r4,0x8019 00179...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<font face='Courier New'>
 
<font face='Courier New'>
 +
Clear Some stuff for Untargetable Terrain 17925c: [[0017925c - 001792a0]]
 +
 
   
 
   
 
  0017925c: 00002821 addu r5,r0,r0
 
  0017925c: 00002821 addu r5,r0,r0
  00179260: 3c038019 lui r3,0x8019
+
  00179260: 3c038019 lui r3,0x8019
 
  00179264: 24632dd8 addiu r3,r3,0x2dd8
 
  00179264: 24632dd8 addiu r3,r3,0x2dd8
  00179268: 3c048019 lui r4,0x8019
+
  00179268: 3c048019 lui r4,0x8019
 
  0017926c: 2484f8cc addiu r4,r4,0xf8cc
 
  0017926c: 2484f8cc addiu r4,r4,0xf8cc
  00179270: 90820006 lbu r2,0x0006(r4)
+
  00179270: 90820006 lbu r2,0x0006(r4) Load Selectability
 
  00179274: 00000000 nop
 
  00179274: 00000000 nop
  00179278: 30420002 andi r2,r2,0x0002
+
  00179278: 30420002 andi r2,r2,0x0002 Cannot target check
  0017927c: 10400003 beq r2,r0,0x0017928c
+
  0017927c: 10400003 beq r2,r0,0x0017928c Branch if Selectable
 
  00179280: 24840008 addiu r4,r4,0x0008
 
  00179280: 24840008 addiu r4,r4,0x0008
  00179284: a0600000 sb r0,0x0000(r3)
+
  00179284: a0600000 sb r0,0x0000(r3) Store AoE of panels to highlight (1 only highlights panel, 2 highlights AoE 1 panels, etc.)
  00179288: a0600001 sb r0,0x0001(r3)
+
  00179288: a0600001 sb r0,0x0001(r3) Store set to 01 when panel is green (targeted with ability)
 
  0017928c: 24a50001 addiu r5,r5,0x0001
 
  0017928c: 24a50001 addiu r5,r5,0x0001
  00179290: 28a20100 slti r2,r5,0x0100
+
  00179290: 28a20100 slti r2,r5,0x0100 Do for all map level 1 panels
  00179294: 1440fff6 bne r2,r0,0x00179270
+
  00179294: 1440fff6 bne r2,r0,0x00179270 Branch if so
  00179298: 24630005 addiu r3,r3,0x0005
+
  00179298: 24630005 addiu r3,r3,0x0005
  0017929c: 03e00008 jr r31
+
  0017929c: 03e00008 jr r31 Jump to Address
 
  001792a0: 00000000 nop
 
  001792a0: 00000000 nop
</font>
+
 +
</font>

Latest revision as of 02:02, 14 February 2015

Clear Some stuff for Untargetable Terrain 17925c: 0017925c - 001792a0


0017925c: 00002821 addu r5,r0,r0
00179260: 3c038019 lui r3,0x8019			
00179264: 24632dd8 addiu r3,r3,0x2dd8
00179268: 3c048019 lui r4,0x8019			
0017926c: 2484f8cc addiu r4,r4,0xf8cc
00179270: 90820006 lbu r2,0x0006(r4)			Load Selectability
00179274: 00000000 nop
00179278: 30420002 andi r2,r2,0x0002			Cannot target check
0017927c: 10400003 beq r2,r0,0x0017928c			Branch if Selectable
00179280: 24840008 addiu r4,r4,0x0008
00179284: a0600000 sb r0,0x0000(r3)			Store AoE of panels to highlight (1 only highlights panel, 2 highlights AoE 1 panels, etc.)
00179288: a0600001 sb r0,0x0001(r3)			Store set to 01 when panel is green (targeted with ability)
0017928c: 24a50001 addiu r5,r5,0x0001
00179290: 28a20100 slti r2,r5,0x0100			Do for all map level 1 panels
00179294: 1440fff6 bne r2,r0,0x00179270			Branch if so
00179298: 24630005 addiu r3,r3,0x0005			
0017929c: 03e00008 jr r31			Jump to Address
001792a0: 00000000 nop