Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -4,33 +4,24 @@ function medikit_use() /* entry=188 class_id=0x0351 slot=0x01 */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
item; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
set_info(0x00F0, 0);
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic007C() >= 0x0096) goto block_0132;
|
||||
|
||||
block_010B:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
set_info(0x00F0, 0);
|
||||
/* global_address global_id=0x3C */
|
||||
if (Actor.getHp() < 0x0096) {
|
||||
spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_0132:
|
||||
/* global_address global_id=0x3C */
|
||||
if Intrinsic00CA(80) goto block_016E;
|
||||
|
||||
block_0144:
|
||||
}
|
||||
/* global_address global_id=0x3C */
|
||||
if (!Actor.addHp(80)) {
|
||||
spawn class_0A0C_slot_21(pid, 0x00DB, 0x00000000);
|
||||
suspend;
|
||||
goto block_01C3;
|
||||
|
||||
block_016E:
|
||||
}
|
||||
else {
|
||||
spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_01C3:
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue