Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -0,0 +1,57 @@
|
|||
function powergen_gotHit() /* entry=142 class_id=0x028C slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
local_02 = Item.getFrame(arg_06);
|
||||
class_0A1D_slot_35((local_02 > 0), arg_0C, arg_0A);
|
||||
if (retval == 0) {
|
||||
return;
|
||||
}
|
||||
else if (!Item.getQHi(arg_06)) {
|
||||
spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A0C_slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (process_result) {
|
||||
class_0A1D_slot_20(1);
|
||||
if (!retval) {
|
||||
}
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x6 */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
if (global[0x0005]) {
|
||||
suspend;
|
||||
}
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
if (Egg.getEggId(local_06) == Item.getQLo(arg_06)) {
|
||||
if ((Item.getFrame(local_06) == 1) && (global[0x000C] > 0)) {
|
||||
/* pop_global global_id=0xC size=0x1 */
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
if (Item.getMapNum(arg_06) == 0) {
|
||||
spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
function powergen_equip() /* entry=142 class_id=0x028C slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (arg_0A == 0x00FF) {
|
||||
spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
function powergen_enterFastArea() /* entry=142 class_id=0x028C slot=0x0F */
|
||||
{
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue