Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -13,28 +13,28 @@ function npctrig_equip() /* entry=191 class_id=0x0363 slot=0x0A */
|
|||
return;
|
||||
}
|
||||
else {
|
||||
class_0A1E_slot_23(0x1000, arg_06);
|
||||
ITEM.slot_23(0x1000, arg_06);
|
||||
if (event == 1) {
|
||||
spawn class_0363_slot_20(pid, 0x02FD, arg_06);
|
||||
spawn NPCTRIG.slot_20(pid, 0x02FD, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (event == 2) {
|
||||
spawn class_0363_slot_20(pid, 0x0384, arg_06);
|
||||
spawn NPCTRIG.slot_20(pid, 0x0384, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (event == 3) {
|
||||
spawn class_0363_slot_20(pid, 0x0371, arg_06);
|
||||
spawn NPCTRIG.slot_20(pid, 0x0371, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (event == 4) {
|
||||
spawn class_0363_slot_20(pid, 0x04D1, arg_06);
|
||||
spawn NPCTRIG.slot_20(pid, 0x04D1, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (event == 5) {
|
||||
spawn class_0363_slot_20(pid, 0x01B4, arg_06);
|
||||
spawn NPCTRIG.slot_20(pid, 0x01B4, arg_06);
|
||||
suspend;
|
||||
}
|
||||
class_0A1E_slot_24(0x1000, arg_06);
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,17 +8,13 @@ function npctrig_slot_20() /* entry=191 class_id=0x0363 slot=0x20 */
|
|||
item2; /* [BP-06h] type=0x24 */
|
||||
|
||||
set_info(0x0001, *(arg_06));
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
||||
/* loop_selector item in nearby_items(shape=TELEPORTER_LIGHTS, origin=arg_06) */
|
||||
while (!condition) {
|
||||
item2 = item;
|
||||
/* loopnext */
|
||||
}
|
||||
if (!item2) {
|
||||
spawn class_0A11_slot_23(pid, n);
|
||||
spawn NPC.slot_23(pid, n);
|
||||
suspend;
|
||||
if (getTargetNPCNumMaybe() == 0) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue