Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -15,7 +15,7 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
|
|||
if (Item.getQHi(arg_06) != 0) goto block_013F;
|
||||
|
||||
block_0120:
|
||||
class_0A0C_slot_20(29);
|
||||
FREE.slot_20(29);
|
||||
randNum = (retval + 1);
|
||||
|
||||
block_013F:
|
||||
|
|
@ -40,7 +40,7 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
|
|||
duration = ((6 - Game.getDifficultyLevel()) * (10 + var));
|
||||
|
||||
block_0196:
|
||||
spawn class_0A0C_slot_32(pid, duration, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, duration, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_01BC:
|
||||
|
|
@ -49,10 +49,10 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
|
|||
if (kernelCheck != 0) goto block_01F5;
|
||||
|
||||
block_01E7:
|
||||
spawn class_0A13_slot_21(arg_06);
|
||||
spawn SHOCKER.slot_21(arg_06);
|
||||
|
||||
block_01F5:
|
||||
class_0A0C_slot_20(1);
|
||||
FREE.slot_20(1);
|
||||
if retval goto block_0215;
|
||||
|
||||
block_0205:
|
||||
|
|
@ -67,8 +67,8 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
|
|||
if (counter <= 5) goto block_027C;
|
||||
|
||||
block_0231:
|
||||
class_0A0C_slot_20(pid, 5, 5);
|
||||
spawn class_0A0C_slot_32(retval, 0x00000000);
|
||||
FREE.slot_20(pid, 5, 5);
|
||||
spawn FREE.waitNTimerTicks(retval, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_0229;
|
||||
|
|
@ -77,8 +77,8 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
|
|||
if (duration > 1) goto block_02E8;
|
||||
|
||||
block_028A:
|
||||
class_0A0C_slot_33(0x020C, *(arg_06));
|
||||
spawn class_0A0C_slot_32(pid, duration, 0x00000000);
|
||||
FREE.slot_33(0x020C, *(arg_06));
|
||||
spawn FREE.waitNTimerTicks(pid, duration, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_02E8:
|
||||
|
|
|
|||
|
|
@ -10,13 +10,9 @@ function shocker_slot_21() /* entry=389 class_id=0x0A13 slot=0x21 */
|
|||
|
||||
block_0366:
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
/* 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 */
|
||||
/* loop_selector monster in nearby_items(family=6, origin=arg_06) */
|
||||
|
||||
block_03B6:
|
||||
if condition goto block_0461;
|
||||
|
|
@ -31,10 +27,10 @@ function shocker_slot_21() /* entry=389 class_id=0x0A13 slot=0x21 */
|
|||
if ((Item.overlaps(monster, arg_06) != 1) && (Item.getFrame(arg_06) < 6)) goto block_045D;
|
||||
|
||||
block_0402:
|
||||
class_0A0C_slot_20(pid, 8);
|
||||
spawn class_0A11_slot_2D(retval, *(arg_06), monster);
|
||||
FREE.slot_20(pid, 8);
|
||||
spawn NPC.slot_2D(retval, *(arg_06), monster);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_0466;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue