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 windsurf_gotHit() /* entry=180 class_id=0x0337 slot=0x06 */
|
|||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
FREE.slot_2C(vel, ref);
|
||||
if retval goto block_0255;
|
||||
|
||||
block_024F:
|
||||
|
|
@ -139,7 +139,7 @@ function windsurf_gotHit() /* entry=180 class_id=0x0337 slot=0x06 */
|
|||
block_04FE:
|
||||
xoff = (xoff * speed);
|
||||
yoff = (yoff * speed);
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_0538:
|
||||
|
|
@ -149,7 +149,7 @@ function windsurf_gotHit() /* entry=180 class_id=0x0337 slot=0x06 */
|
|||
wp = (Item.getX(item) + xoff);
|
||||
local_0D = (Item.getY(item) + yoff);
|
||||
local_0B = Item.getZ(item);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
if (Item.overlaps(ref, arg_06) != 0) goto block_05C1;
|
||||
|
||||
|
|
@ -169,7 +169,7 @@ function windsurf_gotHit() /* entry=180 class_id=0x0337 slot=0x06 */
|
|||
goto block_0626;
|
||||
|
||||
block_05FF:
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
|
||||
block_0626:
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ function windsurf_equip() /* entry=180 class_id=0x0337 slot=0x0A */
|
|||
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x020C, *(arg_06));
|
||||
FREE.slot_33(0x020C, *(arg_06));
|
||||
if (var == 0x00FF) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -17,7 +17,7 @@ function windsurf_equip() /* entry=180 class_id=0x0337 slot=0x0A */
|
|||
while (!condition) {
|
||||
if (item == *(arg_06)) {
|
||||
if (!Item.overlaps(item, arg_06)) {
|
||||
spawn class_0337_gotHit(0, item, arg_06);
|
||||
spawn WINDSURF.gotHit(0, item, arg_06);
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ function windsurf_unequip() /* entry=180 class_id=0x0337 slot=0x0B */
|
|||
while (!condition) {
|
||||
if (item == *(arg_06)) {
|
||||
if (!Item.overlaps(item, arg_06)) {
|
||||
spawn class_0337_gotHit(0, item, arg_06);
|
||||
spawn WINDSURF.gotHit(0, item, arg_06);
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@ function windsurf_leaveFastArea() /* entry=180 class_id=0x0337 slot=0x10 */
|
|||
{
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x020C, *(arg_06));
|
||||
FREE.slot_33(0x020C, *(arg_06));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue