This commit is contained in:
MaddoScientisto 2026-03-25 23:32:36 +01:00
commit f92d1504fa
547 changed files with 37597 additions and 0 deletions

View file

@ -0,0 +1,96 @@
function thrmbckn_equip() /* entry=324 class_id=0x0566 slot=0x0A */
{
var
referent, /* [BP+00h] type=0x69 */
var, /* [BP+0Ah] type=0x69 */
ewall, /* [BP-02h] type=0x24 */
therma, /* [BP-04h] type=0x24 */
a, /* [BP-06h] type=0x69 */
b; /* [BP-08h] type=0x69 */
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if var goto block_0344;
block_00F3:
block_010D:
if Item.touch(4, arg_06) goto block_0147;
block_011E:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_010D;
block_0147:
block_0154:
if Item.touch(4, arg_06) goto block_018E;
block_0165:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_0154;
block_018E:
block_019B:
if Item.touch(4, arg_06) goto block_01D5;
block_01AC:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_019B;
block_01D5:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x42 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
block_020F:
if condition goto block_022E;
block_0212:
/* loopnext */
goto block_020F;
block_022E:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFC string_bytes=0xA loop_type=0x2 */
block_0256:
if condition goto block_0342;
block_0259:
if (Item.getQLo(therma) != Item.getNpcNum(arg_06)) goto block_033E;
block_0275:
b = 3;
if (Intrinsic0029() > 2) goto block_0297;
block_028D:
a = 10;
goto block_029E;
block_0297:
a = 5;
block_029E:
spawn class_0A0C_slot_32(pid, 40, 0x00000000);
suspend;
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_0344;
block_033E:
/* loopnext */
goto block_0256;
block_0342:
block_0344:
return;
}