Decompilation unk files generation
This commit is contained in:
parent
d323bb28fc
commit
746709f40c
503 changed files with 45757 additions and 31 deletions
63
USECODE/REGRET/STELEPAD.unk
Normal file
63
USECODE/REGRET/STELEPAD.unk
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
|
||||
/* synthesized appendix for STELEPAD */
|
||||
/* sparse lines above preserve recovered debugger line numbers where available */
|
||||
|
||||
/* ===== slot 0x06 gotHit ===== */
|
||||
function stelepad_gotHit() /* entry=49 class_id=0x00EF slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
local_02 = arg_0A;
|
||||
FREE.slot_35(arg_0C, arg_0A);
|
||||
if (!retval) {
|
||||
return;
|
||||
}
|
||||
else if ((Item.getShape(local_02) == 0x055F) || (Item.getShape(local_02) != 0x039A)) {
|
||||
return;
|
||||
}
|
||||
else if (Ultima8Engine.getUnkCrusaderFlag() == 1) {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x3A */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x6 */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/* ===== slot 0x09 release ===== */
|
||||
function stelepad_release() /* entry=49 class_id=0x00EF slot=0x09 */
|
||||
{
|
||||
set_info(0x020D, *(arg_06));
|
||||
process_exclude();
|
||||
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
|
||||
while (!condition) {
|
||||
return;
|
||||
}
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x3A */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x6 */
|
||||
while (!condition) {
|
||||
if (local_04 == 1) {
|
||||
/* global_address global_id=0x1E */
|
||||
while (!Item.isOn(*(arg_06))) {
|
||||
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue