Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_0A_equip.txt

18 lines
401 B
Text
Raw Normal View History

2026-03-25 23:32:36 +01:00
function surcamew_equip() /* entry=284 class_id=0x04DE slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
2026-03-26 00:37:17 +01:00
if (!(Item.getStatus(arg_06) & 0x1000)) {
2026-03-25 23:32:36 +01:00
return;
}
2026-03-26 00:37:17 +01:00
else if (arg_0A == 0) {
/* global_address global_id=0x3C */
spawn SURCAMEW.slot_21(arg_06);
2026-03-26 00:37:17 +01:00
return;
}
else {
/* global_address global_id=0x3C */
spawn SURCAMEW.slot_20(arg_06);
2026-03-26 00:37:17 +01:00
}
2026-03-25 23:32:36 +01:00
return;
}