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

27 lines
627 B
Text
Raw Normal View History

2026-03-25 23:32:36 +01:00
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 */
2026-03-26 00:37:17 +01:00
set_info(0x0211, *(arg_06));
process_exclude();
FREE.slot_33(0x020C, *(arg_06));
2026-03-26 00:37:17 +01:00
if (var == 0x00FF) {
return;
}
else {
2026-03-25 23:32:36 +01:00
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
2026-03-26 00:37:17 +01:00
while (!condition) {
if (item == *(arg_06)) {
if (!Item.overlaps(item, arg_06)) {
spawn WINDSURF.gotHit(0, item, arg_06);
2026-03-26 00:37:17 +01:00
}
}
/* loopnext */
}
}
return;
2026-03-25 23:32:36 +01:00
}