Pseudocode decompialtion improvements and docs

This commit is contained in:
MaddoScientisto 2026-03-26 22:10:48 +01:00
commit 589bfc31ef
1898 changed files with 60634 additions and 6597 deletions

View file

@ -0,0 +1,23 @@
function door3_slot_20() /* entry=452 class_id=0x0A06 slot=0x20 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,26 @@
function door3_slot_21() /* entry=452 class_id=0x0A06 slot=0x21 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 0) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) - 64), Item.getX(arg_06), 0, 0x032A, local_04)) {
for local_04 in nearby_items(shape=0x05A5, origin=arg_06) {
/* loopnext */
}
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_22() /* entry=452 class_id=0x0A06 slot=0x22 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,26 @@
function door3_slot_23() /* entry=452 class_id=0x0A06 slot=0x23 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 0) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) - 64), 0, 0x0120, local_04)) {
for local_04 in nearby_items(shape=0x05A4, origin=arg_06) {
/* loopnext */
}
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_24() /* entry=452 class_id=0x0A06 slot=0x24 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_25() /* entry=452 class_id=0x0A06 slot=0x25 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,66 @@
function door3_slot_26() /* entry=452 class_id=0x0A06 slot=0x26 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 0) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 112), 0, 4, local_04)) {
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}
else if (Item.getFrame(arg_06) == 1) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 112), Item.getX(arg_06), 0, 0x0084, local_04)) {
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}
else if (Item.getFrame(arg_06) == 2) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 0, 0x0120, local_04)) {
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}
else if (Item.getFrame(arg_06) == 3) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 0, 0x032A, local_04)) {
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_27() /* entry=452 class_id=0x0A06 slot=0x27 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_28() /* entry=452 class_id=0x0A06 slot=0x28 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_29() /* entry=452 class_id=0x0A06 slot=0x29 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_2A() /* entry=452 class_id=0x0A06 slot=0x2A */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,21 @@
function door3_slot_2B() /* entry=452 class_id=0x0A06 slot=0x2B */
{
set_info(0x0207, *(arg_06));
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 0, 0x0120, local_04)) {
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,21 @@
function door3_slot_2C() /* entry=452 class_id=0x0A06 slot=0x2C */
{
set_info(0x0207, *(arg_06));
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 0, 0x032A, local_04)) {
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_2D() /* entry=452 class_id=0x0A06 slot=0x2D */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 3) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,26 @@
function door3_slot_2E() /* entry=452 class_id=0x0A06 slot=0x2E */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 0) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) - 64), Item.getX(arg_06), 0, 0x0140, local_04)) {
for local_04 in nearby_items(shape=0x00DB, origin=arg_06) {
/* loopnext */
}
local_02 = 0;
while (local_02 > 3) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_2F() /* entry=452 class_id=0x0A06 slot=0x2F */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 3) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,26 @@
function door3_slot_30() /* entry=452 class_id=0x0A06 slot=0x30 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 0) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) - 64), 0, 0x0281, local_04)) {
for local_04 in nearby_items(shape=0x00D9, origin=arg_06) {
/* loopnext */
}
local_02 = 0;
while (local_02 > 3) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_31() /* entry=452 class_id=0x0A06 slot=0x31 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,26 @@
function door3_slot_32() /* entry=452 class_id=0x0A06 slot=0x32 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 0) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) - 64), Item.getX(arg_06), 0, 0x0140, local_04)) {
for local_04 in nearby_items(shape=0x0301, origin=arg_06) {
/* loopnext */
}
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_33() /* entry=452 class_id=0x0A06 slot=0x33 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,26 @@
function door3_slot_34() /* entry=452 class_id=0x0A06 slot=0x34 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 0) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) - 64), 0, 0x0281, local_04)) {
for local_04 in nearby_items(shape=0x00D4, origin=arg_06) {
/* loopnext */
}
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_35() /* entry=452 class_id=0x0A06 slot=0x35 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 7) {
spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,21 @@
function door3_slot_36() /* entry=452 class_id=0x0A06 slot=0x36 */
{
set_info(0x0207, *(arg_06));
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 7, 0x0167, local_04)) {
local_02 = 0;
while (local_02 > 7) {
spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_37() /* entry=452 class_id=0x0A06 slot=0x37 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 7) {
spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,21 @@
function door3_slot_38() /* entry=452 class_id=0x0A06 slot=0x38 */
{
set_info(0x0207, *(arg_06));
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 7, 0x0168, local_04)) {
local_02 = 0;
while (local_02 > 7) {
spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_39() /* entry=452 class_id=0x0A06 slot=0x39 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 7) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_3A() /* entry=452 class_id=0x0A06 slot=0x3A */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 1) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 0, 0x0236, local_04)) {
local_02 = 0;
while (local_02 > 7) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_3B() /* entry=452 class_id=0x0A06 slot=0x3B */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 7) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_3C() /* entry=452 class_id=0x0A06 slot=0x3C */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 1) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 0, 0x0233, local_04)) {
local_02 = 0;
while (local_02 > 7) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_3D() /* entry=452 class_id=0x0A06 slot=0x3D */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 9) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,32 @@
function door3_slot_3E() /* entry=452 class_id=0x0A06 slot=0x3E */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 1) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 0, 0x0236, local_04)) {
for local_04 in nearby_items(shape=0x046A, origin=arg_06) {
if ((Item.getFrame(local_04) == 1) && (Item.getQLo(local_04) != Item.getQLo(arg_06))) {
local_06 = local_04;
}
/* loopnext */
}
if (local_06) {
return;
}
local_02 = 0;
while (local_02 > 9) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_3F() /* entry=452 class_id=0x0A06 slot=0x3F */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 9) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,32 @@
function door3_slot_40() /* entry=452 class_id=0x0A06 slot=0x40 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 1) {
if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 0, 0x0233, local_04)) {
for local_04 in nearby_items(shape=0x046C, origin=arg_06) {
if ((Item.getFrame(local_04) == 1) && (Item.getQLo(local_04) != Item.getQLo(arg_06))) {
local_06 = local_04;
}
/* loopnext */
}
if (local_06) {
return;
}
local_02 = 0;
while (local_02 > 9) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_41() /* entry=452 class_id=0x0A06 slot=0x41 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 8) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,36 @@
function door3_slot_42() /* entry=452 class_id=0x0A06 slot=0x42 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 0) {
for local_04 in nearby_items(shape=0x051A, origin=arg_06) {
if ((Item.getFrame(local_04) == 1) && (Item.getQLo(local_04) != Item.getQLo(arg_06))) {
local_06 = local_04;
}
/* loopnext */
}
if (local_06) {
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
return;
}
FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 8, 0x02F1, *(arg_06));
if (!retval) {
local_02 = 0;
while (local_02 > 8) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}

View file

@ -0,0 +1,23 @@
function door3_slot_43() /* entry=452 class_id=0x0A06 slot=0x43 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) <= 0) {
/* word_to_dword */
/* pop_result */
return;
}
else {
spawn DOOR.slot_22(pid, arg_06);
suspend;
local_02 = 0;
while (local_02 > 8) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
return;
}

View file

@ -0,0 +1,36 @@
function door3_slot_44() /* entry=452 class_id=0x0A06 slot=0x44 */
{
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) == 0) {
for local_04 in nearby_items(shape=0x022D, origin=arg_06) {
if ((Item.getFrame(local_04) == 1) && (Item.getQLo(local_04) != Item.getQLo(arg_06))) {
local_06 = local_04;
}
/* loopnext */
}
if (local_06) {
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
return;
}
FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 8, 0x04CF, *(arg_06));
if (!retval) {
local_02 = 0;
while (local_02 > 8) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
/* word_to_dword */
/* pop_result */
return;
}
else {
/* word_to_dword */
/* pop_result */
return;
}
}
return;
}