Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -0,0 +1,45 @@
|
|||
function v_lasers_equip() /* entry=232 class_id=0x041A slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
if (Item.getStatus(arg_06) & 0x1000) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x3A */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
|
||||
while (!condition) {
|
||||
if (!Item.isNpc(local_02)) {
|
||||
FREE.slot_20(8, 20, 8);
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
/* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
|
||||
while (!condition) {
|
||||
if (!Item.isNpc(local_02)) {
|
||||
if (!Item.overlaps(*(arg_06), local_02)) {
|
||||
FREE.slot_20(8, Actor.getHp(local_02), 8);
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
ITEM.slot_25(0x1000, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue