Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -10,14 +10,10 @@ function pepsins_use() /* entry=39 class_id=0x009A slot=0x01 */
|
|||
if (UCMachine.rndRange(100, 0) <= 50) {
|
||||
if (!Item.legalCreateAtPoint(local_0D, 0, 0x0343, local_02)) {
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
/* loop_selector local_02 in nearby_items(shape=0x01E4, origin=global[0x001E]) */
|
||||
while (!condition) {
|
||||
if (!(Item.getStatus(local_02) & 0x0080)) {
|
||||
spawn class_0A0C_slot_2A(pid, 1, 0, local_02);
|
||||
spawn ITEM.slot_2A(pid, 1, 0, local_02);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ function pepsins_gotHit() /* entry=39 class_id=0x009A slot=0x06 */
|
|||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A1D_slot_35(arg_0C, arg_0A);
|
||||
FREE.slot_35(arg_0C, arg_0A);
|
||||
if (!retval) {
|
||||
spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
|
||||
spawn ITEM.slot_2A(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue