Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -5,11 +5,9 @@ function blaserew_hit() /* entry=150 class_id=0x02C4 slot=0x05 */
|
|||
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;
|
||||
|
||||
set_info(0x020B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function blaserew_gotHit() /* entry=150 class_id=0x02C4 slot=0x06 */
|
|||
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;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,23 +5,15 @@ function blaserew_equip() /* entry=150 class_id=0x02C4 slot=0x0A */
|
|||
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:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (var == 1) {
|
||||
h = Item.getQHi(arg_06);
|
||||
return;
|
||||
|
||||
}
|
||||
else if (var == 31) {
|
||||
h = Item.getQHi(arg_06);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
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:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_0A02_slot_20(*(arg_06), arg_06);
|
||||
|
||||
block_0122:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
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:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_0A02_slot_20(*(arg_06), arg_06);
|
||||
|
||||
block_020E:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function blaserew_leaveFastArea() /* entry=150 class_id=0x02C4 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue