Difference between revisions of "Get Item Data Pointer"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 4 users not shown)
Line 10: Line 10:
  
  
[[Return Locations]]
 
  
  00082640: 00082620
+
== Return Locations ==
  0008377c: 00083758
+
 
  00133b9c: 00133754 - looks interesting
+
 
  00136b20: 00136b10
+
'''ATTACK.OUT'''
  00142294: 00141b0c
+
0x801c6068
  001422ac: ^^
+
   
  001422f8: ^^
+
  '''BATTLE.BIN'''
  001c2cd0: 001c2888
+
  0x80082640
  001c5d58: 001c58d0
+
0x8008377c - [[Set_thrown_item_graphic/palette]]
  001c5ea4: 001c5e48
+
0x80133b9c
  001c5f6c: 001c5f10
+
0x80136b20
  001c72ac: 001c7170
+
0x80142294 - [[Routine at 141b0c]]
 +
0x801422ac
 +
0x801422f8
 +
 +
'''OPTION.OUT'''
 +
0x801c10a4
 +
 +
'''REQUIRE.OUT'''
 +
0x801c2cd0
 +
0x801c5d58
 +
0x801c5ea4
 +
0x801c5f6c
 +
  0x801c72ac
 +
   
 +
  '''WORLD.BIN'''
 +
  0x800e8214
 +
  0x800ea9a0
 +
  0x800f5b0c
 +
  0x800f5b24
 +
  0x800f5b70
 +
  0x801024e0

Latest revision as of 01:51, 21 February 2023

Get Item Data Pointer
0005a884: 308400ff andi r4,r4,0x00ff		r4 = Item ID
0005a888: 00041040 sll r2,r4,0x01		ID * 2
0005a88c: 00441021 addu r2,r2,r4		ID * 3
0005a890: 00021080 sll r2,r2,0x02		ID * 12
0005a894: 3c038006 lui r3,0x8006
0005a898: 24632eb8 addiu r3,r3,0x2eb8
0005a89c: 03e00008 jr r31
0005a8a0: 00431021 addu r2,r2,r3		r2 = Item Data Pointer


Return Locations

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