00174370-001743c4

From Final Fantasy Hacktics Wiki
Revision as of 12:08, 10 April 2022 by Orkney (talk | contribs)
Jump to navigation Jump to search
This page has a jump that links to the same place as Weather Elemental effects. As of yet I have no idea what it does... a check for the kind of weather Pallette? - Talcall
0x00174370: 27bdffe8 addiu r29,r29,-0x0018
0x00174374: afbd0010 sw r31, 0x0010(r29)
0x00174378: 0c063998 jal 0x0018e660    0018e660_-_0018e6b4 Returns weather value (+0x03 if snowy), 0x00 if ignored.
0x0017437c: 00000000 nop
0x00174380: 00401821 addu r3, r2, r0
0x00174384: 28620003 slti r2, r3, 0x0003
0x00174388: 1440000b bne r2, r0, 0x001743b8
0x0017438c: 34020001 ori r2, r0, 0x0001
0x00174390: 34020005 ori r2, r0, 0x0005
0x00174394: 14620003 bne r3, r2, 0x001743a4
0x00174398: 34020003 ori r2, r0, 0x0003
0x0017439c: 0805d0ee j 0x001743b8
0x001743a0: 34020001 ori r2, r0, 0x0001
0x001743a4: 10620003 beq r3, r2, 0x001743b4
0x001743a8: 34020006 ori r2, r0, 0x0006
0x001743ac: 14620002 bne r3, r2, 0x001743b8
0x001743b0: 34020003 ori r2, r0, 0x0003
0x001743b4: 34020002 ori r2, r0, 0x0002
0x001743b8: 8fbf0010 lw r31, 0x0010(r29)
0x001743bc: 27bd0018 addiu r29, r29, 0x0018
0x001743c0: 03e00008 jr r31
0x001743c4: 00000000 nop

Return location

Battle.bin
00174628: Store_movement_stuff_into_scratch_pad
0017833c: Calculate_Pathing