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,16 @@
|
|||
function morph_4_gotHit() /* entry=393 class_id=0x0604 slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
FREE.slot_35(arg_0C, arg_0A);
|
||||
if (retval) {
|
||||
return;
|
||||
}
|
||||
else if (Item.isEntirelyOnScreen(arg_06)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn MORPH_4.equip(1, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
function morph_4_equip() /* entry=393 class_id=0x0604 slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
local_02 = 1;
|
||||
while (local_02 > 16) {
|
||||
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
local_02 = (1 + local_02);
|
||||
}
|
||||
suspend;
|
||||
ITEM.slot_24(2, local_04);
|
||||
if (arg_0A == 1) {
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 2) {
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 3) {
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 4) {
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue