Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -0,0 +1,39 @@
|
|||
function re_floor_gotHit() /* entry=66 class_id=0x0138 slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
local_02 = arg_0A;
|
||||
if (((arg_0A == 1) && (Item.getFrame(arg_06) < 2)) && (Item.getQLo(arg_06) != 0)) {
|
||||
if (Item.isCentreOn(*(arg_06), local_02)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x44 */
|
||||
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
while (!Kernel.getNumProcesses(0x0254, global[0x001E])) {
|
||||
spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x44 */
|
||||
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
function re_floor_release() /* entry=66 class_id=0x0138 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