Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -25,16 +25,12 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
|
|||
if Actor.isBusy() goto block_0153;
|
||||
|
||||
block_012D:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_011D;
|
||||
|
||||
block_0153:
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF9 string_bytes=0x6 loop_type=0x2 */
|
||||
/* loop_selector item in nearby_items(shape=0x053A, origin=global[0x003C]) */
|
||||
|
||||
block_0171:
|
||||
if condition goto block_0233;
|
||||
|
|
@ -43,14 +39,14 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
|
|||
target = item;
|
||||
|
||||
block_017B:
|
||||
class_0A0C_slot_29(target, global[0x003C]);
|
||||
FREE.slot_29(target, global[0x003C]);
|
||||
if ((retval > 3) && (counter != 6)) goto block_01FC;
|
||||
|
||||
block_019E:
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A11_slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(target), Item.getX(target)))));
|
||||
spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(target), Item.getX(target)))));
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_017B;
|
||||
|
|
@ -152,19 +148,19 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
|
|||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_039B_slot_20(mine, arg_06);
|
||||
spawn BLASTPAC.slot_20(mine, arg_06);
|
||||
|
||||
block_04C5:
|
||||
/* global_address global_id=0x3C */
|
||||
if Actor.isBusy() goto block_04FB;
|
||||
|
||||
block_04D5:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_04C5;
|
||||
|
||||
block_04FB:
|
||||
spawn class_0A0C_slot_21(pid, 13, 0x00000000);
|
||||
spawn FREE.slot_21(pid, 13, 0x00000000);
|
||||
suspend;
|
||||
if (!InCrouch) goto block_05C5;
|
||||
|
||||
|
|
@ -186,14 +182,14 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
|
|||
goto block_061A;
|
||||
|
||||
block_05C5:
|
||||
spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
|
||||
spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_061A:
|
||||
goto block_0672;
|
||||
|
||||
block_061D:
|
||||
spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
|
||||
spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_0672:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue