Difference between revisions of "Set evade type data and weapon element effect"
Jump to navigation
Jump to search
(Return locations and navigation) |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
0006894c: 27bdff18 addiu r29,r29,0xff18 | 0006894c: 27bdff18 addiu r29,r29,0xff18 | ||
00068950: afb000d8 sw r16,0x00d8(r29) | 00068950: afb000d8 sw r16,0x00d8(r29) | ||
Line 22: | Line 20: | ||
00068998: 27bd00e8 addiu r29,r29,0x00e8 | 00068998: 27bd00e8 addiu r29,r29,0x00e8 | ||
0006899c: 03e00008 jr r31 | 0006899c: 03e00008 jr r31 | ||
− | + | 000689a0: 00000000 nop | |
− | < | + | |
+ | ==Return locations== | ||
+ | '''Battle.bin''' | ||
+ | 00068c60: 00068c18 - 00068c7c [[Set Bow Hardcoding]] | ||
+ | 00084adc: 00084818 - 00085230 [[Load Unit graphics from sprite sheet]] | ||
+ | |||
+ | ==Navigation== | ||
+ | [[BATTLE.BIN Routines]] | ||
+ | |||
+ | < [[Set evade special effects based on Evade Type]] | [[Set evade type data, item and throw stone hardcoding]] > |
Revision as of 21:41, 6 April 2023
0006894c: 27bdff18 addiu r29,r29,0xff18 00068950: afb000d8 sw r16,0x00d8(r29) 00068954: 00808021 addu r16,r4,r0 00068958: afb100dc sw r17,0x00dc(r29) 0006895c: 00a08821 addu r17,r5,r0 r17 = 0 if executing attack... 1 if bow hardcoding 00068960: afbf00e0 sw r31,0x00e0(r29) 00068964: 0c01a1f8 jal 0x000687e0 set special effects for attack 00068968: 27a50010 addiu r5,r29,0x0010 0006896c: 9202013a lbu r2,0x013a(r16) load used waepon 00068970: 27a50010 addiu r5,r29,0x0010 stack + 0x10 00068974: 000210c0 sll r2,r2,0x03 00068978: 3c018006 lui r1,0x8006 0006897c: 00220821 addu r1,r1,r2 00068980: 90243abe lbu r4,0x3abe(r1) load weapon element 00068984: 0c06b7fb jal 0x001adfec 00068988: 02203021 addu r6,r17,r0 r6 = 0 if not bow 0006898c: 8fbf00e0 lw r31,0x00e0(r29) 00068990: 8fb100dc lw r17,0x00dc(r29) 00068994: 8fb000d8 lw r16,0x00d8(r29) 00068998: 27bd00e8 addiu r29,r29,0x00e8 0006899c: 03e00008 jr r31 000689a0: 00000000 nop
Return locations
Battle.bin 00068c60: 00068c18 - 00068c7c Set Bow Hardcoding 00084adc: 00084818 - 00085230 Load Unit graphics from sprite sheet
< Set evade special effects based on Evade Type | Set evade type data, item and throw stone hardcoding >