Difference between revisions of "Check for tile, status palette mod"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(added jal link)
(added jal link)
 
(2 intermediate revisions by the same user not shown)
Line 19: Line 19:
 
  000824b0: 00000000 nop
 
  000824b0: 00000000 nop
 
  000824b4: 92040131 lbu r4,0x0131(r16)
 
  000824b4: 92040131 lbu r4,0x0131(r16)
  000824b8: 0c01e9b9 jal 0x0007a6e4
+
  000824b8: 0c01e9b9 jal 0x0007a6e4           # [[Get_Unit_Misc_Data_Pointer_from_Unit_Misc_ID]]
 
  000824bc: 00000000 nop
 
  000824bc: 00000000 nop
 
  000824c0: 00402021 addu r4,r2,r0
 
  000824c0: 00402021 addu r4,r2,r0
Line 29: Line 29:
 
  000824d8: 14400003 bne r2,r0,0x000824e8
 
  000824d8: 14400003 bne r2,r0,0x000824e8
 
  000824dc: 02202821 addu r5,r17,r0
 
  000824dc: 02202821 addu r5,r17,r0
  000824e0: 0c0208af jal 0x000822bc
+
  000824e0: 0c0208af jal 0x000822bc           # [[Palette_mod_by_status]]
 
  000824e4: 02403021 addu r6,r18,r0
 
  000824e4: 02403021 addu r6,r18,r0
 
  000824e8: 8fbf0020 lw r31,0x0020(r29)
 
  000824e8: 8fbf0020 lw r31,0x0020(r29)
Line 39: Line 39:
 
  00082500: 03e00008 jr r31
 
  00082500: 03e00008 jr r31
 
  00082504: 00000000 nop
 
  00082504: 00000000 nop
 +
 +
== Return Locations ==
 +
[[Misc_unit_data_initialization]]
 +
[[Sprite_changing_stuff]]
 +
[[Status/sprite_transformation/animation_display_setting]]
 +
[[Poach/Morbol_Transformation]]
 +
[[0006d598_-_0006d798]]
 +
[[0008a884_-_0008a920]]

Latest revision as of 18:57, 28 June 2025

00082468: 27bdffd8 addiu r29,r29,0xffd8
0008246c: afb00010 sw r16,0x0010(r29)
00082470: 00808021 addu r16,r4,r0
00082474: afb10014 sw r17,0x0014(r29)
00082478: 00a08821 addu r17,r5,r0
0008247c: afb20018 sw r18,0x0018(r29)
00082480: afbf0020 sw r31,0x0020(r29)
00082484: afb3001c sw r19,0x001c(r29)
00082488: 8e020080 lw r2,0x0080(r16)
0008248c: 3c130400 lui r19,0x0400
00082490: 00531024 and r2,r2,r19
00082494: 14400003 bne r2,r0,0x000824a4
00082498: 00c09021 addu r18,r6,r0
0008249c: 0c0208af jal 0x000822bc           # Palette_mod_by_status
000824a0: 00000000 nop
000824a4: 92020130 lbu r2,0x0130(r16)
000824a8: 00000000 nop
000824ac: 1040000e beq r2,r0,0x000824e8
000824b0: 00000000 nop
000824b4: 92040131 lbu r4,0x0131(r16)
000824b8: 0c01e9b9 jal 0x0007a6e4           # Get_Unit_Misc_Data_Pointer_from_Unit_Misc_ID
000824bc: 00000000 nop
000824c0: 00402021 addu r4,r2,r0
000824c4: 10800008 beq r4,r0,0x000824e8
000824c8: 00000000 nop
000824cc: 8c820080 lw r2,0x0080(r4)
000824d0: 00000000 nop
000824d4: 00531024 and r2,r2,r19
000824d8: 14400003 bne r2,r0,0x000824e8
000824dc: 02202821 addu r5,r17,r0
000824e0: 0c0208af jal 0x000822bc           # Palette_mod_by_status
000824e4: 02403021 addu r6,r18,r0
000824e8: 8fbf0020 lw r31,0x0020(r29)
000824ec: 8fb3001c lw r19,0x001c(r29)
000824f0: 8fb20018 lw r18,0x0018(r29)
000824f4: 8fb10014 lw r17,0x0014(r29)
000824f8: 8fb00010 lw r16,0x0010(r29)
000824fc: 27bd0028 addiu r29,r29,0x0028
00082500: 03e00008 jr r31
00082504: 00000000 nop

Return Locations

Misc_unit_data_initialization
Sprite_changing_stuff
Status/sprite_transformation/animation_display_setting
Poach/Morbol_Transformation
0006d598_-_0006d798
0008a884_-_0008a920