Pseudocode and stuff
This commit is contained in:
parent
7310c4fe96
commit
ee33f94b4b
466 changed files with 27770 additions and 276 deletions
|
|
@ -0,0 +1,35 @@
|
|||
function alarmbox_use() /* entry=256 class_id=0x0477 slot=0x01 */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
item; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if Intrinsic0000() goto block_0232;
|
||||
|
||||
block_01AA:
|
||||
if (Item.getFrame(arg_06) != 2) goto block_01C9;
|
||||
|
||||
block_01B9:
|
||||
goto block_01E8;
|
||||
|
||||
block_01C9:
|
||||
if (Item.getFrame(arg_06) != 3) goto block_01E8;
|
||||
|
||||
block_01D8:
|
||||
goto block_01E8;
|
||||
|
||||
block_01E8:
|
||||
spawn class_0A0C_slot_3C(0x00000000);
|
||||
if (Item.getMapNum(arg_06) != 0) goto block_0232;
|
||||
|
||||
block_020B:
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
|
||||
block_0232:
|
||||
return;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue