Pseudocode and stuff
This commit is contained in:
parent
7310c4fe96
commit
ee33f94b4b
466 changed files with 27770 additions and 276 deletions
|
|
@ -0,0 +1,40 @@
|
|||
function fffloor_gotHit() /* entry=54 class_id=0x0135 slot=0x06 */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel, /* [BP+0Ch] type=0x69 */
|
||||
n; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getFrame(arg_06) != 1) || (ref > 0x0100)) goto block_04B8;
|
||||
|
||||
block_04B2:
|
||||
goto block_0542;
|
||||
|
||||
block_04B8:
|
||||
n = ref;
|
||||
|
||||
block_04BF:
|
||||
if Item.isOn(*(arg_06), n) goto block_0542;
|
||||
|
||||
block_04D2:
|
||||
if (Item.getFrame(arg_06) != 1) goto block_04EA;
|
||||
|
||||
block_04E4:
|
||||
goto block_0542;
|
||||
|
||||
block_04EA:
|
||||
class_0A0C_slot_20(pid, 8);
|
||||
spawn class_0A11_slot_2D(retval, *(arg_06), n);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_04BF;
|
||||
|
||||
block_0542:
|
||||
return;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue