_JAL to Launch
_Not Used: Ocarina, Lens, Nut, Bean
0x8038A4D8 Jump Back (Use Melee Weapons)
0x8038AFC8 Jump Back (Put Away Swords)
0x8038AFD8 Jump Back (Put Away Items)
Items: Deku Stick, Slingshot, Boomerang, Bottle, Megaton Hammer
0x8038B004 Jump Back (Pull Out Swords & Deku Stick)
0x8038B024 Jump Back (Pull Out Items)
Items: Bomb, Bombchu, Boomerang, Slingshot, Hookshot, Longshot, Empty Bottle, Megaton Hammer
0x8038CCC8 Jump Back (Use Masks & Custom Items)
_Magic
0x800725D0
0x80072734
0x80072CF8
0x80079D4C V0 = A1 - 0x12
0x80079D50 BLTZ V0, 0x80079D68 (Branch if action is below 12)
0x8038CA14 V1, 0x8038CE98 (Some items jump here)
0x8038CA3C BEQ A2, R0, 0x8038CA74 (Branch if action is 0)
0x8038CA4C BGEZL T0, 0x8038CA78 (Branch if not in water)
0x8038CA54 Get swim state
0x8038CA58 AT, R0, 0x0010 (10 = Hookshot)
0x8038CA68 BEQ A2, AT, 0x8038CA74 (Branch if action is 10 (Hookshot))
0x8038CA6C AT, R0, 0x0011 (11 = Longshot)
0x8038CA70 BNE A2, AT, 0x8038CE98 (Branch if action isn't 0x11 (Longshot))
0x8038CA78 some place
0x8038CA84 BNEZ T4, 0x8038CB48
0x8038CA88 NOP
0x8038CA8C BNE A2, AT, 0x8038CAAC (Branch if action isn't 6 (Deku Stick))
0x8038CAA8 BEQ T7, R0, 0x8038CB38 (Branch if out of Ammo)
0x8038CAB4 BNE A2, AT, 0x8038CAD0 (Branch if action isn't 2E (Magic Bean))
0x8038CAD8 SB A2, 0x0027 (SP) (Store Action)
0x8038CADC Jump to 0x80079D48
0x8038CAE4 Return Here
0x8038CAEC LB A2, 0x0027 (SP) (Restore Action)
0x8038CAF0 BLTZ V0, 0x8038CB48
0x8038CB1C T5 = Ammunition
0x8038CB20 BEQ T5, R0, 0x8038CB38 (Branch if out of Ammo)
0x8038CB48 Some place
0x8038CB50 BNE A2, AT, 0x8038CBCC (Branch if action is not 42 (Lens of Truth))
0x8038CBD0 BNE A2, AT, 0x8038CC14 (Branch if action isn't 1B (Deku Nut))
0x8038CC14 Some place
0x8038CC30 BLTZ V0, 0x8038CCA0
0x8038CC3C BNEL A2, AT, 0x8038CC54 (Branch if action isn't 18 (Farore's Wind))
0x8038CC70 T7 = Current Magic
0x8038CC7C BNEZ AT, 0x8038CC90 (Branch if you have enough magic)
0x8038CCA4 BNEZ AT, 0x8038CCD8 (Branch if action is below 3A (Mask))
0x8038CCDC BNEZ AT, 0x8038CCE8 (Branch if action is below 1C)
0x8038CCE4 BNEZ AT, 0x8038CCF0 (Branch if action is below 1E (Ocarina))
0x8038CCEC BNEZ AT, 0x8038CD4C (Branch if action is below 1F (Empty Bottle))
0x8038CCF8 Call Dialog Trade Item???
0x8038CD10 BNEZ AT, 0x8038CE98 (Branch if action is below 25 (Use Bottle))
0x8038CD18 BEQL (Branch if action is action is above 2B (Dialog Items))
0x8038CD40 Set Perform Action on landing flag
0x8038CD44 Jump Back
0x8038CD48 Store Action to use when landing
0x8038CD50 BNEL A2, T4, 0x8038CBD88 (Branch if action isn't current action)
0x8038CD6C Store Action
0x8038CDD4 Jump
0x8038CDE4 BGEZ V0, 0x8038CE4C
0x8038CE70 Call pre Pull out Item
0x8038D1B0 Jump here to use bottle?
Injection Point
0x803AA6FC Item Action Table