Usecode pseudocode

This commit is contained in:
MaddoScientisto 2026-03-26 00:37:17 +01:00
commit c12bb39437
1362 changed files with 71072 additions and 38056 deletions

View file

@ -24,7 +24,7 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
tempNumber = 0;
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
id = Intrinsic003F(arg_06);
id = Egg.getEggId(arg_06);
onTime = (id * 10);
if (onTime != 0) goto block_015B;
@ -41,7 +41,7 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
block_017E:
foundFloor = 1;
tempNumber = Item.getUnkEggType(item);
tempNumber = Item.getQLo(item);
if ((tempNumber > 0) && (tempNumber < 0x00FA)) goto block_01F5;
block_01A8:
@ -95,10 +95,10 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
goto block_03E5;
block_0259:
if (Item.getUnkEggType(item) != counter) goto block_02F9;
if (Item.getQLo(item) != counter) goto block_02F9;
block_026B:
if (!Item.touch(112, arg_06)) goto block_029A;
if (!AudioProcess.isSFXPlayingForObject(112, arg_06)) goto block_029A;
block_028D:
@ -110,7 +110,7 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
if condition goto block_02F7;
block_02AB:
if (Item.isNpc(item2) != 1) goto block_02F3;
if (Actor.isNPC(item2) != 1) goto block_02F3;
block_02BD:
n = item2;
@ -138,7 +138,7 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
suspend;
block_0336:
if (Intrinsic00DA(arg_06) > 0) goto block_0374;
if (Egg.getEggXRange(arg_06) > 0) goto block_0374;
block_034B:
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
@ -151,7 +151,7 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
foreach_list item -> block_03B2;
block_0382:
if (Item.getUnkEggType(item) != counter) goto block_03AC;
if (Item.getQLo(item) != counter) goto block_03AC;
block_0394:

View file

@ -1,9 +1,7 @@
function floor1_leaveFastArea() /* entry=342 class_id=0x0902 slot=0x10 */
{
entry:
set_info(0x021C, *(arg_06));
process_exclude();
class_0A0C_slot_33(*(arg_06), 0x021B);
return;
set_info(0x021C, *(arg_06));
process_exclude();
class_0A0C_slot_33(*(arg_06), 0x021B);
return;
}