Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -18,14 +18,10 @@ function pepsins_use() /* entry=30 class_id=0x009A slot=0x01 */
|
|||
if (UCMachine.rndRange(100, 0) <= 50) {
|
||||
if (!Item.legalCreateAtPoint(wp, 0, 0x0343, item)) {
|
||||
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 item in nearby_items(shape=SMALL_BOX_PROP, origin=global[0x003C]) */
|
||||
while (!condition) {
|
||||
if (!(Item.getStatus(item) & 0x0080)) {
|
||||
spawn class_0A1E_slot_28(pid, 1, 0, item);
|
||||
spawn ITEM.slot_28(pid, 1, 0, item);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ function pepsins_gotHit() /* entry=30 class_id=0x009A slot=0x06 */
|
|||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
FREE.slot_2C(vel, ref);
|
||||
if (!retval) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
|
||||
spawn ITEM.slot_28(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue