Sauron
19.03.2006, 01:03
i was working on ai.obj when i saw this code, and this isn't just the only one i found :?
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
L7346
push_const 1
branch_false L7349
L7348
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
L7346
push_const 1
branch_false L7349
L7348