Difference between revisions of "Animate Unit Distorts"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 0008b234: 27bdffe8 addiu r29,r29,0xffe8 0008b238: afbf0010 sw r31,0x0010(r29) 0008b23c: 90830087 lbu r3,0x0087(r4) 0008b240: 00000000 nop 0008...")
 
Line 3: Line 3:
 
  0008b234: 27bdffe8 addiu r29,r29,0xffe8
 
  0008b234: 27bdffe8 addiu r29,r29,0xffe8
 
  0008b238: afbf0010 sw r31,0x0010(r29)
 
  0008b238: afbf0010 sw r31,0x0010(r29)
  0008b23c: 90830087 lbu r3,0x0087(r4)
+
  0008b23c: 90830087 lbu r3,0x0087(r4) Load... erm... one byte above map level!
 
  0008b240: 00000000 nop
 
  0008b240: 00000000 nop
  0008b244: 1060000d beq r3,r0,0x0008b27c
+
  0008b244: 1060000d beq r3,r0,0x0008b27c #Branch if 0
  0008b248: 2c620012 sltiu r2,r3,0x0012
+
  0008b248: 2c620012 sltiu r2,r3,0x0012 |set r2 = 1 if r3 < 0x12
  0008b24c: 10400009 beq r2,r0,0x0008b274
+
  0008b24c: 10400009 beq r2,r0,0x0008b274 $Branch if r3 > 0x12
  0008b250: 00031080 sll r2,r3,0x02
+
  0008b250: 00031080 sll r2,r3,0x02 |?? * 4
  0008b254: 3c018009 lui r1,0x8009
+
  0008b254: 3c018009 lui r1,0x8009 |
  0008b258: 00220821 addu r1,r1,r2
+
  0008b258: 00220821 addu r1,r1,r2 |pointer of some kind
  0008b25c: 8c223da0 lw r2,0x3da0(r1)
+
  0008b25c: 8c223da0 lw r2,0x3da0(r1) |Loads table for... locations
  0008b260: 00000000 nop
+
  0008b260: 00000000 nop |
  0008b264: 0040f809 jalr r2,r31
+
  0008b264: 0040f809 jalr r2,r31 |jump and link to r2
  0008b268: 00000000 nop
+
  0008b268: 00000000 nop |
  0008b26c: 08022c9f j 0x0008b27c
+
  0008b26c: 08022c9f j 0x0008b27c #jump to end of routine
  0008b270: 00000000 nop
+
  0008b270: 00000000 nop |
  0008b274: 0c011282 jal 0x00044a08
+
  0008b274: 0c011282 jal 0x00044a08 $[[00044a08 - 00044a30]]
  0008b278: 34040017 ori r4,r0,0x0017
+
  0008b278: 34040017 ori r4,r0,0x0017 |r4 = 0x17
  0008b27c: 8fbf0010 lw r31,0x0010(r29)
+
  0008b27c: 8fbf0010 lw r31,0x0010(r29) #
 
  0008b280: 27bd0018 addiu r29,r29,0x0018
 
  0008b280: 27bd0018 addiu r29,r29,0x0018
 
  0008b284: 03e00008 jr r31
 
  0008b284: 03e00008 jr r31
 
  0008b288: 00000000 nop
 
  0008b288: 00000000 nop
 
</font>
 
</font>

Revision as of 09:12, 26 June 2021

0008b234: 27bdffe8 addiu r29,r29,0xffe8
0008b238: afbf0010 sw r31,0x0010(r29)
0008b23c: 90830087 lbu r3,0x0087(r4)			Load... erm... one byte above map level!
0008b240: 00000000 nop
0008b244: 1060000d beq r3,r0,0x0008b27c			#Branch if 0
0008b248: 2c620012 sltiu r2,r3,0x0012				|set r2 = 1 if r3 < 0x12
0008b24c: 10400009 beq r2,r0,0x0008b274				$Branch if r3 > 0x12
0008b250: 00031080 sll r2,r3,0x02					|?? * 4
0008b254: 3c018009 lui r1,0x8009					|
0008b258: 00220821 addu r1,r1,r2					|pointer of some kind
0008b25c: 8c223da0 lw r2,0x3da0(r1)					|Loads table for... locations
0008b260: 00000000 nop							|
0008b264: 0040f809 jalr r2,r31						|jump and link to r2
0008b268: 00000000 nop							|
0008b26c: 08022c9f j 0x0008b27c						#jump to end of routine
0008b270: 00000000 nop							|
0008b274: 0c011282 jal 0x00044a08				$00044a08 - 00044a30
0008b278: 34040017 ori r4,r0,0x0017				|r4 = 0x17
0008b27c: 8fbf0010 lw r31,0x0010(r29)			#
0008b280: 27bd0018 addiu r29,r29,0x0018
0008b284: 03e00008 jr r31
0008b288: 00000000 nop