Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_0A_equip.txt
2026-03-26 00:37:17 +01:00

27 lines
635 B
Text

function windsurf_equip() /* entry=180 class_id=0x0337 slot=0x0A */
{
var
referent, /* [BP+00h] type=0x69 */
var, /* [BP+0Ah] type=0x69 */
item; /* [BP-02h] type=0x24 */
set_info(0x0211, *(arg_06));
process_exclude();
class_0A0C_slot_33(0x020C, *(arg_06));
if (var == 0x00FF) {
return;
}
else {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
while (!condition) {
if (item == *(arg_06)) {
if (!Item.overlaps(item, arg_06)) {
spawn class_0337_gotHit(0, item, arg_06);
}
}
/* loopnext */
}
}
return;
}