0013e81c - 0013e870

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

< BATTLE.BIN Routines

# WORLD.BIN: 000f2134 - 000f2188

0013e81c: 27bdffe8 addiu r29,r29,0xffe8
0013e820: afbf0010 sw r31,0x0010(r29)
0013e824: 0c04ed64 jal 0x0013b590       # Get Script Variable
0013e828: 340401fc ori r4,r0,0x01fc
0013e82c: 1440000d bne r2,r0,0x0013e864
0013e830: 34020002 ori r2,r0,0x0002
0013e834: 3c018016 lui r1,0x8016
0013e838: a4225fda sh r2,0x5fda(r1)
0013e83c: 0c04ef05 jal 0x0013bc14       # Load File (0x13bc14)
0013e840: 3404000d ori r4,r0,0x000d
0013e844: 0c0532a0 jal 0x0014ca80       # Switch To Next Thread
0013e848: 00000000 nop
0013e84c: 0c070d2d jal 0x001c34b4       # Load Scenario Conditionals
0013e850: 00000000 nop
0013e854: 0c071ff9 jal 0x001c7fe4       # Call Find Formation Palette Index (ATTACK.OUT)
0013e858: 00000000 nop
0013e85c: 0c072001 jal 0x001c8004       # Call Portrait loading routine (ATTACK.OUT)
0013e860: 00000000 nop
0013e864: 8fbf0010 lw r31,0x0010(r29)
0013e868: 27bd0018 addiu r29,r29,0x0018
0013e86c: 03e00008 jr r31
0013e870: 00000000 nop