Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -12,14 +12,14 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
|
|||
entry:
|
||||
set_info(0x020A, *(arg_06));
|
||||
set_info(0x0205, *(arg_06));
|
||||
if (Item.hurl(arg_06) != 0) goto block_013F;
|
||||
if (Item.getQHi(arg_06) != 0) goto block_013F;
|
||||
|
||||
block_0120:
|
||||
class_0A0C_slot_20(29);
|
||||
randNum = (retval + 1);
|
||||
|
||||
block_013F:
|
||||
var = Item.hurl(arg_06);
|
||||
var = Item.getQHi(arg_06);
|
||||
if (var != 31) goto block_0162;
|
||||
|
||||
block_0158:
|
||||
|
|
@ -36,8 +36,8 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
|
|||
goto block_0196;
|
||||
|
||||
block_0179:
|
||||
skill = Intrinsic0029();
|
||||
duration = ((6 - Intrinsic0029()) * (10 + var));
|
||||
skill = Game.getDifficultyLevel();
|
||||
duration = ((6 - Game.getDifficultyLevel()) * (10 + var));
|
||||
|
||||
block_0196:
|
||||
spawn class_0A0C_slot_32(pid, duration, 0x00000000);
|
||||
|
|
@ -45,7 +45,7 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
|
|||
|
||||
block_01BC:
|
||||
suspend;
|
||||
kernelCheck = Item.hurl(0x020C, *(arg_06));
|
||||
kernelCheck = Kernel.getNumProcesses(0x020C, *(arg_06));
|
||||
if (kernelCheck != 0) goto block_01F5;
|
||||
|
||||
block_01E7:
|
||||
|
|
|
|||
|
|
@ -22,10 +22,10 @@ function shocker_slot_21() /* entry=389 class_id=0x0A13 slot=0x21 */
|
|||
if condition goto block_0461;
|
||||
|
||||
block_03B9:
|
||||
if (Item.isNpc(monster) != 1) goto block_045D;
|
||||
if (Actor.isNPC(monster) != 1) goto block_045D;
|
||||
|
||||
block_03CB:
|
||||
if (!Kernel.resetRef(monster)) goto block_045D;
|
||||
if (!Actor.isDead(monster)) goto block_045D;
|
||||
|
||||
block_03DE:
|
||||
if ((Item.overlaps(monster, arg_06) != 1) && (Item.getFrame(arg_06) < 6)) goto block_045D;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue