Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -34,14 +34,14 @@ function wshockew_gotHit() /* entry=245 class_id=0x044E slot=0x06 */
|
|||
a = (a * 2);
|
||||
b = (z - z1);
|
||||
b = ((b / 2) * 3);
|
||||
class_0A0C_slot_20(2);
|
||||
FREE.slot_20(2);
|
||||
c = (retval + 1);
|
||||
while (c == 0) {
|
||||
class_0A0C_slot_20(a);
|
||||
FREE.slot_20(a);
|
||||
d = retval;
|
||||
d = (y1 - d);
|
||||
y = d;
|
||||
class_0A0C_slot_20(b);
|
||||
FREE.slot_20(b);
|
||||
e = retval;
|
||||
e = (e + z1);
|
||||
z = e;
|
||||
|
|
@ -49,15 +49,15 @@ function wshockew_gotHit() /* entry=245 class_id=0x044E slot=0x06 */
|
|||
c = 1;
|
||||
shockCount = (1 + shockCount);
|
||||
}
|
||||
class_0A0C_slot_20(pid, 30);
|
||||
spawn class_0A0C_slot_32(retval, 0x00000000);
|
||||
FREE.slot_20(pid, 30);
|
||||
spawn FREE.waitNTimerTicks(retval, 0x00000000);
|
||||
suspend;
|
||||
c = (c - 1);
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -7,15 +7,11 @@ function wshockew_unequip() /* entry=245 class_id=0x044E slot=0x0B */
|
|||
|
||||
set_info(0x0212, *(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 */
|
||||
/* loop_selector item in nearby_items(family=6, origin=arg_06) */
|
||||
while (!condition) {
|
||||
if (!Actor.isNPC(item)) {
|
||||
if (Item.overlaps(item, arg_06) == 1) {
|
||||
spawn class_044E_gotHit(0, item, arg_06);
|
||||
spawn WSHOCKEW.gotHit(0, item, arg_06);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue