hello, i try to check if pc (talker) is Caslte Owner in order my npc give an item only if pc owns a castle, i found this but i dont understand what it means exactly:
Code:
shift_sp 1
func_call 126 // func[Castle_GetPledgeId]
push_event // talker
push_const 32
add
fetch_i // pledge_id
push_const 664
add
fetch_i
equal
push_reg_sp
fetch_i
branch_false LXXX
i know i can use chamberlain way but i am looking to do it with a npc noc owned by any castle especially.
Any help is welcome, tx