Difference between revisions of "Get Item Data Pointer"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
  Get Item Data Pointer
+
  '''ATTACK.OUT'''
  0005a884: 308400ff andi r4,r4,0x00ff r4 = Item ID
+
  0x801c6068
  0005a888: 00041040 sll r2,r4,0x01 ID * 2
+
   
  0005a88c: 00441021 addu r2,r2,r4 ID * 3
+
  '''BATTLE.BIN'''
  0005a890: 00021080 sll r2,r2,0x02 ID * 12
+
  0x80082640
  0005a894: 3c038006 lui r3,0x8006
+
  0x8008377c - [[Set_thrown_item_graphic/palette]]
  0005a898: 24632eb8 addiu r3,r3,0x2eb8
+
  0x80133b9c
  0005a89c: 03e00008 jr r31
+
  0x80136b20
  0005a8a0: 00431021 addu r2,r2,r3 r2 = Item Data Pointer
+
  0x80142294 - [[Routine at 141b0c]]
 
+
0x801422ac
 
+
0x801422f8
 
+
== Return Locations ==
+
'''OPTION.OUT'''
 
+
0x801c10a4
 
+
  00082640: 00082620
+
'''REQUIRE.OUT'''
  0008377c: [[Set_thrown_item_graphic/palette]]
+
0x801c2cd0
  00133b9c: 00133754 - looks interesting
+
  0x801c5d58
  00136b20: 00136b10
+
  0x801c5ea4
  00142294: [[Routine at 141b0c]]
+
  0x801c5f6c
  001422ac: ^^
+
  0x801c72ac
  001422f8: ^^
+
   
  001c2cd0: 001c2888
+
  '''WORLD.BIN'''
  001c5d58: 001c58d0
+
  0x800e8214
  001c5ea4: 001c5e48
+
  0x800ea9a0
  001c5f6c: 001c5f10
+
  0x800f5b0c
  001c72ac: 001c7170
+
  0x800f5b24
 +
  0x800f5b70
 +
  0x801024e0

Revision as of 01:50, 21 February 2023

ATTACK.OUT
0x801c6068

BATTLE.BIN
0x80082640
0x8008377c - Set_thrown_item_graphic/palette
0x80133b9c
0x80136b20
0x80142294 - Routine at 141b0c
0x801422ac
0x801422f8

OPTION.OUT
0x801c10a4

REQUIRE.OUT
0x801c2cd0
0x801c5d58
0x801c5ea4
0x801c5f6c
0x801c72ac

WORLD.BIN
0x800e8214
0x800ea9a0
0x800f5b0c
0x800f5b24
0x800f5b70
0x801024e0