Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -0,0 +1,42 @@
|
|||
function crumorph_equip() /* entry=174 class_id=0x0318 slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
/* 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=0x2 */
|
||||
while (!condition) {
|
||||
if (!Item.isNpc(local_02)) {
|
||||
if (Intrinsic000D(local_02) == Item.getQLo(arg_06)) {
|
||||
if (Actor.isDead(local_02) == 0) {
|
||||
class_0A0F_slot_2A(local_02);
|
||||
if (retval) {
|
||||
return;
|
||||
}
|
||||
local_04 = Actor.getCurrentActivityNo(local_02);
|
||||
spawn class_0A1D_slot_3B(pid, 3, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0F_slot_28(pid, local_02);
|
||||
suspend;
|
||||
while (World.getControlledNPCNum() <= 1) {
|
||||
spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
if (Actor.isDead(local_02) == 0) {
|
||||
spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue