Get Item Data Pointer

From Final Fantasy Hacktics Wiki
Revision as of 01:51, 21 February 2023 by Pride (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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