Stuff
This commit is contained in:
parent
ee33f94b4b
commit
f92d1504fa
547 changed files with 37597 additions and 0 deletions
|
|
@ -0,0 +1,37 @@
|
|||
function npctrig_equip() /* entry=191 class_id=0x0363 slot=0x0A */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
event, /* [BP+0Ah] type=0x69 */
|
||||
item, /* [BP-02h] type=0x24 */
|
||||
item2, /* [BP-04h] type=0x24 */
|
||||
n; /* [BP-06h] type=0x24 */
|
||||
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000)) {
|
||||
class_0A1E_slot_23(0x1000, arg_06);
|
||||
if (event == 1) {
|
||||
spawn class_0363_slot_20(pid, 0x02FD, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (event == 2) {
|
||||
spawn class_0363_slot_20(pid, 0x0384, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (event == 3) {
|
||||
spawn class_0363_slot_20(pid, 0x0371, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (event == 4) {
|
||||
spawn class_0363_slot_20(pid, 0x04D1, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (event == 5) {
|
||||
spawn class_0363_slot_20(pid, 0x01B4, arg_06);
|
||||
suspend;
|
||||
}
|
||||
class_0A1E_slot_24(0x1000, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue