Thread: ≈ [AI.obj] unknown code
View Single Post
Old 19.03.2006, 01:03   #1
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default [AI.obj] unknown code

i was working on ai.obj when i saw this code, and this isn't just the only one i found :?

Code:
	shift_sp 1
	push_event	//  c1
	push_const 276
	add
	fetch_i
	push_const 1427
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 20
	less
	branch_false L7347
L7346
	push_const 1
	branch_false L7349
L7348
	push_event	//  c1
	push_const 276
	add
	fetch_i	//  quest_last_reward_time
	push_const 644
	add
	push_reg_sp
	fetch_i
	shift_sp 1
	func_call 23	//  func[GetCurrentTick]
	assign
	shift_sp -1
what i don't get is the second part

Code:
L7346
	push_const 1
	branch_false L7349
L7348
Sauron is offline