Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -0,0 +1,41 @@
|
|||
function med_flor_gotHit() /* entry=161 class_id=0x02E1 slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
local_02 = arg_0A;
|
||||
if (((arg_0A == 1) && (Item.getQLo(arg_06) != 0)) && (Item.getFrame(arg_06) != 0)) {
|
||||
if (Item.isCentreOn(*(arg_06), local_02)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x1E */
|
||||
while (!Actor.isBusy()) {
|
||||
spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x43 */
|
||||
/* loop current_var=0xFE string_bytes=0x8 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
while (!Kernel.getNumProcesses(0x0254, global[0x001E])) {
|
||||
spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x43 */
|
||||
/* loop current_var=0xFE string_bytes=0x8 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
function med_flor_release() /* entry=161 class_id=0x02E1 slot=0x09 */
|
||||
{
|
||||
set_info(0x020D, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getSurfaceWeight(arg_06) == 0) {
|
||||
class_0A1D_slot_3C(0x0254, global[0x001E]);
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue