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

@ -0,0 +1,23 @@
function l_ew_4_gotHit() /* entry=112 class_id=0x01D1 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) == 1) {
if (arg_0A == World.getControlledNPCNum()) {
spawn class_0A0E_slot_20(arg_06);
spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
spawn class_0A0E_slot_20(arg_06);
}
return;
}
else if (arg_0A == World.getControlledNPCNum()) {
spawn class_0A0E_slot_21(pid, arg_06);
suspend;
}
return;
}

View file

@ -0,0 +1,6 @@
function l_ew_4_unequip() /* entry=112 class_id=0x01D1 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,6 @@
function l_ew_4_enterFastArea() /* entry=112 class_id=0x01D1 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,6 @@
function l_ew_4_avatarStoleSomething() /* entry=112 class_id=0x01D1 slot=0x13 */
{
set_info(0x022E, *(arg_06));
process_exclude();
return;
}