ok it works fine
i need to get some lines explained please, here my ai:
Code:
...
L60150
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 60101
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0 // if 0 item 60101 in pc inventory
equal
push_reg_sp // ??
fetch_i // ??
branch_false L60152 // if return false goto L60152
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 599 // if adenas > 599 in pc inventory
greater
and // ??
branch_false L60152 // if return false goto L60152
...
what does mean lines where i put
// ?? please (push_reg_sp, fetch_i, and) ... does "
and" mean that 2 functions are linked ?
Tx
ps: In other part, i have to check if pc has a castle but i dont find
func to get that...