Pseudocode and stuff
This commit is contained in:
parent
7310c4fe96
commit
ee33f94b4b
466 changed files with 27770 additions and 276 deletions
|
|
@ -0,0 +1,15 @@
|
|||
function blaserew_hit() /* entry=150 class_id=0x02C4 slot=0x05 */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
ref, /* [BP+0Ah] type=0x69 */
|
||||
ke; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
function blaserew_gotHit() /* entry=150 class_id=0x02C4 slot=0x06 */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
ref, /* [BP+0Ah] type=0x69 */
|
||||
ke; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
function blaserew_equip() /* entry=150 class_id=0x02C4 slot=0x0A */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
var, /* [BP+0Ah] type=0x69 */
|
||||
h; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (var != 1) goto block_0180;
|
||||
|
||||
block_015F:
|
||||
h = Item.getCX(arg_06);
|
||||
goto block_01AC;
|
||||
|
||||
block_0180:
|
||||
if (var != 31) goto block_01AC;
|
||||
|
||||
block_018B:
|
||||
h = Item.getCX(arg_06);
|
||||
goto block_01AC;
|
||||
|
||||
block_01AC:
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
function blaserew_unequip() /* entry=150 class_id=0x02C4 slot=0x0B */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) != 0) goto block_0122;
|
||||
|
||||
block_0101:
|
||||
spawn class_0A02_slot_20(*(arg_06), arg_06);
|
||||
|
||||
block_0122:
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
function blaserew_enterFastArea() /* entry=150 class_id=0x02C4 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) != 0) goto block_020E;
|
||||
|
||||
block_01FA:
|
||||
spawn class_0A02_slot_20(*(arg_06), arg_06);
|
||||
|
||||
block_020E:
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
function blaserew_leaveFastArea() /* entry=150 class_id=0x02C4 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
return;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue