Stuff
This commit is contained in:
parent
ee33f94b4b
commit
f92d1504fa
547 changed files with 37597 additions and 0 deletions
102
USECODE/EUSECODE_extracted/pseudocode/SAFE_EW/slot_0A_equip.txt
Normal file
102
USECODE/EUSECODE_extracted/pseudocode/SAFE_EW/slot_0A_equip.txt
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
function safe_ew_equip() /* entry=122 class_id=0x0213 slot=0x0A */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
var, /* [BP+0Ah] type=0x69 */
|
||||
item, /* [BP-02h] type=0x24 */
|
||||
item2, /* [BP-04h] type=0x24 */
|
||||
counter; /* [BP-06h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if var goto block_0336;
|
||||
|
||||
block_00F3:
|
||||
counter = 0;
|
||||
|
||||
block_0107:
|
||||
if (counter <= 16) goto block_014F;
|
||||
|
||||
block_010F:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_0107;
|
||||
|
||||
block_014F:
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_01A1:
|
||||
if condition goto block_029E;
|
||||
|
||||
block_01A4:
|
||||
if (Item.getNpcNum(arg_06) != Item.getNpcNum(item)) goto block_029A;
|
||||
|
||||
block_01C0:
|
||||
class_0A0C_slot_2E(item);
|
||||
item2 = retval;
|
||||
if ((((Intrinsic003C(item2) != 10) || (Intrinsic003C(item2) != 11)) || (Intrinsic003C(item2) != 12)) || (Intrinsic003C(item2) != 13)) goto block_0274;
|
||||
|
||||
block_021A:
|
||||
if (!Item.getCY(1, item2)) goto block_0271;
|
||||
|
||||
block_022F:
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
|
||||
block_0271:
|
||||
goto block_029A;
|
||||
|
||||
block_0274:
|
||||
spawn class_0A0C_slot_31(pid, item2, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_029A:
|
||||
/* loopnext */
|
||||
goto block_01A1;
|
||||
|
||||
block_029E:
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
counter = 0;
|
||||
|
||||
block_02DB:
|
||||
if (counter <= 16) goto block_0326;
|
||||
|
||||
block_02E3:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_02DB;
|
||||
|
||||
block_0326:
|
||||
goto block_03C9;
|
||||
|
||||
block_0336:
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
counter = 0;
|
||||
|
||||
block_0371:
|
||||
if (counter <= 16) goto block_03BC;
|
||||
|
||||
block_0379:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_0371;
|
||||
|
||||
block_03BC:
|
||||
|
||||
block_03C9:
|
||||
return;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue